JBoss Tools SVN: r19219 - trunk/bpel/features/org.jboss.tools.bpel.feature.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-12-11 11:52:11 -0500 (Fri, 11 Dec 2009)
New Revision: 19219
Modified:
trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml
Log:
bpel.compare.ui has been removed from svn for now
Modified: trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml
===================================================================
--- trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml 2009-12-11 16:29:07 UTC (rev 19218)
+++ trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml 2009-12-11 16:52:11 UTC (rev 19219)
@@ -25,55 +25,32 @@
<requires>
<import plugin="org.eclipse.emf.ecore" version="2.4.0" match="compatible"/>
<import plugin="org.eclipse.emf.ecore.xmi" version="2.4.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.model" version="0.4.0" match="compatible"/>
<import plugin="org.eclipse.wst.wsdl" version="1.1.200" match="compatible"/>
<import plugin="org.eclipse.xsd" version="2.4.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.4.0" match="compatible"/>
<import plugin="javax.wsdl" version="1.5.0" match="equivalent"/>
- <import plugin="org.eclipse.ui" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.jface.text" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.core.resources" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.ui.editors" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.ui.ide" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.ui.forms" version="3.3.100" match="compatible"/>
- <import plugin="org.eclipse.bpel.apache.ode.deploy.model" version="0.4.0" match="compatible"/>
<import plugin="org.eclipse.core.databinding" version="1.1.0" match="compatible"/>
<import plugin="org.eclipse.jface.databinding" version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.emf.edit.ui" version="2.4.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.ui" version="0.4.0" match="compatible"/>
<import plugin="org.eclipse.jdt.core" version="3.5.0" match="compatible"/>
<import plugin="org.eclipse.wst.common.modulecore" version="1.1.300" match="compatible"/>
- <import plugin="org.eclipse.gef" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.emf.ecore.change" version="2.4.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.model" version="0.5.0" match="compatible"/>
- <import plugin="org.eclipse.ui" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.core.runtime" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.compare" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.emf.common" version="2.5.0" match="compatible"/>
- <import plugin="org.eclipse.core.resources" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.emf.ecore" version="2.5.0" match="compatible"/>
- <import plugin="org.eclipse.emf.compare" version="1.0.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.ui" version="0.5.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.common.ui" version="0.4.0" match="compatible"/>
- <import plugin="org.eclipse.gef" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.ui.ide" version="3.5.0" match="compatible"/>
- <import plugin="org.eclipse.gmf.runtime.diagram.ui" version="1.1.3" match="compatible"/>
- <import plugin="org.eclipse.emf.compare.match" version="1.0.0" match="compatible"/>
- <import plugin="org.eclipse.emf.compare.diff" version="1.0.0" match="compatible"/>
- <import plugin="org.eclipse.bpel.common.model" version="0.5.0" match="compatible"/>
- <import plugin="org.eclipse.emf.compare.ui" version="1.0.0" match="compatible"/>
+ <import plugin="org.eclipse.bpel.model" version="0.4.0" match="compatible"/>
<import plugin="org.apache.xerces" version="2.9.0" match="compatible"/>
<import plugin="org.eclipse.ui.views.properties.tabbed" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.ui.workbench.texteditor" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.bpel.common.ui" version="0.5.0" match="compatible"/>
<import plugin="org.eclipse.wst.xml.core" version="1.1.300" match="compatible"/>
- <import plugin="org.eclipse.bpel.wsil.model" version="0.5.0" match="compatible"/>
<import plugin="org.eclipse.wst.sse.ui" version="1.1.0" match="compatible"/>
<import plugin="org.eclipse.wst.sse.core" version="1.1.300" match="compatible"/>
<import plugin="org.eclipse.wst.xsd.ui" version="1.2.101" match="compatible"/>
<import plugin="org.eclipse.wst.wsdl.ui" version="1.2.100" match="compatible"/>
<import plugin="org.eclipse.wst.xml.ui" version="1.0.400" match="compatible"/>
- <import plugin="org.eclipse.bpel.common.model" version="0.4.0" match="compatible"/>
<import plugin="org.eclipse.wst.validation" version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.wst.wsdl.validation" version="1.1.301" match="compatible"/>
<import plugin="org.eclipse.bpel.xpath10" version="0.4.0" match="compatible"/>
@@ -91,6 +68,14 @@
<import plugin="org.jboss.ide.eclipse.as.wtp.core"/>
<import plugin="org.eclipse.wst.web"/>
<import plugin="org.eclipse.ui.navigator"/>
+ <import plugin="org.eclipse.bpel.model" version="0.4.0"/>
+ <import plugin="org.eclipse.ui" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.bpel.apache.ode.deploy.model" version="0.4.0"/>
+ <import plugin="org.eclipse.bpel.ui" version="0.4.0"/>
+ <import plugin="org.eclipse.gef" version="3.4.0" match="compatible"/>
+ <import plugin="org.eclipse.bpel.common.model" version="0.4.0"/>
+ <import plugin="org.eclipse.bpel.common.ui" version="0.4.0"/>
+ <import plugin="org.eclipse.bpel.wsil.model" version="0.4.0"/>
</requires>
<plugin
@@ -121,16 +106,7 @@
version="0.0.0"
unpack="false"/>
- <!-- removed
<plugin
- id="org.eclipse.bpel.compare.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
- -->
-
- <plugin
id="org.eclipse.bpel.model"
download-size="0"
install-size="0"
15 years, 1 month
JBoss Tools SVN: r19218 - trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-12-11 11:29:07 -0500 (Fri, 11 Dec 2009)
New Revision: 19218
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JsfJSPTagNameHyperlinkPartitioner.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5437
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JsfJSPTagNameHyperlinkPartitioner.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JsfJSPTagNameHyperlinkPartitioner.java 2009-12-11 16:23:17 UTC (rev 19217)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JsfJSPTagNameHyperlinkPartitioner.java 2009-12-11 16:29:07 UTC (rev 19218)
@@ -22,6 +22,7 @@
import org.jboss.tools.jsf.project.JSFNature;
import org.jboss.tools.jsf.text.ext.JSFExtensionsPlugin;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner;
import org.jboss.tools.common.text.ext.hyperlink.HyperlinkRegion;
import org.jboss.tools.common.text.ext.hyperlink.IHyperlinkPartitionRecognizer;
@@ -82,11 +83,14 @@
if(project==null) {
return false;
}
- for (int i = 0; i < JSF_PROJECT_NATURES.length; i++) {
- if (project.getNature(JSF_PROJECT_NATURES[i]) != null)
- return true;
+ if(EclipseResourceUtil.getModelNature(project) != null) {
+ for (int i = 0; i < JSF_PROJECT_NATURES.length; i++) {
+ if (project.getNature(JSF_PROJECT_NATURES[i]) != null)
+ return true;
+ }
+ return false;
}
- return false;
+ return true;
} catch (CoreException x) {
JSFExtensionsPlugin.log("", x); //$NON-NLS-1$
return false;
15 years, 1 month
JBoss Tools SVN: r19217 - trunk/bpel/releng.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-12-11 11:23:17 -0500 (Fri, 11 Dec 2009)
New Revision: 19217
Modified:
trunk/bpel/releng/build.properties
trunk/bpel/releng/build.properties.example.hudson.qa.jboss.com
trunk/bpel/releng/build.properties.example.linux
Log:
bpel.compare.ui has been removed from svn for now
Modified: trunk/bpel/releng/build.properties
===================================================================
--- trunk/bpel/releng/build.properties 2009-12-11 16:17:15 UTC (rev 19216)
+++ trunk/bpel/releng/build.properties 2009-12-11 16:23:17 UTC (rev 19217)
@@ -38,13 +38,12 @@
#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/wst-buildrepo-R-3.1.1-20090917225226.zip
# alternative locations from which to fetch IUs
+# required if building bpel.compare.ui: org.eclipse.gmf.runtime.diagram.ui+org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.sdk.ide+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+org.eclipse.rcp.feature.group+\
org.eclipse.jst.server.generic.core+\
org.eclipse.wst.ws_core.feature.feature.group+org.eclipse.wst.web_ui.feature.feature.group+org.eclipse.wst.ws_wsdl15.feature.feature.group+\
org.eclipse.wst.xml_ui.feature.feature.group+org.eclipse.wst.common_ui.feature.feature.group+org.eclipse.wst.common_core.feature.feature.group+\
org.eclipse.xsd.feature.group+org.eclipse.gef.feature.group+\
-org.eclipse.gmf.runtime.diagram.ui+\
-org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
org.mozilla.xpcom+org.jboss.tools.vpe.resref+org.jboss.tools.jst.web.ui+org.jboss.ide.eclipse.as.core+org.jboss.ide.eclipse.archives.webtools+org.jboss.tools.jmx.feature.feature.group
flattenDependencies=true
Modified: trunk/bpel/releng/build.properties.example.hudson.qa.jboss.com
===================================================================
--- trunk/bpel/releng/build.properties.example.hudson.qa.jboss.com 2009-12-11 16:17:15 UTC (rev 19216)
+++ trunk/bpel/releng/build.properties.example.hudson.qa.jboss.com 2009-12-11 16:23:17 UTC (rev 19217)
@@ -18,19 +18,33 @@
JAVA50_HOME=${JAVA_HOME}
JAVA60_HOME=${JAVA_HOME}
-dependencyURLs=\
-http://repository.jboss.org/eclipse/galileo/GEF-runtime-3.5.1.zip,\
-http://repository.jboss.org/eclipse/galileo/emf-runtime-2.5.0.zip,\
-http://repository.jboss.org/eclipse/galileo/xsd-runtime-2.5.0.zip,\
-http://repository.jboss.org/eclipse/galileo/wtp-R-3.1.1-20090917225226.zip,\
-http://repository.jboss.org/eclipse/galileo/dtp_1.7.1.zip,\
-http://repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5.1-linux-gtk-x86_64.tar.gz
-#http://repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5.1-linux-gtk.tar.gz
-# build throws OOM/Permgen errors on 64-bit hudson slaves
+# To make the build go faster, input a local update site zip (or use locally cached zips instead of galileo site)
+# jar:file:/tmp/build/downloads/JBossTools-Update-3.1.0.v200912081204N-H34-GA.zip!/,
+repositoryURLs=\
+http://download.jboss.org/jbosstools/updates/nightly/trunk/,\
+http://download.eclipse.org/releases/galileo/
+#http://repository.jboss.org/eclipse/galileo/repos/eclipse-Update-R-3.5.1-200909170800.zip,\
+#http://repository.jboss.org/eclipse/galileo/repos/GEF-Update-3.5.1.zip,\
+#http://repository.jboss.org/eclipse/galileo/repos/dtp-Updates-1.7-20090908.zip,\
+#http://repository.jboss.org/eclipse/galileo/repos/emf-xsd-Update-2.5.0.zip,\
+#http://repository.jboss.org/eclipse/galileo/repos/jst-buildrepo-R-3.1.1-20090917225226.zip,\
+#http://repository.jboss.org/eclipse/galileo/repos/wst-buildrepo-R-3.1.1-20090917225226.zip
+# Alt location for repos: mirror_id=581 = Amazon AWS mirror
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/eclipse-Update-R-3.5.1-200909170800.zip,\
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/GEF-Update-3.5.1.zip,\
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/dtp-Updates-1.7-20090908.zip,\
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/emf-xsd-Update-2.5.0.zip,\
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/jst-buildrepo-R-3.1.1-20090917225226.zip,\
+#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/wst-buildrepo-R-3.1.1-20090917225226.zip
+# alternative locations from which to fetch IUs
-# use precompiled binaries from latest build as input to this build
-repositoryURLs=http://download.eclipse.org/releases/galileo/,http://download.jboss.org/jbosstools/updates/nightly/trunk/
-pluginIDsToInstall=org.jboss.ide.eclipse.as.wtp.core+org.jboss.tools.vpe.resref+org.jboss.tools.jst.web.ui+org.eclipse.core.net
+# required if building bpel.compare.ui: org.eclipse.gmf.runtime.diagram.ui+org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
+IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.sdk.ide+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+org.eclipse.rcp.feature.group+\
+org.eclipse.jst.server.generic.core+\
+org.eclipse.wst.ws_core.feature.feature.group+org.eclipse.wst.web_ui.feature.feature.group+org.eclipse.wst.ws_wsdl15.feature.feature.group+\
+org.eclipse.wst.xml_ui.feature.feature.group+org.eclipse.wst.common_ui.feature.feature.group+org.eclipse.wst.common_core.feature.feature.group+\
+org.eclipse.xsd.feature.group+org.eclipse.gef.feature.group+\
+org.mozilla.xpcom+org.jboss.tools.vpe.resref+org.jboss.tools.jst.web.ui+org.jboss.ide.eclipse.as.core+org.jboss.ide.eclipse.archives.webtools+org.jboss.tools.jmx.feature.feature.group
flattenDependencies=true
parallelCompilation=true
Modified: trunk/bpel/releng/build.properties.example.linux
===================================================================
--- trunk/bpel/releng/build.properties.example.linux 2009-12-11 16:17:15 UTC (rev 19216)
+++ trunk/bpel/releng/build.properties.example.linux 2009-12-11 16:23:17 UTC (rev 19217)
@@ -12,7 +12,7 @@
mainFeatureToBuildID=org.jboss.tools.bpel.sdk.feature
testFeatureToBuildID=org.jboss.tools.bpel.tests.feature
-build.steps=buildUpdate,buildTests,generateDigests,testLocal,publish,cleanup
+build.steps=buildUpdate,buildTests,generateDigests,test,publish,cleanup
# Re-use local sources?
# note: to run tests locally, these plugins must be pre-checked out into the local source folder:
@@ -50,13 +50,12 @@
#http://www.eclipse.org/downloads/download.php?mirror_id=581&r=1&file=/athena/repos/wst-buildrepo-R-3.1.1-20090917225226.zip
# alternative locations from which to fetch IUs
+# required if building bpel.compare.ui: org.eclipse.gmf.runtime.diagram.ui+org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
IUsToInstall=org.eclipse.sdk.feature.group+org.eclipse.sdk.ide+org.eclipse.core.net+org.eclipse.equinox.common+org.eclipse.core.runtime+org.eclipse.debug.core+org.eclipse.rcp.feature.group+\
org.eclipse.jst.server.generic.core+\
org.eclipse.wst.ws_core.feature.feature.group+org.eclipse.wst.web_ui.feature.feature.group+org.eclipse.wst.ws_wsdl15.feature.feature.group+\
org.eclipse.wst.xml_ui.feature.feature.group+org.eclipse.wst.common_ui.feature.feature.group+org.eclipse.wst.common_core.feature.feature.group+\
org.eclipse.xsd.feature.group+org.eclipse.gef.feature.group+\
-org.eclipse.gmf.runtime.diagram.ui+\
-org.eclipse.emf.compare.match+org.eclipse.emf.compare.diff+org.eclipse.emf.compare.ui+\
org.mozilla.xpcom+org.jboss.tools.vpe.resref+org.jboss.tools.jst.web.ui+org.jboss.ide.eclipse.as.core+org.jboss.ide.eclipse.archives.webtools+org.jboss.tools.jmx.feature.feature.group
flattenDependencies=true
15 years, 1 month
JBoss Tools SVN: r19216 - trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-12-11 11:17:15 -0500 (Fri, 11 Dec 2009)
New Revision: 19216
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5437
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java 2009-12-11 16:08:11 UTC (rev 19215)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java 2009-12-11 16:17:15 UTC (rev 19216)
@@ -60,6 +60,9 @@
XModelObject fs = EclipseResourceUtil.getObjectByResource(file);
if (fs != null)
return fs.getModel();
+ fs = EclipseResourceUtil.createObjectForResource(file);
+ if (fs != null)
+ return fs.getModel();
IProject project = file.getProject();
IModelNature nature = EclipseResourceUtil.getModelNature(project);
return (nature == null) ? null : nature.getModel();
15 years, 1 month
JBoss Tools SVN: r19215 - trunk/bpel/features/org.jboss.tools.bpel.feature.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-12-11 11:08:11 -0500 (Fri, 11 Dec 2009)
New Revision: 19215
Modified:
trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml
Log:
bpel.compare.ui has been removed from svn for now
Modified: trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml
===================================================================
--- trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml 2009-12-11 15:55:41 UTC (rev 19214)
+++ trunk/bpel/features/org.jboss.tools.bpel.feature/feature.xml 2009-12-11 16:08:11 UTC (rev 19215)
@@ -121,12 +121,14 @@
version="0.0.0"
unpack="false"/>
+ <!-- removed
<plugin
id="org.eclipse.bpel.compare.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
+ -->
<plugin
id="org.eclipse.bpel.model"
15 years, 1 month
JBoss Tools SVN: r19213 - in trunk/documentation/whatsnew/hibernate: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-12-11 10:35:03 -0500 (Fri, 11 Dec 2009)
New Revision: 19213
Added:
trunk/documentation/whatsnew/hibernate/images/display-foreign-key-constrains.PNG
trunk/documentation/whatsnew/hibernate/images/open-orm-xml.png
trunk/documentation/whatsnew/hibernate/images/selectconnections.png
Modified:
trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html
Log:
Update whatsnew for CR1 for Hibernate Tools
Modified: trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html 2009-12-11 15:26:48 UTC (rev 19212)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html 2009-12-11 15:35:03 UTC (rev 19213)
@@ -38,6 +38,23 @@
<tr>
<td colspan="2">
<hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Possibility to open orm.xml</b></td>
+ <td valign="top">
+
+ <p>"Open Mapping File" can open orm.xml for JPA project, for Hibernate JPA configuration</p>
+ <img src="images/open-orm-xml.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4227">Releated jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
<h3>Code Generation</h3>
<hr/>
</td>
@@ -69,10 +86,40 @@
<p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4715">Releated jira</a></small></p>
</td>
</tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
<tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Capability to change connection router</b></td>
+ <td valign="top">
+
+ <p>Supports direct connections as straight lines and connections as routed</p>
+ <img src="images/selectconnections.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-5124">Releated jira</a>, <a href="https://jira.jboss.org/jira/browse/JBIDE-4873">one more</a></small></p>
+ </td>
+ </tr>
+ <tr>
<td colspan="2">
<hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Display db tables relations</b></td>
+ <td valign="top">
+
+ <p>"Foreign key constraints" - possible to Show|Hide these relations </p>
+ <img src="images/display-foreign-key-constrains.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4956">Releated jira</a>, <a href="https://jira.jboss.org/jira/browse/JBIDE-4873">one more</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
<h3>Dali Support</h3>
<hr/>
</td>
Added: trunk/documentation/whatsnew/hibernate/images/display-foreign-key-constrains.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/display-foreign-key-constrains.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/hibernate/images/open-orm-xml.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/open-orm-xml.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/hibernate/images/selectconnections.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/selectconnections.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 1 month
JBoss Tools SVN: r19212 - in trunk/documentation/whatsnew/seam: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-12-11 10:26:48 -0500 (Fri, 11 Dec 2009)
New Revision: 19212
Added:
trunk/documentation/whatsnew/seam/images/addSeamSupport.png
trunk/documentation/whatsnew/seam/images/removeSeamSupport.png
trunk/documentation/whatsnew/seam/images/testProjectCreation.png
Modified:
trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
Log:
N&N for Seam CR1 Tools
Added: trunk/documentation/whatsnew/seam/images/addSeamSupport.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/images/addSeamSupport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/images/removeSeamSupport.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/images/removeSeamSupport.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/images/testProjectCreation.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/images/testProjectCreation.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html 2009-12-11 14:58:25 UTC (rev 19211)
+++ trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html 2009-12-11 15:26:48 UTC (rev 19212)
@@ -1,124 +1,150 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Language" content="en-us" />
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="stylesheet" href="../whatsnew.css" />
-<title>Seam tools 3.3.0.M4 and 3.3.0.CR1 What's New</title>
-</head>
-<body>
-<h1>Seam tools 3.3.0.M4 and 3.3.0.CR1 What's New</h1>
-
-<p align="right"><a href="../index.html">< Main Index</a> <a
- href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
-
-<table border="0" cellpadding="10" cellspacing="0" width="80%">
- <tr>
- <td colspan="2">
- <hr />
- <h3>New Wizards</h3>
- <hr />
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
- <p><b>Validation Improvements</b></p>
- </td>
- <td valign="top">
- <p>Seam artifacts generation were improved. Now it warns if the
- resources are going to be created conflict with existing ones.</p>
-
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-4944">Related Jira</a></small></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="left">
- <p><b>New Seam 2 EJB Project Wizard</b></p>
- </td>
- <td valign="top">
- <p>Now Seam EAR Project is created according Seam recommendation
- to use /lib directory in EAR. That helps to fix many issues related to
- JBoss AS classloaders.</p>
-
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-4136">Related Jira</a></small></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="left">
- <p><b>Connection configuration changes</b></p>
- </td>
- <td valign="top">
- <p>Seam project uses DTP connection profile direct(without copying it's settings into hibernate.properties file).</p>
- <img src="images/seam_only.png" />
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-4985">Related Jira</a></small></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr />
- </td>
- </tr>
-
- <tr>
- <td valign="top" align="left">
- <p><b>Seam+JPA</b></p>
- </td>
- <td valign="top">
- <p>Seam project with JPA facet uses JPA's configured connection.</p>
-
- <img src="images/seam_and_jpa.png" />
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-4987">Related Jira</a></small></p>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <hr />
- <h3>Refactoring</h3>
- <hr />
- </td>
- </tr>
- <tr>
- <td valign="top" align="left">
- <p><b>Rename action for Seam Components/Methods/Properties</b></p>
- </td>
- <td valign="top">
- <p>Rename action for Seam Components/Methods/Properties also shows
- all resources that has references renamed element in EL</p>
- <p>Rename actions are available:</p>
- <ul>
- <li>from context menu on a Seam component inside Seam Components View</li>
- <li style="FONT-FAMILY: 'AlArabiya';">from context menu on a method/property in Java Source editor</li>
- </ul>
- <p><small><a
- href="https://jira.jboss.org/jira/browse/JBIDE-4856">Related Jira</a></small></p>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr />
- </td>
- </tr>
-</table>
-
-</body>
-
-</html>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>Seam tools 3.1.0.CR1 What's New</title>
+</head>
+<body>
+<h1>Seam tools 3.1.0.CR1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../jst/jst-news-3.1.0.CR1.html">JST/JSF Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>New Seam Web Project Wizard</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Test project creation.</b></p>
+ </td>
+ <td valign="top">
+ <p>There is a new option to avoid test project creation in the wizard.</p>
+ <img src="images/testProjectCreation.png">
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-2807">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Connection configuration changes</b></p>
+ </td>
+ <td valign="top">
+ <p>Seam project uses DTP connection profile direct(without copying it's settings into hibernate.properties file).</p>
+ <img src="images/seam_only.png" />
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4985">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam+JPA</b></p>
+ </td>
+ <td valign="top">
+ <p>Seam project with JPA facet uses JPA's configured connection.</p>
+
+ <img src="images/seam_and_jpa.png" />
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4987">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Project Validation</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Validation Improvements</b></p>
+ </td>
+ <td valign="top">
+ <p>Now Seam project is revalidated if Seam Runtime changed, added or removed within Seam Preference page.</p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5170">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Seam Components View</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>"Menu" key</b></p>
+ </td>
+ <td valign="top">
+ <p>"Menu" key (a key found on Microsoft Windows-oriented computer keyboards) is now supported by Seam Components View.</p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5090">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Seam support enablement</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Add/Remove Seam Support Wizard.</b></p>
+ </td>
+ <td valign="top">
+ <p>There is a new actions in <i><b>Project->Configuration...</b></i> menu to add/remove Seam support to a project.</p>
+ <img src="images/addSeamSupport.png"><br/><br/>
+ <img src="images/removeSeamSupport.png">
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-5275">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
\ No newline at end of file
Property changes on: trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
___________________________________________________________________
Name: svn:mime-type
- text/html
+ text/plain
Name: svn:eol-style
- native
15 years, 1 month
JBoss Tools SVN: r19211 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-12-11 09:58:25 -0500 (Fri, 11 Dec 2009)
New Revision: 19211
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-903
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-12-11 14:46:35 UTC (rev 19210)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-12-11 14:58:25 UTC (rev 19211)
@@ -973,7 +973,7 @@
<para> You can insert a tag/component from the palette into either the Source or the
Visual part by calling a context menu and selecting <property>Insert
around</property>, <property>Insert before</property>, <property>Insert
- after</property> or <property>Replace With</property>, pointing to
+ after</property>, <property>Replace With</property> or <property>Insert Into</property> pointing to
<property>From Palette</property>, picking the type of the tag and finally
choosing the tag you want to insert. </para>
15 years, 1 month
JBoss Tools SVN: r19210 - 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-12-11 09:46:35 -0500 (Fri, 11 Dec 2009)
New Revision: 19210
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/FaceletPageContectAssistProcessor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
Log:
JBIDE-4553: JSF EL inserted w/o closed } using CA on xhtml page if it was called w/o closed } and " .
Issue is fixed
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-12-11 14:40:28 UTC (rev 19209)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java 2009-12-11 14:46:35 UTC (rev 19210)
@@ -938,10 +938,68 @@
}
/**
- * Returns URI for the current/parent tag
+ * Returns EL Prefix Text Region Information Object
+ *
* @return
*/
- @SuppressWarnings("deprecation")
+ protected TextRegion getELPrefix(ContentAssistRequest request) {
+ if (!DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE.equals(request.getRegion().getType()) &&
+ !DOMRegionContext.XML_CONTENT.equals(request.getRegion().getType()))
+ return null;
+
+ String text = request.getDocumentRegion().getFullText(request.getRegion());
+ int startOffset = request.getDocumentRegion().getStartOffset() + request.getRegion().getStart();
+
+ boolean isAttributeValue = false;
+ boolean hasOpenQuote = false;
+ boolean hasCloseQuote = false;
+ char quoteChar = (char)0;
+ if (DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE.equals(request.getRegion().getType())) {
+ isAttributeValue = true;
+ if (text.startsWith("\"") || text.startsWith("'")) {//$NON-NLS-1$ //$NON-NLS-2$
+ quoteChar = text.charAt(0);
+ hasOpenQuote = true;
+ }
+ if (hasOpenQuote && text.endsWith(String.valueOf(quoteChar))) {
+ hasCloseQuote = true;
+ }
+ }
+
+ int inValueOffset = getOffset() - startOffset;
+ if (text != null && text.length() < inValueOffset) { // probably, the attribute value ends before the document position
+ return null;
+ }
+ if (inValueOffset<0) {
+ return null;
+ }
+
+// String matchString = text.substring(0, inValueOffset);
+
+ ELParser p = ELParserUtil.getJbossFactory().createParser();
+ ELModel model = p.parse(text);
+
+ ELInstance is = ELUtil.findInstance(model, inValueOffset);// ELInstance
+ ELInvocationExpression ie = ELUtil.findExpression(model, inValueOffset);// ELExpression
+
+ boolean isELStarted = (model != null && is != null && (model.toString().startsWith("#{") || //$NON-NLS-1$
+ model.toString().startsWith("${"))); //$NON-NLS-1$
+ boolean isELClosed = (model != null && is != null && model.toString().endsWith("}")); //$NON-NLS-1$
+
+// boolean insideEL = startOffset + model.toString().length()
+ TextRegion tr = new TextRegion(startOffset, ie == null ? inValueOffset : ie.getStartPosition(),
+ ie == null ? 0 : inValueOffset - ie.getStartPosition(), ie == null ? "" : ie.getText(), //$NON-NLS-1$
+ isELStarted, isELClosed,
+ isAttributeValue, hasOpenQuote, hasCloseQuote, quoteChar);
+
+ return tr;
+ }
+
+ /**
+ * Returns EL Prefix Text Region Information Object
+ *
+ * @deprecated
+ * @return
+ */
protected TextRegion getELPrefix() {
IStructuredModel sModel = StructuredModelManager
.getModelManager()
@@ -1038,14 +1096,27 @@
private String text;
private boolean isELStarted;
private boolean isELClosed;
+ private boolean isAttributeValue;
+ private boolean hasOpenQuote;
+ private boolean hasCloseQuote;
+ private char quoteChar;
TextRegion(int startOffset, int offset, int length, String text, boolean isELStarted, boolean isELClosed) {
+ this(startOffset, offset, length, text, isELStarted, isELClosed, false, false, false, (char)0);
+ }
+
+ TextRegion(int startOffset, int offset, int length, String text, boolean isELStarted, boolean isELClosed,
+ boolean isAttributeValue, boolean hasOpenQuote, boolean hasCloseQuote, char quoteChar) {
this.startOffset = startOffset;
this.offset = offset;
this.length = length;
this.text = text;
this.isELStarted = isELStarted;
this.isELClosed = isELClosed;
+ this.isAttributeValue = isAttributeValue;
+ this.hasOpenQuote = hasOpenQuote;
+ this.hasCloseQuote = hasCloseQuote;
+ this.quoteChar = quoteChar;
}
public int getStartOffset() {
@@ -1074,5 +1145,21 @@
public boolean isELClosed() {
return isELClosed;
}
+
+ public boolean isAttributeValue() {
+ return isAttributeValue;
+ }
+
+ public char getQuoteChar() {
+ return quoteChar;
+ }
+
+ public boolean hasOpenQuote() {
+ return hasOpenQuote;
+ }
+
+ public boolean hasCloseQuote() {
+ return hasCloseQuote;
+ }
}
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java 2009-12-11 14:40:28 UTC (rev 19209)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java 2009-12-11 14:46:35 UTC (rev 19210)
@@ -49,12 +49,12 @@
*/
@Override
protected void addTextELProposals(ContentAssistRequest contentAssistRequest) {
- TextRegion prefix = getELPrefix();
+ TextRegion prefix = getELPrefix(contentAssistRequest);
if (prefix == null || !prefix.isELStarted()) {
AutoContentAssistantProposal proposal = new AutoContentAssistantProposal(true, "#{}", //$NON-NLS-1$
contentAssistRequest.getReplacementBeginPosition(),
0, 2, JSF_EL_PROPOSAL_IMAGE, JstUIMessages.JspContentAssistProcessor_NewELExpression, null,
- JstUIMessages.FaceletPageContectAssistProcessor_NewELExpressionTextInfo, TextProposal.R_XML_ATTRIBUTE_VALUE_TEMPLATE);
+ JstUIMessages.FaceletPageContectAssistProcessor_NewELExpressionTextInfo, TextProposal.R_TAG_INSERTION + 1);
contentAssistRequest.addProposal(proposal);
return;
@@ -77,6 +77,11 @@
int replacementLength = prefix.getLength();
String replacementString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
int cursorPosition = replacementString.length();
+
+ if (!prefix.isELClosed()) {
+ replacementString += "}"; //$NON-NLS-1$
+ }
+
Image image = textProposal.getImage();
// JBIDE-512, JBIDE-2541 related changes ===>>>
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-12-11 14:40:28 UTC (rev 19209)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-12-11 14:46:35 UTC (rev 19210)
@@ -97,7 +97,7 @@
// Need to check if an EL Expression is opened here.
// If it is true we don't need to start any new tag proposals
- TextRegion prefix = getELPrefix();
+ TextRegion prefix = getELPrefix(contentAssistRequest);
if (prefix != null && prefix.isELStarted()) {
return;
}
@@ -237,7 +237,7 @@
protected void addAttributeValueProposals(ContentAssistRequest contentAssistRequest) {
// Need to check if an EL Expression is opened here.
// If it is true we don't need to start any new tag proposals
- TextRegion prefix = getELPrefix();
+ TextRegion prefix = getELPrefix(contentAssistRequest);
if (prefix != null && prefix.isELStarted()) {
return;
}
@@ -285,13 +285,14 @@
@Override
protected void addAttributeValueELProposals(ContentAssistRequest contentAssistRequest) {
- TextRegion prefix = getELPrefix();
+ TextRegion prefix = getELPrefix(contentAssistRequest);
if (prefix == null) {
return;
}
if(!prefix.isELStarted()) {
- AutoContentAssistantProposal proposal = new AutoContentAssistantProposal(true, "#{}", //$NON-NLS-1$
+ AutoContentAssistantProposal proposal = new AutoContentAssistantProposal(true,
+ "#{}" + (prefix.isAttributeValue() && prefix.hasOpenQuote() && !prefix.hasCloseQuote() ? String.valueOf(prefix.getQuoteChar()) : ""), //$NON-NLS-1$ //$NON-NLS-2$
getOffset(), 0, 2, JSF_EL_PROPOSAL_IMAGE, JstUIMessages.JspContentAssistProcessor_NewELExpression,
null, JstUIMessages.JspContentAssistProcessor_NewELExpressionAttrInfo, TextProposal.R_XML_ATTRIBUTE_VALUE_TEMPLATE);
@@ -315,7 +316,21 @@
int replacementOffset = beginChangeOffset;
int replacementLength = prefix.getLength();
String replacementString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
+
+ char quoteChar = prefix.isAttributeValue() && prefix.hasOpenQuote() ? prefix.getQuoteChar() : '"';
+// if (prefix.isAttributeValue() && !prefix.hasOpenQuote()) {
+// replacementString = String.valueOf(quoteChar) + replacementString;
+// }
int cursorPosition = replacementString.length();
+
+ if (!prefix.isELClosed()) {
+ replacementString += "}"; //$NON-NLS-1$
+ }
+
+ if (prefix.isAttributeValue() && prefix.hasOpenQuote() && !prefix.hasCloseQuote()) {
+ replacementString += String.valueOf(quoteChar);
+ }
+
Image image = textProposal.getImage();
// JBIDE-512, JBIDE-2541 related changes ===>>>
@@ -340,9 +355,10 @@
}
if (prefix.isELStarted() && !prefix.isELClosed()) {
- AutoContentAssistantProposal proposal = new AutoContentAssistantProposal("}", //$NON-NLS-1$
- getOffset(), 0, 1, JSF_EL_PROPOSAL_IMAGE, JstUIMessages.JspContentAssistProcessor_CloseELExpression,
- null, JstUIMessages.JspContentAssistProcessor_CloseELExpressionInfo, TextProposal.R_XML_ATTRIBUTE_VALUE_TEMPLATE);
+ AutoContentAssistantProposal proposal = new AutoContentAssistantProposal(
+ "}" + (prefix.isAttributeValue() && prefix.hasOpenQuote() && !prefix.hasCloseQuote() ? String.valueOf(prefix.getQuoteChar()) : ""), //$NON-NLS-1$ //$NON-NLS-2$
+ getOffset(), 0, 0, JSF_EL_PROPOSAL_IMAGE, JstUIMessages.JspContentAssistProcessor_CloseELExpression,
+ null, JstUIMessages.JspContentAssistProcessor_CloseELExpressionInfo, TextProposal.R_XML_ATTRIBUTE_VALUE + 1); //
contentAssistRequest.addProposal(proposal);
}
@@ -350,12 +366,12 @@
@Override
protected void addTextELProposals(ContentAssistRequest contentAssistRequest) {
- TextRegion prefix = getELPrefix();
+ TextRegion prefix = getELPrefix(contentAssistRequest);
if (prefix == null || !prefix.isELStarted()) {
AutoContentAssistantProposal proposal = new AutoContentAssistantProposal(true, "#{}", //$NON-NLS-1$
contentAssistRequest.getReplacementBeginPosition(),
0, 2, JSF_EL_PROPOSAL_IMAGE, JstUIMessages.JspContentAssistProcessor_NewELExpression, null,
- JstUIMessages.FaceletPageContectAssistProcessor_NewELExpressionTextInfo, TextProposal.R_XML_ATTRIBUTE_VALUE_TEMPLATE);
+ JstUIMessages.FaceletPageContectAssistProcessor_NewELExpressionTextInfo, TextProposal.R_TAG_INSERTION + 1);
contentAssistRequest.addProposal(proposal);
return;
@@ -378,6 +394,11 @@
int replacementLength = prefix.getLength();
String replacementString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
int cursorPosition = replacementString.length();
+
+ if (!prefix.isELClosed()) {
+ replacementString += "}"; //$NON-NLS-1$
+ }
+
Image image = textProposal.getImage();
// JBIDE-512, JBIDE-2541 related changes ===>>>
15 years, 1 month
JBoss Tools SVN: r19209 - in trunk/documentation/whatsnew: hibernate/images and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2009-12-11 09:40:28 -0500 (Fri, 11 Dec 2009)
New Revision: 19209
Added:
trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html
trunk/documentation/whatsnew/hibernate/images/configuration_preferences.png
trunk/documentation/whatsnew/hibernate/images/foreignkeyannotation.png
trunk/documentation/whatsnew/hibernate/images/indexannotation.png
trunk/documentation/whatsnew/hibernate/images/refactoring.png
trunk/documentation/whatsnew/seam/images/seam_and_jpa.PNG
trunk/documentation/whatsnew/seam/images/seam_only.PNG
trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
Modified:
trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M4.html
Log:
Created whatsnew for CR1 for Hibernate and Seam
Added: trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html (rev 0)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html 2009-12-11 14:40:28 UTC (rev 19209)
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Hibernate tools 3.3.0.M4 and 3.3.0.CR1 What's New</title>
+</head>
+<body>
+<h1>Hibernate tools 3.3.0.M4 and 3.3.0.CR1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../maven/maven-news-1.0.0.M3.html">Maven Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Source Editing</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Properties editor for hibernate.properties</b></td>
+ <td valign="top">
+ <p>JBoss Tools Properties editor now can be extended to recognize particular files by name and provides content assist with help hoover for available properties.</p>
+
+ <p>For hibernate.properties files editor shows available properties in 'Add/Edit property' dialog.</p>
+ <img src="images/hibernate-props-ca1.png" />
+ <p>the same content assists works for source tab if you prefer use text editor to edit properties files.</p>
+ <img src="images/hibernate-props-ca2.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4916">Releated jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Code Generation</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>DDL generation dialog</b></td>
+ <td valign="top">
+
+ <p>In DDL generation dialog new option added to execute generated script in selected DB.</p>
+ <img src="images/ddl-gen-export-to-db.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4733">Releated jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Mapping Diagram</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Views improvements</b></td>
+ <td valign="top">
+
+ <p>'Outline' View for hibernate mapping diagram supports alphabet sorting. 'Sort' button was added to view's action bar.</p>
+ <img src="images/sortedoutline.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4715">Releated jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Dali Support</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>@Generated annotation</b></td>
+ <td valign="top">
+
+ <p>The JPA UI and validation has been extended to cover Hibernate @Generated annotation.</p>
+ <img src="images/generatedannotation.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4665">Releated jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>@Index annotation</b></td>
+ <td valign="top">
+
+ <p>The JPA UI and validation has been extended to cover Hibernate @Index annotation.</p>
+ <img src="images/indexannotation.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4666">Releated jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>@Index annotation</b></td>
+ <td valign="top">
+
+ <p>The JPA validation has been extended to cover Hibernate @ForeignKey annotation.</p>
+ <img src="images/foreignkeyannotation.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4664">Releated jira</a></small></p>
+ </td>
+ </tr>
+
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>ConsoleConfiguration</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Use Eclipse's preferences</b></td>
+ <td valign="top">
+
+ <p>Console configuration life circle depends on Eclipse's launch configuration preferences.</p>
+ <img src="images/configuration_preferences.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-5222">Releated jira</a>, <a href="https://jira.jboss.org/jira/browse/JBIDE-4899">one more</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Refactoring</b></td>
+ <td valign="top">
+
+ <p>Rename NamingStrategy and EntityResolver on refactoring changes.</p>
+ <img src="images/refactoring.png" />
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4780">Releated jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
Property changes on: trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.CR1.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
Modified: trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M4.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M4.html 2009-12-11 14:24:22 UTC (rev 19208)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M4.html 2009-12-11 14:40:28 UTC (rev 19209)
@@ -69,14 +69,10 @@
<p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4715">Releated jira</a></small></p>
</td>
</tr>
+
<tr>
<td colspan="2">
<hr/>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <hr/>
<h3>Dali Support</h3>
<hr/>
</td>
Added: trunk/documentation/whatsnew/hibernate/images/configuration_preferences.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/configuration_preferences.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/hibernate/images/foreignkeyannotation.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/foreignkeyannotation.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/hibernate/images/indexannotation.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/indexannotation.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/hibernate/images/refactoring.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/hibernate/images/refactoring.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/seam/images/seam_and_jpa.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/images/seam_and_jpa.PNG
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/seam/images/seam_only.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/images/seam_only.PNG
___________________________________________________________________
Name: svn:mime-type
+ image/png
Added: trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html (rev 0)
+++ trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html 2009-12-11 14:40:28 UTC (rev 19209)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>Seam tools 3.3.0.M4 and 3.3.0.CR1 What's New</title>
+</head>
+<body>
+<h1>Seam tools 3.3.0.M4 and 3.3.0.CR1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../jst/jst-news-3.1.0.M4.html">JST/JSF Tools News ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>New Wizards</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Validation Improvements</b></p>
+ </td>
+ <td valign="top">
+ <p>Seam artifacts generation were improved. Now it warns if the
+ resources are going to be created conflict with existing ones.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4944">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>New Seam 2 EJB Project Wizard</b></p>
+ </td>
+ <td valign="top">
+ <p>Now Seam EAR Project is created according Seam recommendation
+ to use /lib directory in EAR. That helps to fix many issues related to
+ JBoss AS classloaders.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4136">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Connection configuration changes</b></p>
+ </td>
+ <td valign="top">
+ <p>Seam project uses DTP connection profile direct(without copying it's settings into hibernate.properties file).</p>
+ <img src="images/seam_only.png" />
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4985">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Seam+JPA</b></p>
+ </td>
+ <td valign="top">
+ <p>Seam project with JPA facet uses JPA's configured connection.</p>
+
+ <img src="images/seam_and_jpa.png" />
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4987">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Refactoring</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Rename action for Seam Components/Methods/Properties</b></p>
+ </td>
+ <td valign="top">
+ <p>Rename action for Seam Components/Methods/Properties also shows
+ all resources that has references renamed element in EL</p>
+ <p>Rename actions are available:</p>
+ <ul>
+ <li>from context menu on a Seam component inside Seam Components View</li>
+ <li style="FONT-FAMILY: 'AlArabiya';">from context menu on a method/property in Java Source editor</li>
+ </ul>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4856">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
Property changes on: trunk/documentation/whatsnew/seam/seam-news-3.1.0.CR1.html
___________________________________________________________________
Name: svn:mime-type
+ text/html
Name: svn:eol-style
+ native
15 years, 1 month