Author: svasilyev
Date: 2007-09-18 13:18:10 -0400 (Tue, 18 Sep 2007)
New Revision: 3694
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/plugin.xml
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
Log:
JBIDE-901 and remove org.jboss.tools.vpe.ui plugin
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/plugin.xml
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2007-09-18
17:18:05 UTC (rev 3693)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2007-09-18
17:18:10 UTC (rev 3694)
@@ -44,4 +44,7 @@
<xclass id="org.jboss.tools.vpe.editor.css.VpeAddReferenceSupport"
class="org.jboss.tools.vpe.editor.css.VpeAddReferenceSupport"/>
</extension>
+ <extension point="org.eclipse.ui.preferencePages">
+ <page category="org.jboss.tools.common.xstudio.editors"
class="org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage"
id="org.jboss.tools.vpe.editor" name="Visual Page
Editor"></page>
+ </extension>
</plugin>
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
===================================================================
---
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2007-09-18
17:18:05 UTC (rev 3693)
+++
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2007-09-18
17:18:10 UTC (rev 3694)
@@ -567,6 +567,11 @@
}
public Node getNodeForUptate(VpePageContext pageContext, Node sourceNode, nsIDOMNode
visualNode, Object data) {
+ // TODO Sergey Vasilyev redevelop JSF's facet template
+ if (sourceNode.getNodeName().endsWith(":facet")) {
+ return sourceNode.getParentNode();
+ }
+
if (creator != null) {
return creator.getNodeForUptate(pageContext, sourceNode, visualNode, (Map)data);
}
Show replies by date