Author: vrubezhny
Date: 2007-12-20 12:36:47 -0500 (Thu, 20 Dec 2007)
New Revision: 5406
Modified:
trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1437 Ctrl+Click/F3 navigation isn't supported
for s:button@view and s:link@view attributes
This fix defines a hyperlink partitioner for view attribute of the s:link and s:button
tags to process the view attrinute value open-on as jsf-link does.
Modified: trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml 2007-12-20 17:13:13 UTC
(rev 5405)
+++ trunk/seam/plugins/org.jboss.tools.seam.text.ext/plugin.xml 2007-12-20 17:36:47 UTC
(rev 5406)
@@ -36,6 +36,24 @@
<partitionType id="org.jboss.tools.common.text.ext.xml.XML_TEXT"
/>
</contentType>
</hyperlinkPartitioner>
+
+ <hyperlinkPartitioner
+
id="org.jboss.tools.seam.text.ext.hyperlink.SeamViewHyperlinkPartitioner"
+
class="org.jboss.tools.jsf.text.ext.hyperlink.JSFJSPLinkHyperlinkPartitioner">
+ <contentType id="org.eclipse.jst.jsp.core.jspsource">
+ <partitionType
id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
+ <axis
path="*/[http://jboss.com/products/seam/taglib]:button/view/" />
+ <axis
path="*/[http://jboss.com/products/seam/taglib]:link/view/" />
+ </partitionType>
+ </contentType>
+ <contentType id="org.eclipse.wst.html.core.htmlsource">
+ <partitionType
id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
+ <axis
path="*/[http://jboss.com/products/seam/taglib]:button/view/" />
+ <axis
path="*/[http://jboss.com/products/seam/taglib]:link/view/" />
+ </partitionType>
+ </contentType>
+ </hyperlinkPartitioner>
+
</extension>
<extension