JBoss Tools SVN: r6492 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf: templates and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-02-21 06:41:22 -0500 (Thu, 21 Feb 2008)
New Revision: 6492
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1742, bug resolved
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java 2008-02-21 11:41:22 UTC (rev 6492)
@@ -0,0 +1,88 @@
+/**
+ *
+ */
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author dmaliarevich
+ *
+ */
+public class JsfForm extends VpeAbstractTemplate {
+
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
+
+ /**
+ * Instantiates a new jsf form.
+ */
+ public JsfForm() {
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+ Element sourceElement = (Element)sourceNode;
+ nsIDOMElement table = visualDocument.createElement(HTML.TAG_TABLE);
+ nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
+ nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+
+ div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
+ td.appendChild(div);
+ tr.appendChild(td);
+ table.appendChild(tr);
+
+ VpeCreationData creationData = new VpeCreationData(table);
+ VpeChildrenInfo divInfo = new VpeChildrenInfo(div);
+ creationData.addChildrenInfo(divInfo);
+
+ for (Node child : getChildren(sourceElement)) {
+ divInfo.addSourceChild(child);
+ }
+
+ return creationData;
+ }
+
+ /**
+ * Gets the children.
+ *
+ * @param sourceElement the source element
+ *
+ * @return the children
+ */
+ public static List<Node> getChildren(Element sourceElement) {
+ ArrayList<Node> children = new ArrayList<Node>();
+ NodeList nodeList = sourceElement.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node child = nodeList.item(i);
+ children.add(child);
+ }
+ return children;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#isRecreateAtAttrChange(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object, java.lang.String, java.lang.String)
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java 2008-02-21 11:41:22 UTC (rev 6492)
@@ -0,0 +1,85 @@
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class JsfSubView.
+ */
+public class JsfSubView extends VpeAbstractTemplate {
+
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
+
+ /**
+ * Instantiates a new jsf sub view.
+ */
+ public JsfSubView() {
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+ Element sourceElement = (Element)sourceNode;
+ nsIDOMElement table = visualDocument.createElement(HTML.TAG_TABLE);
+ nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
+ nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+
+ div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
+ td.appendChild(div);
+ tr.appendChild(td);
+ table.appendChild(tr);
+
+ VpeCreationData creationData = new VpeCreationData(table);
+ VpeChildrenInfo divInfo = new VpeChildrenInfo(div);
+ creationData.addChildrenInfo(divInfo);
+
+ for (Node child : getChildren(sourceElement)) {
+ divInfo.addSourceChild(child);
+ }
+
+ return creationData;
+ }
+
+ /**
+ * Gets the children.
+ *
+ * @param sourceElement the source element
+ *
+ * @return the children
+ */
+ public static List<Node> getChildren(Element sourceElement) {
+ ArrayList<Node> children = new ArrayList<Node>();
+ NodeList nodeList = sourceElement.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node child = nodeList.item(i);
+ children.add(child);
+ }
+ return children;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#isRecreateAtAttrChange(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object, java.lang.String, java.lang.String)
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java 2008-02-21 11:41:22 UTC (rev 6492)
@@ -0,0 +1,89 @@
+/**
+ *
+ */
+package org.jboss.tools.jsf.vpe.jsf.template;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author dmaliarevich
+ *
+ */
+public class JsfView extends VpeAbstractTemplate {
+
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
+
+ /**
+ * Instantiates a new jsf view.
+ */
+ public JsfView() {
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ Element sourceElement = (Element)sourceNode;
+ nsIDOMElement table = visualDocument.createElement(HTML.TAG_TABLE);
+ nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
+ nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+
+ div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
+ td.appendChild(div);
+ tr.appendChild(td);
+ table.appendChild(tr);
+
+ VpeCreationData creationData = new VpeCreationData(table);
+ VpeChildrenInfo divInfo = new VpeChildrenInfo(div);
+ creationData.addChildrenInfo(divInfo);
+
+ for (Node child : getChildren(sourceElement)) {
+ divInfo.addSourceChild(child);
+ }
+
+ return creationData;
+ }
+
+ /**
+ * Gets the children.
+ *
+ * @param sourceElement the source element
+ *
+ * @return the children
+ */
+ public static List<Node> getChildren(Element sourceElement) {
+ ArrayList<Node> children = new ArrayList<Node>();
+ NodeList nodeList = sourceElement.getChildNodes();
+ for (int i = 0; i < nodeList.getLength(); i++) {
+ Node child = nodeList.item(i);
+ children.add(child);
+ }
+ return children;
+ }
+
+ /* (non-Javadoc)
+ * @see org.jboss.tools.vpe.editor.template.VpeAbstractTemplate#isRecreateAtAttrChange(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Element, org.mozilla.interfaces.nsIDOMDocument, org.mozilla.interfaces.nsIDOMElement, java.lang.Object, java.lang.String, java.lang.String)
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-02-21 11:39:16 UTC (rev 6491)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml 2008-02-21 11:41:22 UTC (rev 6492)
@@ -1011,8 +1011,8 @@
</vpe:tag>
<vpe:tag name="f:view" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no"
+ class="org.jboss.tools.jsf.vpe.jsf.template.JsfView">
<vpe:dnd>
<vpe:drag start-enable="yes"/>
<vpe:drop container="yes"/>
@@ -1029,8 +1029,8 @@
</vpe:tag>
<vpe:tag name="f:subview" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;" title="{tagstring()}"/>
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no"
+ class="org.jboss.tools.jsf.vpe.jsf.template.JsfSubView">
<vpe:dnd>
<vpe:drag start-enable="yes"/>
<vpe:drop container="yes"/>
@@ -1047,8 +1047,8 @@
</vpe:tag>
<vpe:tag name="h:form" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" haveVisualPreview="no">
- <div style="border:1px dotted #FF6600;padding: 5px;{@style}" class="{@styleClass}" title="{tagstring()}"/>
+ <vpe:template children="yes" modify="yes" haveVisualPreview="no"
+ class="org.jboss.tools.jsf.vpe.jsf.template.JsfForm">
<vpe:dnd>
<vpe:drag start-enable="yes"/>
<vpe:drop container="yes"/>
18 years, 1 month
JBoss Tools SVN: r6491 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsf.test and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-21 06:39:16 -0500 (Thu, 21 Feb 2008)
New Revision: 6491
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/resources/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/src/
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/bin/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/resources/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/src/
Log:
Jsf's test was replaced by mistake instead of JSP's test.
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test (from rev 6489, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test)
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.classpath 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.jsf.vpe.jsf.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.jsf.vpe.jsf.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF)
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>©2007 Red Hat, Inc. All rights reserved</P>
-
-<H3>License</H3>
-
-<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from Red Hat Inc., the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor's license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
- <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
-
-</BODY>
-</HTML>
\ No newline at end of file
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/about.html 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,11 +0,0 @@
-bin.includes = META-INF/,\
- resources/,\
- jsf-test.jar,\
- plugin.xml
-jars.compile.order = jsf-test.jar
-source.jsf-test.jar = src/
-output.jsf-test.jar = bin/
-src.includes = src/,\
- resources/,\
- META-INF/,\
- build.properties
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,11 @@
+bin.includes = META-INF/,\
+ resources/,\
+ jsf-test.jar,\
+ plugin.xml
+jars.compile.order = jsf-test.jar
+source.jsf-test.jar = src/
+output.jsf-test.jar = bin/
+src.includes = src/,\
+ resources/,\
+ META-INF/,\
+ build.properties
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.jboss.tools.jsf.vpe.ui.tests">
- <tests
- name="JSf Tests"
- testSuite="org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests">
- </tests>
- </extension>
-
-</plugin>
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.jsf.vpe.ui.tests">
+ <tests
+ name="JSf Tests"
+ testSuite="org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests">
+ </tests>
+ </extension>
+
+</plugin>
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/resources)
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src (from rev 6490, trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/src)
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test (from rev 6489, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test)
Deleted: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.classpath 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Deleted: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.vpe.jsp.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/.project 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.jsp.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF)
Deleted: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>©2007 Red Hat, Inc. All rights reserved</P>
-
-<H3>License</H3>
-
-<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from Red Hat Inc., the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor's license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
- <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
-
-</BODY>
-</HTML>
\ No newline at end of file
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Deleted: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,11 +0,0 @@
-bin.includes = META-INF/,\
- jsp-tests.jar,\
- plugin.xml,\
- resources/
-jars.compile.order = jsp-tests.jar
-source.jsp-tests.jar = src/
-output.jsp-tests.jar = bin/
-src.includes = META-INF/,\
- build.properties,\
- src/,\
- resources/
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/build.properties 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,11 @@
+bin.includes = META-INF/,\
+ jsp-tests.jar,\
+ plugin.xml,\
+ resources/
+jars.compile.order = jsp-tests.jar
+source.jsp-tests.jar = src/
+output.jsp-tests.jar = bin/
+src.includes = META-INF/,\
+ build.properties,\
+ src/,\
+ resources/
Deleted: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml 2008-02-21 10:56:39 UTC (rev 6489)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml 2008-02-21 11:39:16 UTC (rev 6491)
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.jboss.tools.jsf.vpe.ui.tests">
- <tests
- description="JSP Tests"
- name="JSP Tests"
- testSuite="org.jboss.tools.jsf.vpe.jsp.test.JSPAllTests">
- </tests>
- </extension>
-
-</plugin>
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/plugin.xml 2008-02-21 11:39:16 UTC (rev 6491)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.jsf.vpe.ui.tests">
+ <tests
+ description="JSP Tests"
+ name="JSP Tests"
+ testSuite="org.jboss.tools.jsf.vpe.jsp.test.JSPAllTests">
+ </tests>
+ </extension>
+
+</plugin>
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/resources (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/resources)
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsp.test/src (from rev 6490, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src)
18 years, 1 month
JBoss Tools SVN: r6489 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-21 05:56:39 -0500 (Thu, 21 Feb 2008)
New Revision: 6489
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
Log:
Jsf's test was renamed by mistake instead of JSP's test.
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project 2008-02-21 10:43:45 UTC (rev 6488)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/.project 2008-02-21 10:56:39 UTC (rev 6489)
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.jsf.vpe.jsp.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.jsp.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/MANIFEST.MF 2008-02-21 10:43:45 UTC (rev 6488)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/META-INF/MANIFEST.MF 2008-02-21 10:56:39 UTC (rev 6489)
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Test Plug-in
-Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsp.test;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.vpe.jsp.test;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.jsf.vpe.jsp.test.JSPTestPlugin
Require-Bundle: org.eclipse.ui,
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 10:43:45 UTC (rev 6488)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 10:56:39 UTC (rev 6489)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>org.jboss.tools.vpe.jsf.test</name>
+ <name>org.jboss.tools.jsf.vpe.jsf.test</name>
<comment></comment>
<projects>
</projects>
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2008-02-21 10:43:45 UTC (rev 6488)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2008-02-21 10:56:39 UTC (rev 6489)
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Jsf Test Plug-in
-Bundle-SymbolicName: org.jboss.tools.vpe.jsf.test;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin
Require-Bundle: org.eclipse.ui,
18 years, 1 month
JBoss Tools SVN: r6488 - in trunk: vpe/tests and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-21 05:43:45 -0500 (Thu, 21 Feb 2008)
New Revision: 6488
Added:
trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/
Modified:
trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/.project
trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
Log:
Replace tests from jsf folder to vpe.
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test (from rev 6487, trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test)
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project 2008-02-20 22:10:04 UTC (rev 6487)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/.project 2008-02-21 10:43:45 UTC (rev 6488)
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.jsf.vpe.html.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.html.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF 2008-02-20 22:10:04 UTC (rev 6487)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF 2008-02-21 10:43:45 UTC (rev 6488)
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Test Html Plug-in
-Bundle-SymbolicName: org.jboss.tools.jsf.vpe.html.test;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.vpe.html.test;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.jsf.vpe.html.test.HtmlTestPlugin
Require-Bundle: org.eclipse.ui,
Copied: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test (from rev 6487, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test)
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-20 22:10:04 UTC (rev 6487)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/.project 2008-02-21 10:43:45 UTC (rev 6488)
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.jboss.tools.jsf.vpe.jsf.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.jsf.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Modified: trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2008-02-20 22:10:04 UTC (rev 6487)
+++ trunk/vpe/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2008-02-21 10:43:45 UTC (rev 6488)
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Jsf Test Plug-in
-Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.vpe.jsf.test;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin
Require-Bundle: org.eclipse.ui,
18 years, 1 month
JBoss Tools SVN: r6487 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-02-20 17:10:04 -0500 (Wed, 20 Feb 2008)
New Revision: 6487
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
Log:
VPE visual part loading is changed to drive event queue while mozilla part is loading
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2008-02-20 17:53:44 UTC (rev 6486)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2008-02-20 22:10:04 UTC (rev 6487)
@@ -240,12 +240,11 @@
xulRunnerEditor.setURL(INIT_URL);
// Wait while visual part is loaded
- BusyIndicator.showWhile(Display.getCurrent(), new Runnable() {
+ Display.getCurrent().syncExec( new Runnable() {
public void run() {
- while(Display.getCurrent().readAndDispatch()
- && getController()==null) {
- // do nothing
+ while( Display.getCurrent().readAndDispatch() && getController()==null) {
}
+
}
});
xulRunnerEditor.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
18 years, 1 month
JBoss Tools SVN: r6486 - in trunk: vpe/features/org.jboss.tools.vpe.feature and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-20 12:53:44 -0500 (Wed, 20 Feb 2008)
New Revision: 6486
Added:
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/HtmlTemplatePlugin.java
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java
Removed:
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/jst/
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/jst/
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java
Modified:
trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
trunk/vpe/plugins/org.jboss.tools.vpe.html/.project
trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/.project
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF
Log:
The org.jboss.tools.jst.vpe.jsp and org.jboss.tools.jst.vpe.html plugins were replaced into vpe/plugins with names org.jboss.tools.vpe.jsp and org.jboss.tools.vpe.jsp according.
Modified: trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.richfaces.feature"
- label="RichFaces VPE Feature"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBossTools RichFaces feature
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.richfaces.feature"
+ label="RichFaces VPE Feature"
+ version="2.0.0"
+ provider-name="JBoss, a division of Red Hat">
+
+ <description url="http://www.jboss.org/tools">
+ JBossTools RichFaces feature
+ </description>
+
+ <copyright>
Copyright (c) 2007 Exadel, Inc and 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:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,264 +215,264 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <requires>
- <import feature="org.jboss.tools.xulrunner.feature" version="1.8.1.3-20070904"/>
- </requires>
-
- <plugin
- id="org.jboss.tools.common"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.gef"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.kb"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.model"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.model.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.projecttemplates"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.text.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.verification.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.text.ext.facelets"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.ajax4jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.facelets"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.richfaces"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.seam"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.tomahawk"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.jsp"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.server.jetty"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.server.jrun"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.server.resin"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.debug"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.debug.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.tiles"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.tiles.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.ui.palette"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.firstrun"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.xulrunner"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.hibernate.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.hibernate.xml.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.adf"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.myfaces"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.vpe.html"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.vpe.jsp"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+litigation.
+ </license>
+
+ <requires>
+ <import feature="org.jboss.tools.xulrunner.feature" version="1.8.1.3-20070904"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.gef"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.kb"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.projecttemplates"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.text.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.verification.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.ajax4jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.richfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.seam"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.tomahawk"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.server.jetty"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.server.jrun"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.server.resin"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.debug"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.debug.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui.palette"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.firstrun"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.xulrunner"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.hibernate.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.hibernate.xml.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.adf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.myfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.html"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,24 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.vpe_feature"
- label="Vpe_feature Feature"
- version="2.0.0">
-
- <description url="http://www.jboss.org/tools">
- JBossTools Visual Page Editor Feature
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.vpe_feature"
+ label="Vpe_feature Feature"
+ version="2.0.0">
+
+ <description url="http://www.jboss.org/tools">
+ JBossTools Visual Page Editor Feature
+ </description>
+
+ <copyright>
Copyright (c) 2007 Exadel, Inc and 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:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
@@ -104,45 +104,57 @@
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) !
and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.vpe"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla.gtk"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla.win32"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
- id="org.jboss.tools.vpe.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.ui.palette"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
+ </license>
+
+ <plugin
+ id="org.jboss.tools.vpe"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla.gtk"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla.win32"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui.palette"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.html"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/.project
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/.project 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/.project 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>org.jboss.tools.jst.vpe.html</name>
+ <name>org.jboss.tools.vpe.html</name>
<comment></comment>
<projects>
</projects>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,9 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
-Bundle-SymbolicName: org.jboss.tools.jst.vpe.html;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.vpe.html;singleton:=true
Bundle-Version: 2.1.0
-Bundle-Activator: org.jboss.tools.jst.vpe.html.HtmlTemplatePlugin
+Bundle-Activator: org.jboss.tools.vpe.html.HtmlTemplatePlugin
Bundle-Vendor: %providerName
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Copied: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/HtmlTemplatePlugin.java (from rev 6480, trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/jst/vpe/html/HtmlTemplatePlugin.java)
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/HtmlTemplatePlugin.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/HtmlTemplatePlugin.java 2008-02-20 17:53:44 UTC (rev 6486)
@@ -0,0 +1,50 @@
+package org.jboss.tools.vpe.html;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class HtmlTemplatePlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jst.vpe.html"; //$NON-NLS-1$
+
+ // The shared instance
+ private static HtmlTemplatePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public HtmlTemplatePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static HtmlTemplatePlugin getDefault() {
+ return plugin;
+ }
+
+}
Copied: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template (from rev 6480, trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/jst/vpe/html/template)
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java 2008-02-20 16:35:45 UTC (rev 6480)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,125 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and 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:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.vpe.html.template;
-
-import org.jboss.tools.vpe.editor.context.VpePageContext;
-import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
-import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.HTML;
-import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
-import org.mozilla.interfaces.nsIDOMDocument;
-import org.mozilla.interfaces.nsIDOMElement;
-import org.mozilla.interfaces.nsIDOMNamedNodeMap;
-import org.mozilla.interfaces.nsIDOMNode;
-import org.mozilla.xpcom.XPCOMException;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-
-/**
- *
- * @author ezheleznyakov(a)exadel.com
- *
- */
-public class HtmlBodyTemplate extends VpeAbstractTemplate {
-
- private nsIDOMElement bodyOld;
- private static String STYLE_FOR_DIV = ""; //$NON-NLS-1$
- private static String ID = "id"; //$NON-NLS-1$
-
- /**
- *
- */
- public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
- nsIDOMDocument visualDocument) {
-
- goToTree(visualDocument.getChildNodes().item(0));
-
- nsIDOMNamedNodeMap attrsMap = bodyOld.getAttributes();
- long len = attrsMap.getLength();
- int j = 0;
- for (int i = 0; i < len; i++) {
- nsIDOMNode attr = attrsMap.item(j);
- if (ID.equalsIgnoreCase(attr.getNodeName())) {
- j++;
- continue;
- }
- bodyOld.removeAttribute(attr.getNodeName());
- }
-
- for (int i = 0; i < sourceNode.getAttributes().getLength(); i++) {
- String name = sourceNode.getAttributes().item(i).getNodeName();
- if(ID.equalsIgnoreCase(name))
- continue;
- String value = sourceNode.getAttributes().item(i).getNodeValue();
- // all full path for 'url'
- if (VpeStyleUtil.ATTRIBUTE_STYLE.equalsIgnoreCase(name))
- value = VpeStyleUtil.addFullPathIntoURLValue(value, pageContext
- .getEditPart().getEditorInput());
- if (VpeStyleUtil.PARAMETR_BACKGROND.equalsIgnoreCase(name))
- value = VpeStyleUtil.addFullPathIntoBackgroundValue(value,
- pageContext.getEditPart().getEditorInput());
- //FIX FOR JBIDE-1568, added by Max Areshkau
- try{
- bodyOld.setAttribute(name, value);
- }catch(XPCOMException ex ) {
- //jsut ignore it
- }
-
- }
-
- nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
- div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
-
- return new VpeCreationData(div);
- }
-
- /**
- *
- * @param node
- */
- private void goToTree(nsIDOMNode node) {
-
- for (int i = 0; i < node.getChildNodes().getLength(); i++)
- if (HTML.TAG_BODY.equalsIgnoreCase(node.getChildNodes().item(i)
- .getNodeName()))
- bodyOld = (nsIDOMElement) node.getChildNodes().item(i)
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
- else
- goToTree(node.getChildNodes().item(i));
- }
-
- /**
- * Checks, whether it is necessary to re-create an element at change of
- * attribute
- *
- * @param pageContext
- * Contains the information on edited page.
- * @param sourceElement
- * The current element of the source tree.
- * @param visualDocument
- * The document of the visual tree.
- * @param visualNode
- * The current node of the visual tree.
- * @param data
- * The arbitrary data, built by a method <code>create</code>
- * @param name
- * Attribute name
- * @param value
- * Attribute value
- * @return <code>true</code> if it is required to re-create an element at
- * a modification of attribute, <code>false</code> otherwise.
- */
- public boolean isRecreateAtAttrChange(VpePageContext pageContext,
- Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMElement visualNode, Object data, String name, String value) {
- return true;
- }
-}
\ No newline at end of file
Copied: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java (from rev 6485, trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/jst/vpe/html/template/HtmlBodyTemplate.java)
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlBodyTemplate.java 2008-02-20 17:53:44 UTC (rev 6486)
@@ -0,0 +1,125 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and 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:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.html.template;
+
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.mozilla.interfaces.nsIDOMNamedNodeMap;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.xpcom.XPCOMException;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ *
+ * @author ezheleznyakov(a)exadel.com
+ *
+ */
+public class HtmlBodyTemplate extends VpeAbstractTemplate {
+
+ private nsIDOMElement bodyOld;
+ private static String STYLE_FOR_DIV = ""; //$NON-NLS-1$
+ private static String ID = "id"; //$NON-NLS-1$
+
+ /**
+ *
+ */
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ goToTree(visualDocument.getChildNodes().item(0));
+
+ nsIDOMNamedNodeMap attrsMap = bodyOld.getAttributes();
+ long len = attrsMap.getLength();
+ int j = 0;
+ for (int i = 0; i < len; i++) {
+ nsIDOMNode attr = attrsMap.item(j);
+ if (ID.equalsIgnoreCase(attr.getNodeName())) {
+ j++;
+ continue;
+ }
+ bodyOld.removeAttribute(attr.getNodeName());
+ }
+
+ for (int i = 0; i < sourceNode.getAttributes().getLength(); i++) {
+ String name = sourceNode.getAttributes().item(i).getNodeName();
+ if(ID.equalsIgnoreCase(name))
+ continue;
+ String value = sourceNode.getAttributes().item(i).getNodeValue();
+ // all full path for 'url'
+ if (VpeStyleUtil.ATTRIBUTE_STYLE.equalsIgnoreCase(name))
+ value = VpeStyleUtil.addFullPathIntoURLValue(value, pageContext
+ .getEditPart().getEditorInput());
+ if (VpeStyleUtil.PARAMETR_BACKGROND.equalsIgnoreCase(name))
+ value = VpeStyleUtil.addFullPathIntoBackgroundValue(value,
+ pageContext.getEditPart().getEditorInput());
+ //FIX FOR JBIDE-1568, added by Max Areshkau
+ try{
+ bodyOld.setAttribute(name, value);
+ }catch(XPCOMException ex ) {
+ //jsut ignore it
+ }
+
+ }
+
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
+
+ return new VpeCreationData(div);
+ }
+
+ /**
+ *
+ * @param node
+ */
+ private void goToTree(nsIDOMNode node) {
+
+ for (int i = 0; i < node.getChildNodes().getLength(); i++)
+ if (HTML.TAG_BODY.equalsIgnoreCase(node.getChildNodes().item(i)
+ .getNodeName()))
+ bodyOld = (nsIDOMElement) node.getChildNodes().item(i)
+ .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+ else
+ goToTree(node.getChildNodes().item(i));
+ }
+
+ /**
+ * Checks, whether it is necessary to re-create an element at change of
+ * attribute
+ *
+ * @param pageContext
+ * Contains the information on edited page.
+ * @param sourceElement
+ * The current element of the source tree.
+ * @param visualDocument
+ * The document of the visual tree.
+ * @param visualNode
+ * The current node of the visual tree.
+ * @param data
+ * The arbitrary data, built by a method <code>create</code>
+ * @param name
+ * Attribute name
+ * @param value
+ * Attribute value
+ * @return <code>true</code> if it is required to re-create an element at
+ * a modification of attribute, <code>false</code> otherwise.
+ */
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+}
\ No newline at end of file
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/templates/vpe-templates-html.xml 2008-02-20 17:53:44 UTC (rev 6486)
@@ -354,7 +354,7 @@
<vpe:tag name="body" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jst.vpe.html.template.HtmlBodyTemplate">
+ class="org.jboss.tools.vpe.html.template.HtmlBodyTemplate">
<vpe:resize>
<vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/.project
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/.project 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/.project 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>org.jboss.tools.jst.vpe.jsp</name>
+ <name>org.jboss.tools.vpe.jsp</name>
<comment></comment>
<projects>
</projects>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF 2008-02-20 17:32:54 UTC (rev 6485)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,9 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
-Bundle-SymbolicName: org.jboss.tools.jst.vpe.jsp;singleton:=true
+Bundle-SymbolicName: org.jboss.tools.vpe.jsp;singleton:=true
Bundle-Version: 2.1.0
-Bundle-Activator: org.jboss.tools.jst.vpe.jsp.JspTemplatePluign
+Bundle-Activator: org.jboss.tools.vpe.jsp.JspTemplatePluign
Bundle-Vendor: %providerName
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
Copied: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp (from rev 6480, trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp)
Deleted: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java 2008-02-20 16:35:45 UTC (rev 6480)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java 2008-02-20 17:53:44 UTC (rev 6486)
@@ -1,50 +0,0 @@
-package org.jboss.tools.jst.vpe.jsp;
-
-import org.jboss.tools.common.log.BaseUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class JspTemplatePluign extends BaseUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.jst.vpe.jsp"; //$NON-NLS-1$
-
- // The shared instance
- private static JspTemplatePluign plugin;
-
- /**
- * The constructor
- */
- public JspTemplatePluign() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static JspTemplatePluign getDefault() {
- return plugin;
- }
-
-}
Copied: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java (from rev 6485, trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java)
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/src/org/jboss/tools/vpe/jsp/JspTemplatePluign.java 2008-02-20 17:53:44 UTC (rev 6486)
@@ -0,0 +1,50 @@
+package org.jboss.tools.vpe.jsp;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class JspTemplatePluign extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.jst.vpe.jsp"; //$NON-NLS-1$
+
+ // The shared instance
+ private static JspTemplatePluign plugin;
+
+ /**
+ * The constructor
+ */
+ public JspTemplatePluign() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static JspTemplatePluign getDefault() {
+ return plugin;
+ }
+
+}
18 years, 1 month
JBoss Tools SVN: r6485 - trunk/common/plugins/org.jboss.tools.common.model/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-02-20 12:32:54 -0500 (Wed, 20 Feb 2008)
New Revision: 6485
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1789 Fixed
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2008-02-20 17:31:38 UTC (rev 6484)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2008-02-20 17:32:54 UTC (rev 6485)
@@ -2519,7 +2519,7 @@
</GroupHTML>
<GroupHTML model-entity="SharableGroupHTML" HIDDEN="no"
ICON="" NAME="Facelets" PREFIX="ui" SCOPE="project"
- URI="http://java.sun.com/jsf/facelets" add_taglib="false"
+ URI="http://java.sun.com/jsf/facelets" add_taglib="true"
library-version="">
<MacroHTML
DESCRIPTION="The debug tag will capture the component tree and variables when it is encoded, storing the data for retrieval later. You may launch the debug window at any time from your browser by pressing 'CTRL' + 'SHIFT' + 'D' (by default). The debug tag doesn't need to be used with the facelet.DEVELOPMENT parameter. The best place to put this tag is in your site's main template where it can be enabled/disabled across your whole application. If your application uses multiple windows, you might want to assign different hot keys to each one.<br><b>Syntax:</b><br><code>&lt;ui:debug&gt;</code><br><code>&lt;/ui:debug&gt;</code><br><b>Attributes:</b><br><code>hotkey, rendered</code>"
18 years, 1 month
JBoss Tools SVN: r6484 - in trunk/jst/tests/org.jboss.tools.jst.jsp.test: src/org/jboss/tools/jst/jsp/test/ca and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-02-20 12:31:38 -0500 (Wed, 20 Feb 2008)
New Revision: 6484
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml
trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1759Test.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1799 CA: There is no CA for <h:outputText value="|"/> on XHTML pages.
JUnit test case is made to be used with xhtml file
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml 2008-02-20 17:20:52 UTC (rev 6483)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/WebContent/pages/greeting.xhtml 2008-02-20 17:31:38 UTC (rev 6484)
@@ -9,6 +9,7 @@
<ui:define name="pageTitle">Greeting to User</ui:define>
<ui:define name="pageHeader">Facelets Greeting Page</ui:define>
<ui:define name="body">
+ <h:outputText value="#{msg.greeting}" />
#{msg.greeting} #{person.name}!
</ui:define>
</ui:composition>
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1759Test.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1759Test.java 2008-02-20 17:20:52 UTC (rev 6483)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1759Test.java 2008-02-20 17:31:38 UTC (rev 6484)
@@ -32,7 +32,8 @@
IProject project = null;
boolean makeCopy = false;
private static final String PROJECT_NAME = "JsfJbide1704Test";
- private static final String PAGE_NAME = "/WebContent/pages/greeting.jsp";
+ private static final String PAGE_NAME = "/WebContent/pages/greeting";
+ private static final String[] PAGE_EXTS = {".jsp", ".xhtml"};
private static final String INSERT_BEFORE_STRING = "<h:outputText";
private static final String INSERTION_BEGIN_STRING = "<h:outputText value=\"";
private static final String INSERTION_END_STRING = "\" />";
@@ -69,11 +70,18 @@
}
assertTrue("Test project \"" + PROJECT_NAME + "\" is not loaded", (project != null));
- IFile jspFile = project.getFile(PAGE_NAME);
+ for (int i = 0; i < PAGE_EXTS.length; i++) {
+ testJstJspJbide1641(PAGE_NAME + PAGE_EXTS[i]);
+ }
+ }
+
+ private void testJstJspJbide1641(String pageName) {
- assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile != null));
- assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile.exists()));
+ IFile jspFile = project.getFile(pageName);
+ assertTrue("The file \"" + pageName + "\" is not found", (jspFile != null));
+ assertTrue("The file \"" + pageName + "\" is not found", (jspFile.exists()));
+
FileEditorInput editorInput = new FileEditorInput(jspFile);
Throwable exception = null;
IEditorPart editorPart = null;
@@ -106,13 +114,13 @@
SourceViewerConfiguration config = TestUtil.getSourceViewerConfiguration(jspTextEditor);
IContentAssistant contentAssistant = (config == null ? null : config.getContentAssistant(viewer));
- assertTrue("Cannot get the Content Assistant instance for the editor for page \"" + PAGE_NAME + "\"", (contentAssistant != null));
+ assertTrue("Cannot get the Content Assistant instance for the editor for page \"" + pageName + "\"", (contentAssistant != null));
// Find start of <h:outputText> tag
String documentContent = document.get();
int start = (documentContent == null ? -1 : documentContent.indexOf(INSERT_BEFORE_STRING));
- assertTrue("Cannot find the starting point in the test file \"" + PAGE_NAME + "\"", (start != -1));
+ assertTrue("Cannot find the starting point in the test file \"" + pageName + "\"", (start != -1));
// First of all perform the test on a region placed in one space behind empty-valued attribute -
// this is to return normal list of attribute names proposal list
18 years, 1 month
JBoss Tools SVN: r6483 - trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-02-20 12:20:52 -0500 (Wed, 20 Feb 2008)
New Revision: 6483
Modified:
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
Log:
JBIDE-1670 Tests added
Modified: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java
===================================================================
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2008-02-20 17:09:47 UTC (rev 6482)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test/ESBModelTest.java 2008-02-20 17:20:52 UTC (rev 6483)
@@ -88,6 +88,90 @@
assertTrue(errorList.toString(), errorList.length() == 0);
}
+ public void testFTPExample() {
+ IFile f = project.getFile(new Path("esb-1.0.1/jboss-esb-ftp.xml"));
+ assertTrue("Cannot find jboss-esb-ftp.xml", f != null);
+ XModelObject object = EclipseResourceUtil.createObjectForResource(f);
+ assertTrue("Cannot create model for jboss-esb-ftp.xml", object != null);
+ assertTrue("Wrong entity for jboss-esb-ftp.xml", ESBConstants.ENT_ESB_FILE_101.equals(object.getModelEntity().getName()));
+
+ StringBuffer errorList = new StringBuffer();
+ checkAttributeValue(object,
+ "Providers/FTPprovider",
+ "hostname",
+ "@FTP_HOSTNAME@",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "username",
+ "@FTP_USERNAME@",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "password",
+ "@FTP_PASSWORD@",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "read only",
+ "true",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "passive",
+ "false",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "directory",
+ "@FTP_DIRECTORY@",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "input suffix",
+ ".dat",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "work suffix",
+ ".esbWorking",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "post delete",
+ "false",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "post suffix",
+ ".COMPLETE",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "error delete",
+ "false",
+ errorList);
+ checkAttributeValue(object,
+ "Providers/FTPprovider/helloFTPChannel/Filter",
+ "error suffix",
+ ".HAS_ERROR",
+ errorList);
+
+ checkAttributeValue(object,
+ "Services/myFileListener/Listeners/FtpGateway",
+ "bus id ref",
+ "helloFTPChannel",
+ errorList);
+ checkAttributeValue(object,
+ "Services/myFileListener/Listeners/FtpGateway/remoteFileSystemStrategy-configFile",
+ "value",
+ "/ftpfile-cache-config.xml",
+ errorList);
+
+
+ assertTrue(errorList.toString(), errorList.length() == 0);
+ }
+
protected boolean checkAttributeValue(XModelObject object, String path, String attribute, String testValue, StringBuffer errorList) {
XModelObject child = object.getChildByPath(path);
if(child == null) {
18 years, 1 month