JBoss Tools SVN: r15992 - in trunk/hibernatetools/plugins: org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-06-16 10:08:25 -0400 (Tue, 16 Jun 2009)
New Revision: 15992
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4329 - HQL editor - menu items externalize
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-06-16 13:56:12 UTC (rev 15991)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-06-16 14:08:25 UTC (rev 15992)
@@ -327,6 +327,19 @@
public static String HQLEditorPreferencePage_keyword;
public static String HQLEditorPreferencePage_string_literal;
//
+ public static String HQLEditor_ContentAssistProposal_label;
+ public static String HQLEditor_ContentAssistProposal_tooltip;
+ public static String HQLEditor_ContentAssistProposal_image;
+ public static String HQLEditor_ContentAssistProposal_description;
+ public static String HQLEditor_ContentAssistTip_label;
+ public static String HQLEditor_ContentAssistTip_tooltip;
+ public static String HQLEditor_ContentAssistTip_image;
+ public static String HQLEditor_ContentAssistTip_description;
+ public static String HQLEditor_ContentFormat_label;
+ public static String HQLEditor_ContentFormat_tooltip;
+ public static String HQLEditor_ContentFormat_image;
+ public static String HQLEditor_ContentFormat_description;
+ //
public static String AddPropertyDialog_add_exporter_property;
public static String AddPropertyDialog_add_property_to;
public static String AddPropertyDialog_edit_exporter_property;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-06-16 13:56:12 UTC (rev 15991)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-06-16 14:08:25 UTC (rev 15992)
@@ -322,6 +322,19 @@
HQLEditorPreferencePage_keyword=Keyword:
HQLEditorPreferencePage_string_literal=String literal:
+HQLEditor_ContentAssistProposal_label=Hibernate Proposals
+HQLEditor_ContentAssistProposal_tooltip=Hibernate Proposals
+HQLEditor_ContentAssistProposal_image=
+HQLEditor_ContentAssistProposal_description=Hibernate Proposals
+HQLEditor_ContentAssistTip_label=Context Information
+HQLEditor_ContentAssistTip_tooltip=Context Information
+HQLEditor_ContentAssistTip_image=
+HQLEditor_ContentAssistTip_description=Context Information
+HQLEditor_ContentFormat_label=Format
+HQLEditor_ContentFormat_tooltip=Format
+HQLEditor_ContentFormat_image=
+HQLEditor_ContentFormat_description=Format
+
AddPropertyDialog_add_exporter_property=Add exporter property
AddPropertyDialog_add_property_to=Add property to
AddPropertyDialog_edit_exporter_property=Edit exporter property
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java 2009-06-16 13:56:12 UTC (rev 15991)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java 2009-06-16 14:08:25 UTC (rev 15992)
@@ -97,15 +97,15 @@
ResourceBundle bundle = getResourceBundle();
IAction a = new TextOperationAction( bundle,
- "ContentAssistProposal.", this, ISourceViewer.CONTENTASSIST_PROPOSALS ); //$NON-NLS-1$
+ "HQLEditor_ContentAssistProposal_", this, ISourceViewer.CONTENTASSIST_PROPOSALS ); //$NON-NLS-1$
a.setActionDefinitionId( ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS );
setAction( "ContentAssistProposal", a ); //$NON-NLS-1$
- a = new TextOperationAction( bundle, "ContentAssistTip.", this, ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION ); //$NON-NLS-1$
+ a = new TextOperationAction( bundle, "HQLEditor_ContentAssistTip_", this, ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION ); //$NON-NLS-1$
a.setActionDefinitionId( ITextEditorActionDefinitionIds.CONTENT_ASSIST_CONTEXT_INFORMATION );
setAction( "ContentAssistTip", a ); //$NON-NLS-1$
- a = new TextOperationAction( bundle, "ContentFormat.", this, ISourceViewer.FORMAT ); //$NON-NLS-1$
+ a = new TextOperationAction( bundle, "HQLEditor_ContentFormat_", this, ISourceViewer.FORMAT ); //$NON-NLS-1$
setAction( "ContentFormat", a ); //$NON-NLS-1$
/*a = new HQLConnectAction( bundle, "HQLEditor.connectAction." ); //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2009-06-16 13:56:12 UTC (rev 15991)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2009-06-16 14:08:25 UTC (rev 15992)
@@ -14,7 +14,7 @@
</extension>
<extension
id="org.hibernate.eclipse.jdt.ui.completioncategory"
- name="Hibernate proposals"
+ name="Hibernate Proposals"
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
<javaCompletionProposalComputer
activate="true"
15 years, 6 months
JBoss Tools SVN: r15991 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-16 09:56:12 -0400 (Tue, 16 Jun 2009)
New Revision: 15991
Modified:
trunk/documentation/jboss-tools-docs/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-489 fixed - release profile with assemble:assemble option now assembles guides to one folder and builds index
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2009-06-16 13:51:42 UTC (rev 15990)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2009-06-16 13:56:12 UTC (rev 15991)
@@ -11,8 +11,8 @@
<name>All_Userguides</name>
<modules>
- <module>../jbosstools-docbook-xslt</module>
- <!--module>../jbosstools-jdocbook-style</module-->
+ <!--module>../jbosstools-docbook-xslt</module>
+ <module>../jbosstools-jdocbook-style</module-->
<module>../guides/Exadel-migration</module>
<module>../guides/GettingStartedGuide</module>
<module>../../as/docs/reference</module>
15 years, 6 months
JBoss Tools SVN: r15990 - in trunk/seam/tests/org.jboss.tools.seam.core.test: src/org/jboss/tools/seam/core/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-16 09:51:42 -0400 (Tue, 16 Jun 2009)
New Revision: 15990
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/TestScanner/WebContent/WEB-INF/components.xml
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4485
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/TestScanner/WebContent/WEB-INF/components.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/TestScanner/WebContent/WEB-INF/components.xml 2009-06-16 13:51:06 UTC (rev 15989)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/TestScanner/WebContent/WEB-INF/components.xml 2009-06-16 13:51:42 UTC (rev 15990)
@@ -14,6 +14,8 @@
</component>
<core:managed-persistence-context name="myPersistenceContext1"/>
+ <component class="demo.User"/>
+
<core:resource-bundle>
<core:bundle-names>
<value>bundleA</value>
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java 2009-06-16 13:51:06 UTC (rev 15989)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java 2009-06-16 13:51:42 UTC (rev 15990)
@@ -236,7 +236,7 @@
assertTrue("Declared scope for myUser is Application rather than " + scope.getLabel(), scope == ScopeType.APPLICATION);
// b) @Install(precedence=Install.FRAMEWORK)
- int precedence = c.getPrecedence();
+ int precedence = myUser.getPrecedence();
assertTrue("Declared precedence for myUser is 10 rather than " + precedence, precedence == 10);
// c) @Entity
@@ -453,6 +453,15 @@
{"persistenceUnitName", "MyPersistenceUnit"},
};
scanSimpleProperties(seamProject, "org.jboss.seam.core.microcontainer", microcontainerTestProperties);
+
+ //5. components.xml has <component class="demo.User"/> entry
+ // check that
+ // component myUser has both java and xml declaration, the latter without name
+
+ ISeamComponent myUser = seamProject.getComponent("myUser");
+ assertNotNull(myUser);
+ Set<ISeamXmlComponentDeclaration> xml = myUser.getXmlDeclarations();
+ assertEquals(1, xml.size());
}
/**
15 years, 6 months
JBoss Tools SVN: r15989 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-16 09:51:06 -0400 (Tue, 16 Jun 2009)
New Revision: 15989
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4485
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 2009-06-16 13:36:30 UTC (rev 15988)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2009-06-16 13:51:06 UTC (rev 15989)
@@ -813,9 +813,10 @@
loaded.setSourcePath(source);
- String name = loaded.getName();
+ String name = getComponentName(loaded);
+ String oldName = getComponentName(current);
- boolean nameChanged = current != null && !stringsEqual(name, current.getName());
+ boolean nameChanged = current != null && !stringsEqual(name, oldName);
SeamComponent c = getComponent(name);
@@ -826,6 +827,8 @@
String oldClassName = c == null ? null : c.getClassName();
String loadedClassName = getClassName(loaded);
+ Set<ISeamXmlComponentDeclaration> nameless = new HashSet<ISeamXmlComponentDeclaration>();
+
if(current != null) {
String currentClassName = getClassName(current);
List<Change> changes = current.merge(loaded);
@@ -842,6 +845,17 @@
if(nameChanged) {
Map<Object,ISeamComponentDeclaration> old = new HashMap<Object, ISeamComponentDeclaration>();
old.put(current.getId(), current);
+ SeamComponent oc = getComponent(oldName);
+ if(oc != null) {
+ ISeamXmlComponentDeclaration[] xds = oc.getXmlDeclarations().toArray(new ISeamXmlComponentDeclaration[0]);
+ for (ISeamXmlComponentDeclaration x: xds) {
+ String n = x.getName();
+ if(loadedClassName.equals(x.getClassName()) && (n == null || n.length() == 0)) {
+ old.put(((SeamXmlComponentDeclaration)x).getId(), x);
+ nameless.add(x);
+ }
+ }
+ }
componentDeclarationsRemoved(old);
loaded = current;
current = null;
@@ -867,6 +881,9 @@
this.components.addComponent(c);
addVariable(c);
c.addDeclaration(loaded);
+ if(nameless != null && nameless.size() > 0) {
+ for (ISeamComponentDeclaration d: nameless) c.addDeclaration(d);
+ }
addedComponents = Change.addChange(addedComponents, new Change(this, null, null, c));
} else if(c != null) {
c.addDeclaration(loaded);
@@ -885,6 +902,45 @@
fireChanges(changes);
affectedComponents.add(cii);
}
+ SeamComponent empty = this.components.getByName("");
+ if(empty != null && name != null && name.length() > 0) {
+ ISeamXmlComponentDeclaration[] xds = empty.getXmlDeclarations().toArray(new ISeamXmlComponentDeclaration[0]);
+ for (ISeamXmlComponentDeclaration x: xds) {
+ if(jd.getClassName().equals(x.getClassName())) {
+ empty.removeDeclaration(x);
+ List<Change> changes = Change.addChange(null, new Change(empty, null, x, null));
+ c.addDeclaration(x);
+ changes = Change.addChange(changes, new Change(empty, null, null, x));
+ fireChanges(changes);
+ }
+ }
+ }
+ if(oldClassName != null && isClassNameChanged(oldClassName, loadedClassName)) {
+ nameless.clear();
+ Map<Object,ISeamComponentDeclaration> old = new HashMap<Object, ISeamComponentDeclaration>();
+ ISeamXmlComponentDeclaration[] xds = c.getXmlDeclarations().toArray(new ISeamXmlComponentDeclaration[0]);
+ for (ISeamXmlComponentDeclaration x: xds) {
+ String n = x.getName();
+ if(oldClassName.equals(x.getClassName()) && (n == null || n.length() == 0)) {
+ old.put(((SeamXmlComponentDeclaration)x).getId(), x);
+ nameless.add(x);
+ }
+ }
+ componentDeclarationsRemoved(old);
+ if(nameless.size() > 0) {
+ if(empty == null) {
+ empty = newComponent("", nameless.iterator().next().getScope());
+ affectedComponents.add(empty);
+ this.components.addComponent(empty);
+ }
+ List<Change> changes = null;
+ for (ISeamXmlComponentDeclaration d: nameless) {
+ empty.addDeclaration(d);
+ changes = Change.addChange(changes, new Change(empty, null, null, d));
+ }
+ fireChanges(changes);
+ }
+ }
} else if(loaded instanceof ISeamXmlComponentDeclaration) {
ISeamXmlComponentDeclaration xml = (ISeamXmlComponentDeclaration)loaded;
onXMLLoadedDeclaration(c, oldClassName, xml);
@@ -935,6 +991,24 @@
}
}
+ private String getComponentName(SeamComponentDeclaration d) {
+ if(d == null) return null;
+ String name = d.getName();
+
+ if(name == null || name.length() == 0 && d instanceof SeamXmlComponentDeclaration) {
+ String className = getClassName(d);
+ if(className != null && className.length() > 0) {
+ SeamJavaComponentDeclaration jd = components.getJavaDeclaration(className);
+ if(jd != null) {
+ name = jd.getName();
+ }
+ }
+ }
+
+ return name;
+
+ }
+
private static String getClassName(ISeamComponentDeclaration d) {
if(d instanceof ISeamJavaComponentDeclaration) {
return ((ISeamJavaComponentDeclaration)d).getClassName();
15 years, 6 months
JBoss Tools SVN: r15988 - in trunk/jsf/docs/userguide/en/images: palette and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-16 09:36:30 -0400 (Tue, 16 Jun 2009)
New Revision: 15988
Modified:
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_30.png
trunk/jsf/docs/userguide/en/images/palette/palette_22.png
trunk/jsf/docs/userguide/en/images/palette/palette_25.png
trunk/jsf/docs/userguide/en/images/palette/palette_4.png
trunk/jsf/docs/userguide/en/images/palette/palette_8.png
trunk/jsf/docs/userguide/en/images/preferences/preferences_33.png
Log:
JBDS-767 com and org logo images on wizards, screens in visual web tools guide are checked and corrected
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_30.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/palette/palette_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/palette/palette_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/palette/palette_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/palette/palette_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_33.png
===================================================================
(Binary files differ)
15 years, 6 months
JBoss Tools SVN: r15987 - in trunk/hibernatetools/plugins: org.hibernate.eclipse.console and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-06-16 09:20:28 -0400 (Tue, 16 Jun 2009)
New Revision: 15987
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse/hibernate_icon.gif
Log:
https://jira.jboss.org/jira/browse/JBIDE-4157 - icons transparency - fixed
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/hibernate_icon.gif
===================================================================
(Binary files differ)
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2009-06-16 13:12:43 UTC (rev 15986)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2009-06-16 13:20:28 UTC (rev 15987)
@@ -43,7 +43,7 @@
<view
category="hibernatecategory"
class="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
- icon="icons/images/hibernate_small_icon.jpg"
+ icon="icons/hibernate_small_icon.gif"
id="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
name="%ViewName_HibernateDynamicSQLPreview"/>
<view
15 years, 6 months
JBoss Tools SVN: r15986 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-06-16 09:12:43 -0400 (Tue, 16 Jun 2009)
New Revision: 15986
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java
Log:
JBIDE-2808: Improve/refactor org.jboss.tools.common.kb plugin.
The skeleton to prompt for the EL in text regions is updated
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java 2009-06-16 12:20:01 UTC (rev 15985)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java 2009-06-16 13:12:43 UTC (rev 15986)
@@ -688,7 +688,7 @@
} else if (n instanceof IDOMText) {
text = ((IDOMText)n).getNodeValue();
region = ((IDOMText)n).getFirstStructuredDocumentRegion();
- startOffset = ((IndexedRegion)((IDOMAttr)n).getOwnerElement()).getStartOffset();
+ startOffset = ((IDOMText)n).getStartOffset();
} else {
// The EL may appear only in TEXT and ATTRIBUTE VALUE types of node
return null;
15 years, 6 months
JBoss Tools SVN: r15985 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2009-06-16 08:20:01 -0400 (Tue, 16 Jun 2009)
New Revision: 15985
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConsoleConfigurationPropertySource.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3785
Strings changed to constants call.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConsoleConfigurationPropertySource.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConsoleConfigurationPropertySource.java 2009-06-16 10:11:13 UTC (rev 15984)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/ConsoleConfigurationPropertySource.java 2009-06-16 12:20:01 UTC (rev 15985)
@@ -47,6 +47,7 @@
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.HibernateConsolePlugin;
import org.hibernate.eclipse.console.utils.LaunchHelper;
+import org.hibernate.eclipse.launch.IConsoleConfigurationLaunchConstants;
public class ConsoleConfigurationPropertySource implements IPropertySource {
@@ -132,9 +133,9 @@
try {
ILaunchConfiguration lc = HibernateConsolePlugin.getDefault().findLaunchConfig(cfg.getName());
if (lc != null){
- String connectionName = lc.getAttribute("org.hibernate.eclipse.launch.CONNECTION_PROFILE_NAME", (String)null); //$NON-NLS-1$
+ String connectionName = lc.getAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME, (String)null);
if (connectionName == null){
- connectionName = lc.getAttribute("org.hibernate.eclipse.launch.USE_JPA_PROJECT_PROFILE", Boolean.FALSE.toString());//$NON-NLS-1$
+ connectionName = lc.getAttribute(IConsoleConfigurationLaunchConstants.USE_JPA_PROJECT_PROFILE, Boolean.FALSE.toString());
if (Boolean.TRUE.toString().equalsIgnoreCase(connectionName)){
connectionName = HibernateConsoleMessages.ConnectionProfileCtrl_JPAConfiguredConnection;
} else {
@@ -233,15 +234,15 @@
if (lc != null){
ILaunchConfigurationWorkingCopy wc = lc.getWorkingCopy();
if (index == 0){//jpa
- wc.setAttribute("org.hibernate.eclipse.launch.USE_JPA_PROJECT_PROFILE", Boolean.TRUE.toString());////$NON-NLS-1$
- wc.removeAttribute("org.hibernate.eclipse.launch.CONNECTION_PROFILE_NAME");////$NON-NLS-1$
+ wc.setAttribute(IConsoleConfigurationLaunchConstants.USE_JPA_PROJECT_PROFILE, Boolean.TRUE.toString());
+ wc.removeAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME);
} else if (index == 1){//hibernate
- wc.removeAttribute("org.hibernate.eclipse.launch.USE_JPA_PROJECT_PROFILE");////$NON-NLS-1$
- wc.removeAttribute("org.hibernate.eclipse.launch.CONNECTION_PROFILE_NAME");////$NON-NLS-1$
+ wc.removeAttribute(IConsoleConfigurationLaunchConstants.USE_JPA_PROJECT_PROFILE);
+ wc.removeAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME);
} else {//connection profile
String[] values = getConnectionNames();
- wc.setAttribute("org.hibernate.eclipse.launch.CONNECTION_PROFILE_NAME", values[index]);////$NON-NLS-1$
- wc.removeAttribute("org.hibernate.eclipse.launch.USE_JPA_PROJECT_PROFILE");////$NON-NLS-1$
+ wc.setAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME, values[index]);
+ wc.removeAttribute(IConsoleConfigurationLaunchConstants.USE_JPA_PROJECT_PROFILE);
}
wc.doSave();
} else {
15 years, 6 months
JBoss Tools SVN: r15984 - trunk/documentation/guides/GettingStartedGuide/en/images/manage.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-16 06:11:13 -0400 (Tue, 16 Jun 2009)
New Revision: 15984
Modified:
trunk/documentation/guides/GettingStartedGuide/en/images/manage/manage_11.png
trunk/documentation/guides/GettingStartedGuide/en/images/manage/manage_15.png
Log:
JBDS-767 com and org logo images on wizards, screens in GSG is checked and corrected
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/manage/manage_11.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/manage/manage_15.png
===================================================================
(Binary files differ)
15 years, 6 months
JBoss Tools SVN: r15983 - trunk/seam/docs/reference/en/images/create_new_seam.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-16 06:05:12 -0400 (Tue, 16 Jun 2009)
New Revision: 15983
Modified:
trunk/seam/docs/reference/en/images/create_new_seam/create_seam_15.png
trunk/seam/docs/reference/en/images/create_new_seam/create_seam_8.png
Log:
JBDS-767 com and org logo images on wizards, screens in seam guide is checked and corrected
Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_15.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_8.png
===================================================================
(Binary files differ)
15 years, 6 months