JBoss Tools SVN: r4456 - trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-24 08:38:44 -0400 (Wed, 24 Oct 2007)
New Revision: 4456
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties
Log:
JBIDE-1149
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties 2007-10-24 12:07:23 UTC (rev 4455)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties 2007-10-24 12:38:44 UTC (rev 4456)
@@ -0,0 +1,6 @@
+FileSeamComponents11.editorTitle=Seam Components 1.1 Editor
+FileSeamComponents12.editorTitle=Seam Components 1.2 Editor
+FileSeamComponents20.editorTitle=Seam Components 2.0 Editor
+FileSeamComponent11.editorTitle=Seam Component 1.1 Editor
+FileSeamComponent12.editorTitle=Seam Component 1.2 Editor
+FileSeamComponent20.editorTitle=Seam Component 2.0 Editor
17 years, 2 months
JBoss Tools SVN: r4455 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-24 08:07:23 -0400 (Wed, 24 Oct 2007)
New Revision: 4455
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java
Log:
JBIDE-1120
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java 2007-10-24 11:17:49 UTC (rev 4454)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java 2007-10-24 12:07:23 UTC (rev 4455)
@@ -15,8 +15,10 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IPath;
-import org.eclipse.jst.ws.internal.common.J2EEUtils;
+import org.eclipse.core.runtime.Path;
import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.model.XModelConstants;
import org.jboss.tools.common.model.XModelObject;
@@ -36,10 +38,9 @@
IPath webInfPath = null;
if(ComponentCore.createComponent(project)!=null) {
- webInfPath = J2EEUtils.getWebInfPath(project);
- }
+ webInfPath = getWebInfPath(project);
+ }
-
if(webInfPath == null) return model;
IFolder webInfFolder = ResourcesPlugin.getWorkspace().getRoot().getFolder(webInfPath);
@@ -66,4 +67,12 @@
return model;
}
+ //Taken from J2EEUtils and modified
+ public static IPath getWebInfPath(IProject project) {
+ IVirtualComponent component = ComponentCore.createComponent(project);
+ IVirtualFolder webInfDir = component.getRootFolder().getFolder(new Path("/WEB-INF"));
+ IPath modulePath = webInfDir.getWorkspaceRelativePath();
+ return (!webInfDir.exists()) ? null : modulePath;
+ }
+
}
17 years, 2 months
JBoss Tools SVN: r4453 - trunk/documentation/qa/reports.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2007-10-24 06:40:20 -0400 (Wed, 24 Oct 2007)
New Revision: 4453
Added:
trunk/documentation/qa/reports/smoke-23.10.2007-windows.doc
Log:
Added a file remotely
Added: trunk/documentation/qa/reports/smoke-23.10.2007-windows.doc
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/qa/reports/smoke-23.10.2007-windows.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 2 months
JBoss Tools SVN: r4452 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: widget/editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-24 06:38:16 -0400 (Wed, 24 Oct 2007)
New Revision: 4452
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2007-10-24 10:09:20 UTC (rev 4451)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2007-10-24 10:38:16 UTC (rev 4452)
@@ -383,6 +383,12 @@
public static String SEAM_TARGET_SERVER;
+ public static String RUNTIME_DELETE_CONFIRM_TITLE;
+
+ public static String RUNTIME_DELETE_NOT_USED_CONFIRM;
+
+ public static String RUNTIME_DELETE_USED_CONFIRM;
+
static {
// load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, SeamUIMessages.class);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2007-10-24 10:09:20 UTC (rev 4451)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2007-10-24 10:38:16 UTC (rev 4452)
@@ -187,4 +187,7 @@
SEAM_RUNTIME_LIST_FIELD_EDITOR_THE_SELECTED_SEAM_APPEARS_TO_BE_OF_INCOMATIBLE_VERSION=The selected seam appears to be of an incompatible version '
SEAM_GENERATE_ENTITIES_WIZARD_THIS_METHOD_IS_NOT_RELEVANT_IN_GENERATING_SEAM_ENTITIES=This method is not relevant in generating seam entities.
SEAM_FORM_WIZARD_PAGE1_JAVA_INTERFACE_SLSB_AND_KEY_SEAMEJB3_ANNOTATIONS_WILL_BE_CREATED=Java Interface, SLSB and key Seam/EJB3 annotations will be created.
-SEAM_TARGET_SERVER=Target Server
\ No newline at end of file
+SEAM_TARGET_SERVER=Target Server
+RUNTIME_DELETE_CONFIRM_TITLE=Confirm Runtime Delete
+RUNTIME_DELETE_NOT_USED_CONFIRM=Are you sure you want to delete runtime {0}?
+RUNTIME_DELETE_USED_CONFIRM=Runtime {0} is used by seam projects. Are you sure you want to delete it?
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-24 10:09:20 UTC (rev 4451)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-24 10:38:16 UTC (rev 4452)
@@ -25,7 +25,10 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.Assert;
+import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.CheckboxTableViewer;
@@ -42,6 +45,7 @@
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
@@ -54,6 +58,7 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.ui.wizards.datatransfer.ZipFileStructureProvider;
+import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
@@ -531,14 +536,34 @@
while(i.hasNext()) {
Object o = i.next();
if(o instanceof SeamRuntime) {
- removed.add((SeamRuntime)o);
- if(added.contains(o)) {
- added.remove(o);
- }
- ((List)getValue()).remove(o);
+ removeRuntime((SeamRuntime)o);
}
}
tableView.refresh();
}
}
+
+ private void removeRuntime(SeamRuntime r) {
+ boolean used = isRuntimeUsed(r.getName());
+ String title = SeamUIMessages.RUNTIME_DELETE_CONFIRM_TITLE;
+ String message = (used)
+ ? NLS.bind(SeamUIMessages.RUNTIME_DELETE_USED_CONFIRM, r.getName())
+ : NLS.bind(SeamUIMessages.RUNTIME_DELETE_NOT_USED_CONFIRM, r.getName());
+ boolean b = MessageDialog.openConfirm(removeBtn.getShell(), title, message);
+ if(!b) return;
+ removed.add(r);
+ if(added.contains(r)) {
+ added.remove(r);
+ }
+ ((List)getValue()).remove(r);
+ }
+
+ private boolean isRuntimeUsed(String runtimeName) {
+ IProject[] ps = ResourcesPlugin.getWorkspace().getRoot().getProjects();
+ for (int i = 0; i < ps.length; i++) {
+ ISeamProject sp = SeamCorePlugin.getSeamProject(ps[i], false);
+ if(sp != null && runtimeName.equals(sp.getRuntimeName())) return true;
+ }
+ return false;
+ }
}
17 years, 2 months
JBoss Tools SVN: r4451 - in trunk/seam/plugins: org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-24 06:09:20 -0400 (Wed, 24 Oct 2007)
New Revision: 4451
Added:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamProjectPreferences.java
Removed:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeampProjectPreferences.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreferenceInitializer.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java
Log:
fix spelling error in SeamProjectPreferences class
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -31,7 +31,7 @@
import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
-import org.jboss.tools.seam.core.project.facet.SeampProjectPreferences;
+import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
/**
Copied: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamProjectPreferences.java (from rev 4450, trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeampProjectPreferences.java)
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamProjectPreferences.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamProjectPreferences.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.seam.core.project.facet;
+
+import org.jboss.tools.seam.core.SeamCorePlugin;
+
+/**
+ * @author eskimo
+ *
+ */
+public class SeamProjectPreferences {
+ public static final String SEAM_DEFAULT_RUNTIME_NAME
+ = SeamCorePlugin.PLUGIN_ID + ".project.facet.default.runtime.name"; //$NON-NLS-1$
+ public static final String SEAM_DEFAULT_CONNECTION_PROFILE
+ = SeamCorePlugin.PLUGIN_ID + ".project.facet.default.conn.profile"; //$NON-NLS-1$
+ public static final String RUNTIME_CONFIG_FORMAT_VERSION
+ = SeamCorePlugin.PLUGIN_ID + ".runtime.config.format.version"; //$NON-NLS-1$
+ public static final String RUNTIME_LIST
+ = SeamCorePlugin.PLUGIN_ID+".runtime.list"; //$NON-NLS-1$
+ public static final String RUNTIME_DEFAULT
+ = SeamCorePlugin.PLUGIN_ID+".runtime.default"; //$NON-NLS-1$
+ public static final String JBOSS_AS_DEFAULT_DEPLOY_AS
+ = SeamCorePlugin.PLUGIN_ID + ".project.default.deployment.type"; //$NON-NLS-1$
+ public static final String HIBERNATE_DEFAULT_DB_TYPE
+ = SeamCorePlugin.PLUGIN_ID + ".hibernate.default.db.type"; //$NON-NLS-1$
+ public static final String SEAM_LAST_SERVER_NAME
+ = SeamCorePlugin.PLUGIN_ID + ".project.facet.last.server.name"; //$NON-NLS-1$
+
+ public static String getStringPreference(final String name) {
+ return SeamCorePlugin.getDefault().getPreferenceStore().getString(name);
+ }
+}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeamRuntimeManager.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -60,10 +60,10 @@
*
*/
private SeamRuntimeManager() {
- String configVersion = SeampProjectPreferences.getStringPreference(
- SeampProjectPreferences.RUNTIME_CONFIG_FORMAT_VERSION);
- String runtimeListString = SeampProjectPreferences.getStringPreference(
- SeampProjectPreferences.RUNTIME_LIST);
+ String configVersion = SeamProjectPreferences.getStringPreference(
+ SeamProjectPreferences.RUNTIME_CONFIG_FORMAT_VERSION);
+ String runtimeListString = SeamProjectPreferences.getStringPreference(
+ SeamProjectPreferences.RUNTIME_LIST);
runtimes = converter.getMap(runtimeListString);
}
@@ -160,7 +160,7 @@
*/
public void save() {
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.RUNTIME_LIST, converter.getString(runtimes));
+ SeamProjectPreferences.RUNTIME_LIST, converter.getString(runtimes));
IPreferenceStore store = SeamCorePlugin.getDefault().getPreferenceStore();
if(store instanceof IPersistentPreferenceStore) {
try {
Deleted: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeampProjectPreferences.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeampProjectPreferences.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/project/facet/SeampProjectPreferences.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.jboss.tools.seam.core.project.facet;
-
-import org.jboss.tools.seam.core.SeamCorePlugin;
-
-/**
- * @author eskimo
- *
- */
-public class SeampProjectPreferences {
- public static final String SEAM_DEFAULT_RUNTIME_NAME
- = SeamCorePlugin.PLUGIN_ID + ".project.facet.default.runtime.name"; //$NON-NLS-1$
- public static final String SEAM_DEFAULT_CONNECTION_PROFILE
- = SeamCorePlugin.PLUGIN_ID + ".project.facet.default.conn.profile"; //$NON-NLS-1$
- public static final String RUNTIME_CONFIG_FORMAT_VERSION
- = SeamCorePlugin.PLUGIN_ID + ".runtime.config.format.version"; //$NON-NLS-1$
- public static final String RUNTIME_LIST
- = SeamCorePlugin.PLUGIN_ID+".runtime.list"; //$NON-NLS-1$
- public static final String RUNTIME_DEFAULT
- = SeamCorePlugin.PLUGIN_ID+".runtime.default"; //$NON-NLS-1$
- public static final String JBOSS_AS_DEFAULT_DEPLOY_AS
- = SeamCorePlugin.PLUGIN_ID + ".project.default.deployment.type"; //$NON-NLS-1$
- public static final String HIBERNATE_DEFAULT_DB_TYPE
- = SeamCorePlugin.PLUGIN_ID + ".hibernate.default.db.type"; //$NON-NLS-1$
- public static final String SEAM_LAST_SERVER_NAME
- = SeamCorePlugin.PLUGIN_ID + ".project.facet.last.server.name"; //$NON-NLS-1$
-
- public static String getStringPreference(final String name) {
- return SeamCorePlugin.getDefault().getPreferenceStore().getString(name);
- }
-}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -53,7 +53,7 @@
import org.jboss.tools.seam.core.event.Change;
import org.jboss.tools.seam.core.event.ISeamProjectChangeListener;
import org.jboss.tools.seam.core.event.SeamProjectChangeEvent;
-import org.jboss.tools.seam.core.project.facet.SeampProjectPreferences;
+import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
import org.jboss.tools.seam.internal.core.scanner.LoadedDeclarations;
@@ -263,7 +263,7 @@
}
SeamCorePlugin.getDefault().getPluginPreferences().addPropertyChangeListener(new Preferences.IPropertyChangeListener() {
public void propertyChange(Preferences.PropertyChangeEvent event) {
- if(SeampProjectPreferences.RUNTIME_LIST.equals(event.getProperty())) {
+ if(SeamProjectPreferences.RUNTIME_LIST.equals(event.getProperty())) {
SeamRuntime d = SeamRuntimeManager.getInstance().getDefaultRuntime();
if(d != null && d.getName().equals(runtimeName)) {
// runtimeName = null;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreferenceInitializer.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreferenceInitializer.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetPreferenceInitializer.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -26,7 +26,7 @@
import org.eclipse.core.runtime.preferences.IScopeContext;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.core.SeamPreferences;
-import org.jboss.tools.seam.core.project.facet.SeampProjectPreferences;
+import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeListConverter;
import org.jboss.tools.seam.core.project.facet.SeamVersion;
@@ -54,10 +54,10 @@
.node(DefaultScope.SCOPE)
.node(SeamCorePlugin.PLUGIN_ID);
- node.put(SeampProjectPreferences.RUNTIME_CONFIG_FORMAT_VERSION, RUNTIME_CONFIG_FORMAT_VERSION);
- node.put(SeampProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE, "DefaultDS"); //$NON-NLS-1$
- node.put(SeampProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS, "war"); //$NON-NLS-1$
- node.put(SeampProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE, "HSQL"); //$NON-NLS-1$
+ node.put(SeamProjectPreferences.RUNTIME_CONFIG_FORMAT_VERSION, RUNTIME_CONFIG_FORMAT_VERSION);
+ node.put(SeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE, "DefaultDS"); //$NON-NLS-1$
+ node.put(SeamProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS, "war"); //$NON-NLS-1$
+ node.put(SeamProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE, "HSQL"); //$NON-NLS-1$
initializeDefault(node,getSeamGenBuildPath());
try {
node.flush();
@@ -101,6 +101,6 @@
rt.setVersion(SeamVersion.SEAM_1_2);
map.put(rt.getName(), rt);
}
- node.put(SeampProjectPreferences.RUNTIME_LIST, new SeamRuntimeListConverter().getString(map));
+ node.put(SeamProjectPreferences.RUNTIME_LIST, new SeamRuntimeListConverter().getString(map));
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -53,7 +53,7 @@
import org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard;
import org.hibernate.eclipse.console.utils.DriverClassHelpers;
import org.jboss.tools.seam.core.SeamCorePlugin;
-import org.jboss.tools.seam.core.project.facet.SeampProjectPreferences;
+import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager;
import org.jboss.tools.seam.core.project.facet.SeamVersion;
@@ -190,24 +190,24 @@
*/
private String getDefaultDbType() {
// TODO Auto-generated method stub
- return SeampProjectPreferences.getStringPreference(
- SeampProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE);
+ return SeamProjectPreferences.getStringPreference(
+ SeamProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE);
}
/**
* @return
*/
private Object getDeployAsDefaultValue() {
- return SeampProjectPreferences.getStringPreference(
- SeampProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS);
+ return SeamProjectPreferences.getStringPreference(
+ SeamProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS);
}
/**
* @return
*/
private Object getConnectionProfileDefaultValue() {
- String defaultDs = SeampProjectPreferences.getStringPreference(
- SeampProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE);
+ String defaultDs = SeamProjectPreferences.getStringPreference(
+ SeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE);
return getProfileNameList().contains(defaultDs)?defaultDs:""; //$NON-NLS-1$
}
@@ -216,12 +216,12 @@
* @return
*/
private Object getSeamRuntimeDefaultValue() {
- return ("".equals(SeampProjectPreferences //$NON-NLS-1$
- .getStringPreference(SeampProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME)) ?
+ return ("".equals(SeamProjectPreferences //$NON-NLS-1$
+ .getStringPreference(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME)) ?
(SeamRuntimeManager.getInstance().getDefaultRuntime()==null?
"":SeamRuntimeManager.getInstance().getDefaultRuntime().getName()) : //$NON-NLS-1$
- SeampProjectPreferences
- .getStringPreference(SeampProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME));
+ SeamProjectPreferences
+ .getStringPreference(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME));
}
/**
@@ -252,19 +252,19 @@
public void transferStateToConfig() {
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME,
+ SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME,
jBossSeamHomeEditor.getValueAsString());
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE,
+ SeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE,
connProfileSelEditor.getValueAsString());
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS,
+ SeamProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS,
this.jBossAsDeployAsEditor.getValueAsString());
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE,
+ SeamProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE,
this.jBossHibernateDbTypeEditor.getValueAsString());
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java 2007-10-23 18:40:58 UTC (rev 4450)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java 2007-10-24 10:09:20 UTC (rev 4451)
@@ -38,7 +38,7 @@
import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
import org.eclipse.wst.server.ui.ServerUIUtil;
import org.jboss.tools.seam.core.SeamCorePlugin;
-import org.jboss.tools.seam.core.project.facet.SeampProjectPreferences;
+import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.project.facet.SeamFacetProjectCreationDataModelProvider;
import org.jboss.tools.seam.ui.SeamUIMessages;
@@ -245,8 +245,8 @@
public void restoreDefaultSettings() {
super.restoreDefaultSettings();
- String lastServerName = SeampProjectPreferences
- .getStringPreference(SeampProjectPreferences.SEAM_LAST_SERVER_NAME);
+ String lastServerName = SeamProjectPreferences
+ .getStringPreference(SeamProjectPreferences.SEAM_LAST_SERVER_NAME);
if (lastServerName != null && lastServerName.length() > 0) {
SeamFacetProjectCreationDataModelProvider.setServerName(model,lastServerName);
@@ -258,7 +258,7 @@
String serverName = SeamFacetProjectCreationDataModelProvider.getServerName(model);
if (serverName != null && serverName.length() > 0) {
SeamCorePlugin.getDefault().getPluginPreferences().setValue(
- SeampProjectPreferences.SEAM_LAST_SERVER_NAME,
+ SeamProjectPreferences.SEAM_LAST_SERVER_NAME,
serverName);
}
}
17 years, 2 months
JBoss Tools SVN: r4450 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2007-10-23 14:40:58 -0400 (Tue, 23 Oct 2007)
New Revision: 4450
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1153 Wrong prompting is shown
Issue is fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2007-10-23 12:09:41 UTC (rev 4449)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2007-10-23 18:40:58 UTC (rev 4450)
@@ -120,6 +120,24 @@
if(resolvedVariables!=null && resolvedVariables.size()>0 && usedVariables!=null) {
usedVariables.addAll(resolvedVariables);
}
+
+ if ((resolvedExpressionPart == null || resolvedExpressionPart.isEmpty()) &&
+ !returnEqualedVariablesOnly &&
+ tokens != null && tokens.size() > 0 &&
+ tokens.get(tokens.size() - 1).getType() == ELOperandToken.EL_SEPARATOR_TOKEN) {
+ // no vars are resolved
+ // the tokens are the part of var name ended with a separator (.)
+ resolvedVariables = resolveVariables(project, scope, tokens, tokens, returnEqualedVariablesOnly);
+ String prefixString = prefix.toString();
+ for (ISeamContextVariable var : resolvedVariables) {
+ String varName = var.getName();
+ if(varName.startsWith(prefixString)) {
+ res.add(varName.substring(prefixString.length()));
+ }
+ }
+ return res;
+ }
+
// Here we have a list of vars for some part of expression
// OK. we'll proceed with members of these vars
17 years, 2 months
JBoss Tools SVN: r4449 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-23 08:09:41 -0400 (Tue, 23 Oct 2007)
New Revision: 4449
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
JBIDE-1134
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-23 11:55:57 UTC (rev 4448)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-23 12:09:41 UTC (rev 4449)
@@ -1014,7 +1014,7 @@
*/
public Set<ISeamContextVariable> getVariablesByName(String name) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable v: allVariables) {
+ for (ISeamContextVariable v: getVariables(true)) {
if(name.equals(v.getName())) {
result.add(v);
}
@@ -1034,7 +1034,7 @@
*/
public Set<ISeamContextVariable> getVariablesByScope(ScopeType scope, boolean addVisibleScopes) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable v: allVariables) {
+ for (ISeamContextVariable v: getVariables(true)) {
if(isVisibleInScope(v, scope, addVisibleScopes)) {
result.add(v);
}
@@ -1239,7 +1239,7 @@
*/
public Set<ISeamContextVariable> getVariablesByPath(IPath path) {
Set<ISeamContextVariable> result = new HashSet<ISeamContextVariable>();
- for (ISeamContextVariable variable : allVariables) {
+ for (ISeamContextVariable variable : getVariables(true)) {
if(variable instanceof ISeamComponent) {
ISeamComponent c = (ISeamComponent)variable;
for (ISeamComponentDeclaration d: c.getAllDeclarations()) {
17 years, 2 months
JBoss Tools SVN: r4448 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-23 07:55:57 -0400 (Tue, 23 Oct 2007)
New Revision: 4448
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java
Log:
JBIDE-1075
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java 2007-10-23 11:42:54 UTC (rev 4447)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java 2007-10-23 11:55:57 UTC (rev 4448)
@@ -42,6 +42,7 @@
if(ds == null) return;
components.addAll(ds.components);
factories.addAll(ds.factories);
+ imports.addAll(ds.imports);
}
}
17 years, 2 months
JBoss Tools SVN: r4447 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam: internal/core/scanner/java and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-23 07:42:54 -0400 (Tue, 23 Oct 2007)
New Revision: 4447
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java
Log:
JBIDE-1075
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java 2007-10-23 11:35:33 UTC (rev 4446)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java 2007-10-23 11:42:54 UTC (rev 4447)
@@ -21,20 +21,8 @@
public static String DATA_SOURCE_XML_DEPLOYER_SERVER_DID_NOT_SUPPORT_DEPLOY_OF_DATASOURCE;
public static String DATA_SOURCE_XML_DEPLOYER_COULD_NOT_DEPLOY_DATASOURCE;
public static String JAVA_SCANNER_CANNOT_GET_COMPILATION_UNIT_FOR;
- public static String SEAM_ANNOTATIONS_NAME;
- public static String SEAM_ANNOTATIONS_SCOPE;
- public static String SEAM_ANNOTATIONS_INSTALL;
- public static String SEAM_ANNOTATIONS_IN;
- public static String SEAM_ANNOTATIONS_OUT;
- public static String SEAM_ANNOTATIONS_CREATE;
- public static String SEAM_ANNOTATIONS_DESTROY;
- public static String SEAM_ANNOTATIONS_UNWRAP;
- public static String SEAM_ANNOTATIONS_OBSERVER;
- public static String SEAM_ANNOTATIONS_FACTORY;
public static String SEAM_EL_VALIDATOR_SETTER;
public static String SEAM_EL_VALIDATOR_GETTER;
- public static String SEAM_ANNOTATIONS_ROLES;
- public static String SEAM_ANNOTATIONS_ROLE;
public static String LIBRARY_SCANNER_CANNOT_PROCESS_JAVA_CLASSES;
public static String SEAM_VALIDATION_CONTEXT_LINKED_RESOURCE_PATH_MUST_NOT_BE_NULL;
public static String SEAM_VALIDATION_CONTEXT_VARIABLE_NAME_MUST_NOT_BE_NULL;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2007-10-23 11:35:33 UTC (rev 4446)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2007-10-23 11:42:54 UTC (rev 4447)
@@ -9,20 +9,8 @@
DATA_SOURCE_XML_DEPLOYER_SERVER_DID_NOT_SUPPORT_DEPLOY_OF_DATASOURCE=Server did not support deploy of datasource.
DATA_SOURCE_XML_DEPLOYER_COULD_NOT_DEPLOY_DATASOURCE=Could not deploy datasource
JAVA_SCANNER_CANNOT_GET_COMPILATION_UNIT_FOR=Cannot get compilation unit for ''{0}''
-SEAM_ANNOTATIONS_NAME=Name
-SEAM_ANNOTATIONS_SCOPE=Scope
-SEAM_ANNOTATIONS_INSTALL=Install
-SEAM_ANNOTATIONS_IN=In
-SEAM_ANNOTATIONS_OUT=Out
-SEAM_ANNOTATIONS_CREATE=Create
-SEAM_ANNOTATIONS_DESTROY=Destroy
-SEAM_ANNOTATIONS_UNWRAP=Unwrap
-SEAM_ANNOTATIONS_OBSERVER=Observer
-SEAM_ANNOTATIONS_FACTORY=Factory
SEAM_EL_VALIDATOR_SETTER=Setter
SEAM_EL_VALIDATOR_GETTER=Getter
-SEAM_ANNOTATIONS_ROLES=Roles
-SEAM_ANNOTATIONS_ROLE=Role
LIBRARY_SCANNER_CANNOT_PROCESS_JAVA_CLASSES=Cannot process Java Classes
SEAM_VALIDATION_CONTEXT_LINKED_RESOURCE_PATH_MUST_NOT_BE_NULL=Linked resource path must not be null\!
SEAM_VALIDATION_CONTEXT_VARIABLE_NAME_MUST_NOT_BE_NULL=Variable name must not be null\!
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java 2007-10-23 11:35:33 UTC (rev 4446)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/SeamAnnotations.java 2007-10-23 11:42:54 UTC (rev 4447)
@@ -20,26 +20,26 @@
public interface SeamAnnotations {
public static final String SEAM_ANNOTATION_TYPE_PREFIX = "org.jboss.seam.annotations."; //$NON-NLS-1$
- public static final String NAME_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_NAME;
- public static final String SCOPE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_SCOPE;
- public static final String INSTALL_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_INSTALL;
+ public static final String NAME_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Name"; //$NON-NLS-1$
+ public static final String SCOPE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Scope"; //$NON-NLS-1$
+ public static final String INSTALL_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Install"; //$NON-NLS-1$
- public static final String IN_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_IN;
- public static final String OUT_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_OUT;
+ public static final String IN_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "In"; //$NON-NLS-1$
+ public static final String OUT_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Out"; //$NON-NLS-1$
public static final String DATA_MODEL_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "datamodel.DataModel"; //$NON-NLS-1$
public static final String DATA_MODEL_SELECTION_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "datamodel.DataModelSelection"; //$NON-NLS-1$
public static final String DATA_MODEL_SELECTION_INDEX_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "datamodel.DataModelSelectionIndex"; //$NON-NLS-1$
- public static final String CREATE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_CREATE;
- public static final String DESTROY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_DESTROY;
- public static final String UNWRAP_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_UNWRAP;
- public static final String OBSERVER_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_OBSERVER;
+ public static final String CREATE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Create"; //$NON-NLS-1$
+ public static final String DESTROY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Destroy"; //$NON-NLS-1$
+ public static final String UNWRAP_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Unwrap"; //$NON-NLS-1$
+ public static final String OBSERVER_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Observer"; //$NON-NLS-1$
public static final String REMOVE_ANNOTATION_TYPE = "javax.ejb.Remove"; //$NON-NLS-1$
- public static final String FACTORY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_FACTORY;
+ public static final String FACTORY_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Factory"; //$NON-NLS-1$
- public static final String ROLES_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_ROLES;
- public static final String ROLE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + SeamCoreMessages.SEAM_ANNOTATIONS_ROLE;
+ public static final String ROLES_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Roles"; //$NON-NLS-1$
+ public static final String ROLE_ANNOTATION_TYPE = SEAM_ANNOTATION_TYPE_PREFIX + "Role"; //$NON-NLS-1$
public static final String ENTITY_ANNOTATION_TYPE = "javax.persistence.Entity"; //$NON-NLS-1$
public static final String STATEFUL_ANNOTATION_TYPE = "javax.ejb.Stateful"; //$NON-NLS-1$
17 years, 2 months