JBoss Tools SVN: r11983 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-11-24 10:45:25 -0500 (Mon, 24 Nov 2008)
New Revision: 11983
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/XJob.java
Log:
JBIDE-3251
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/XJob.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/XJob.java 2008-11-24 15:36:39 UTC (rev 11982)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/XJob.java 2008-11-24 15:45:25 UTC (rev 11983)
@@ -44,8 +44,12 @@
public static void addRunnableWithPriority(XRunnable runnable) {
JOB.addRunnableInternalWithPriority(runnable);
}
-
+
public static void waitForJob() throws InterruptedException {
+ waitForJob(false);
+ }
+
+ public static void waitForJob(boolean immediateOnly) throws InterruptedException {
Object[] o = {
XJob.FAMILY_XJOB, ResourcesPlugin.FAMILY_AUTO_REFRESH, ResourcesPlugin.FAMILY_AUTO_BUILD
};
@@ -58,7 +62,7 @@
stop = false;
}
}
- if(stop) {
+ if(stop && !immediateOnly) {
Job running = getJobRunning(10);
if(running != null) {
running.join();
17 years, 4 months
JBoss Tools SVN: r11982 - in trunk/vpe/tests/org.jboss.tools.vpe.html.test: src/org/jboss/tools/vpe/html/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-24 10:36:39 -0500 (Mon, 24 Nov 2008)
New Revision: 11982
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html.xml
Removed:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2854
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,18 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>dd</h1>
+
+<dl>
+ <dt>some term 1</dt>
+ <dd id="dd" class="ddClass" style="color:red;" dir="ltr" >some definition 1</dd>
+
+ <dt>some term 2</dt>
+ <dd>some definition 2</dd>
+
+</dl>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dd.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="dd">
+ <DD ID="dd" CLASS="ddClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+some definition 1
+</SPAN>
+</DD>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -5,8 +5,8 @@
<h1>div</h1>
-<div style="background: grey; color: white" title="title">some
-text</div>
+<div id="div" class="divClass" style="background: grey; color: white"
+ title="title" align="left" dir="ltr">some text</div>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/div.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="div">
+ <DIV ALIGN="left" ID="div" CLASS="divClass" STYLE="background: grey none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: white; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+some text
+</SPAN>
+</DIV>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -3,9 +3,9 @@
<body>
-<h1>dl,dt,dd</h1>
+<h1>dl</h1>
-<dl>
+<dl id="dl" class="dlClass" compact="compact" dir="ltr" style="color:red;">
<dt>some term 1</dt>
<dd>some definition 1</dd>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dl.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,27 @@
+<tests>
+ <test id="dl">
+ <DL ID="dl" CLASS="dlClass" DIR="ltr"
+ STYLE="color: red; -moz-user-modify: read-only;">
+ <DT STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ some term 1
+</SPAN>
+ </DT>
+ <DD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ some definition 1
+</SPAN>
+ </DD>
+ <DT STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ some term 2
+</SPAN>
+ </DT>
+ <DD STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ some definition 2
+</SPAN>
+ </DD>
+ </DL>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,18 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>dt</h1>
+
+<dl>
+ <dt id="dt" class="dtClass" dir="ltr" style="color:red;">some term 1</dt>
+ <dd>some definition 1</dd>
+
+ <dt>some term 2</dt>
+ <dd>some definition 2</dd>
+
+</dl>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/dt.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="dt">
+
+<DT ID="dt" CLASS="dtClass" DIR="ltr" STYLE="color: red; -moz-user-modify: read-write;">
+<SPAN>
+some term 1
+</SPAN>
+</DT>
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,21 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>ol</h1>
+
+<ul>
+ <li id="li" class="liClass" dir="ltr" value="2" type="square" style="color:red;">text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ul>
+
+<ol>
+ <li value="2">text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ol>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/li.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="li">
+
+<LI TYPE="square" ID="li" CLASS="liClass" DIR="ltr" VALUE="2" STYLE="color: red; -moz-user-modify: read-write;">
+<SPAN>
+text 1
+</SPAN>
+</LI>
+ </test>
+</tests>
\ No newline at end of file
Deleted: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -1,21 +0,0 @@
-<html>
-<head></head>
-
-<body>
-
-<h1>ul,ol,li</h1>
-
-<ul>
- <li>text 1</li>
- <li>text 2</li>
- <li>text 3</li>
-</ul>
-
-<ol>
- <li>text 1</li>
- <li>text 2</li>
- <li>text 3</li>
-</ol>
-
-</body>
-</html>
\ No newline at end of file
Copied: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html (from rev 11967, trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/lists.html)
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,16 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>ol</h1>
+
+<ol id="ol" class="olClass" compact="compact" dir="ltr"
+ style="color: red" type="I" start="2">
+ <li>text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ol>
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ol.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,24 @@
+<tests>
+ <test id="ol">
+
+ <OL TYPE="I" ID="ol" CLASS="olClass" DIR="ltr"
+ STYLE="color: red; -moz-user-modify: read-only;" START="2">
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 1
+</SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 2
+</SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 3
+</SPAN>
+ </LI>
+ </OL>
+
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -5,7 +5,8 @@
<h1>span</h1>
-<span style="color: red">S</span>ome text
+<span style="color: red;" class="spanClass" dir="ltr" id="span">S</span>
+ome text
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/span.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,12 @@
+<tests>
+ <test id="span">
+
+ <SPAN STYLE="color: red; -moz-user-modify: read-write;" CLASS="spanClass"
+ DIR="ltr" ID="span">
+ <SPAN>
+ S
+</SPAN>
+ </SPAN>
+
+ </test>
+</tests>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,17 @@
+<html>
+<head></head>
+
+<body>
+
+<h1>ol</h1>
+
+<ul class="ulClass" compact="compact" dir="ltr" id="ul"
+ style="color: red;" type="disc">
+ <li>text 1</li>
+ <li>text 2</li>
+ <li>text 3</li>
+</ul>
+
+
+</body>
+</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/block/ul.html.xml 2008-11-24 15:36:39 UTC (rev 11982)
@@ -0,0 +1,23 @@
+<tests>
+ <test id="ul">
+ <UL TYPE="disc" CLASS="ulClass" DIR="ltr" ID="ul"
+ STYLE="color: red; -moz-user-modify: read-write;">
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 1
+</SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 2
+</SPAN>
+ </LI>
+ <LI STYLE="-moz-user-modify: read-write;">
+ <SPAN>
+ text 3
+</SPAN>
+ </LI>
+ </UL>
+
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-24 15:36:39 UTC (rev 11982)
@@ -26,6 +26,43 @@
}
/*
+ *
+ * test for block html tags
+ */
+
+ public void testDd() throws Throwable {
+ performContentTest("components/block/dd.html"); //$NON-NLS-1$
+ }
+
+ public void testDiv() throws Throwable {
+ performContentTest("components/block/div.html"); //$NON-NLS-1$
+ }
+
+ public void testDl() throws Throwable {
+ performContentTest("components/block/dl.html"); //$NON-NLS-1$
+ }
+
+ public void testDt() throws Throwable {
+ performContentTest("components/block/dt.html"); //$NON-NLS-1$
+ }
+
+ public void testLi() throws Throwable {
+ performContentTest("components/block/li.html"); //$NON-NLS-1$
+ }
+
+ public void testOl() throws Throwable {
+ performContentTest("components/block/ol.html"); //$NON-NLS-1$
+ }
+
+ public void testSpan() throws Throwable {
+ performContentTest("components/block/span.html"); //$NON-NLS-1$
+ }
+
+ public void testUl() throws Throwable {
+ performContentTest("components/block/ul.html"); //$NON-NLS-1$
+ }
+
+ /*
* test for text html tags
*/
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-24 15:21:11 UTC (rev 11981)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-24 15:36:39 UTC (rev 11982)
@@ -45,7 +45,7 @@
public void testLists() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/block/lists.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/block/li.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSpan() throws Throwable {
17 years, 4 months
JBoss Tools SVN: r11981 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor: template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-11-24 10:21:11 -0500 (Mon, 24 Nov 2008)
New Revision: 11981
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionController.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java
Log:
JBIDE-3209, some workaround was applied to moving cursor
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionController.java 2008-11-24 15:12:23 UTC (rev 11980)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/selection/VpeSelectionController.java 2008-11-24 15:21:11 UTC (rev 11981)
@@ -55,6 +55,17 @@
getSelectionController().setSelectionFlags(selectionFlags);
}
+ /**
+ * @see nsISelectionController.lineMove()
+ * @param forward
+ * @param extend
+ */
+ public void lineMove(boolean forward, boolean extend) {
+ //mareshkau, hack for JBIDE-3209
+ selectionController.characterMove(true, false);
+ selectionController.characterMove(false, false);
+ selectionController.lineMove(forward, extend);
+ }
/**
* @return the selectionController
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java 2008-11-24 15:12:23 UTC (rev 11980)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/KeyEventManager.java 2008-11-24 15:21:11 UTC (rev 11981)
@@ -27,6 +27,7 @@
import org.jboss.tools.vpe.editor.util.TextUtil;
import org.mozilla.interfaces.nsIDOMKeyEvent;
import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.interfaces.nsISelectionController;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -53,6 +54,17 @@
* page context
*/
private VpePageContext pageContext;
+
+
+ private VpeSelectionController selectionController;
+ /**
+ *
+ *
+ * @param sourceEditor
+ * @param domMapping
+ * @param pageContext
+ * @param selectionController
+ */
public KeyEventManager(StructuredTextEditor sourceEditor,
VpeDomMapping domMapping, VpePageContext pageContext,
@@ -60,6 +72,7 @@
this.sourceEditor = sourceEditor;
this.domMapping = domMapping;
this.pageContext = pageContext;
+ this.selectionController = selectionController;
}
final public boolean handleKeyPress(nsIDOMKeyEvent keyEvent) {
@@ -320,6 +333,9 @@
* @return whether handled event
*/
protected boolean handleDown(nsIDOMKeyEvent keyEvent) {
+ selectionController.lineMove(true, false);
+ keyEvent.stopPropagation();
+ keyEvent.preventDefault();
return false;
}
@@ -346,6 +362,9 @@
* @return whether handled event
*/
protected boolean handleUp(nsIDOMKeyEvent keyEvent) {
+ selectionController.lineMove(false, false);
+ keyEvent.stopPropagation();
+ keyEvent.preventDefault();
return false;
}
17 years, 4 months
JBoss Tools SVN: r11980 - trunk/examples/plugins/org.jboss.tools.project.examples.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-11-24 10:12:23 -0500 (Mon, 24 Nov 2008)
New Revision: 11980
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/plugin.properties
Log:
add ... to Help menu entry
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/plugin.properties
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/plugin.properties 2008-11-24 14:37:45 UTC (rev 11979)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/plugin.properties 2008-11-24 15:12:23 UTC (rev 11980)
@@ -3,5 +3,5 @@
BundleName = Project Examples
JBoss_Tools_category = JBoss Tools
Project_Examples_wizard = Project Examples
-Project_Examples_command =Project Examples
+Project_Examples_command =Project Examples...
ProjectExamples=Project Examples file
\ No newline at end of file
17 years, 4 months
JBoss Tools SVN: r11979 - trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-11-24 09:37:45 -0500 (Mon, 24 Nov 2008)
New Revision: 11979
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
Log:
JBIDE-3172 Seam EL Hyper Links don't not recognize "var" attributes in JSF tags
Java Element field initialization is added to the FieldInfo and MethodInfo
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2008-11-24 14:28:10 UTC (rev 11978)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2008-11-24 14:37:45 UTC (rev 11979)
@@ -491,7 +491,7 @@
dataModel,
new Type(field.getTypeSignature(),
field.getDeclaringType()));
-
+ fJavaElement = field;
setParametersNamesOfDeclaringType(getTypeErasureFromSignatureArray(field.getDeclaringType().getTypeParameterSignatures()));
}
@@ -539,7 +539,7 @@
dataModel,
new Type(method.getReturnType(),
method.getDeclaringType()));
-
+ fJavaElement = method;
setParameterNames(method.getParameterNames());
setParameterTypeNames(resolveSignatures(method.getDeclaringType(), method.getParameterTypes()));
setParametersNamesOfDeclaringType(getTypeErasureFromSignatureArray(method.getDeclaringType().getTypeParameterSignatures()));
17 years, 4 months
JBoss Tools SVN: r11978 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console: src/org/hibernate/eclipse/console and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-11-24 09:28:10 -0500 (Mon, 24 Nov 2008)
New Revision: 11978
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameChange.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameParticipant.java
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3179
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-24 13:58:02 UTC (rev 11977)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-24 14:28:10 UTC (rev 11978)
@@ -669,6 +669,19 @@
</with>
</enablement>
</renameParticipant>
+ <renameParticipant
+ class="org.hibernate.eclipse.launch.core.refactoring.ConnectionProfileRenameParticipant"
+ id="org.hibernate.eclipse.console.renameConnectionProfileParticipant"
+ name="name">
+ <enablement>
+ <with
+ variable="element">
+ <instanceof
+ value="org.eclipse.datatools.connectivity.IConnectionProfile">
+ </instanceof>
+ </with>
+ </enablement>
+ </renameParticipant>
</extension>
<extension
point="org.eclipse.ltk.core.refactoring.moveParticipants">
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2008-11-24 13:58:02 UTC (rev 11977)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2008-11-24 14:28:10 UTC (rev 11978)
@@ -516,6 +516,9 @@
public static String HibernateNature_reading_database_metadata_for;
public static String BasicWorkbenchAdapter_error_while_opening_configuration;
+
+ public static String ConnectionProfileRenameChange_update_connection_profile_name;
+ public static String ConnectionProfileRenameParticipant_launch_configurations_updates;
//
static {
// initialize resource bundle
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2008-11-24 13:58:02 UTC (rev 11977)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2008-11-24 14:28:10 UTC (rev 11978)
@@ -507,3 +507,6 @@
HibernateNature_exception_when_trying_to_locate_hibernate_nature=Exception when trying to locate Hibernate Nature
HibernateNature_reading_database_metadata=Reading database metadata
HibernateNature_reading_database_metadata_for=Reading database metadata for
+
+ConnectionProfileRenameChange_update_connection_profile_name=Update connection profile name in launch configuration
+ConnectionProfileRenameParticipant_launch_configurations_updates=Launch Configurations updates
\ No newline at end of file
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameChange.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameChange.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameChange.java 2008-11-24 14:28:10 UTC (rev 11978)
@@ -0,0 +1,103 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.eclipse.launch.core.refactoring;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.datatools.connectivity.IConnectionProfile;
+import org.eclipse.datatools.connectivity.internal.ui.refactoring.ConnectionProfileChange;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.ltk.core.refactoring.participants.RenameArguments;
+import org.hibernate.eclipse.console.HibernateConsoleMessages;
+import org.hibernate.eclipse.launch.IConsoleConfigurationLaunchConstants;
+
+/**
+ * @author Dmitry Geraskov
+ *
+ */
+public class ConnectionProfileRenameChange extends ConnectionProfileChange {
+
+
+ private ILaunchConfiguration fLaunchConfiguration;
+
+ private RenameArguments fRenameArguments;
+
+ /**
+ * @param source
+ * @param renameArguments
+ */
+ public ConnectionProfileRenameChange(ILaunchConfiguration config, IConnectionProfile source, RenameArguments renameArguments) {
+ super(source, null);
+ this.fLaunchConfiguration = config;
+ this.fRenameArguments = renameArguments;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ltk.core.refactoring.Change#getName()
+ */
+ @Override
+ public String getName() {
+ return HibernateConsoleMessages.ConnectionProfileRenameChange_update_connection_profile_name;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ltk.core.refactoring.Change#initializeValidationData(org.eclipse.core.runtime.IProgressMonitor)
+ */
+ @Override
+ public void initializeValidationData(IProgressMonitor pm) {
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ltk.core.refactoring.Change#isValid(org.eclipse.core.runtime.IProgressMonitor)
+ */
+ @Override
+ public RefactoringStatus isValid(IProgressMonitor pm) throws CoreException, OperationCanceledException {
+ return new RefactoringStatus();
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ltk.core.refactoring.Change#perform(org.eclipse.core.runtime.IProgressMonitor)
+ */
+ @Override
+ public Change perform(IProgressMonitor pm) throws CoreException {
+ if (fLaunchConfiguration.exists()){
+ IWorkspace workspace = ResourcesPlugin.getWorkspace();
+ IWorkspaceRoot root = workspace.getRoot();
+ IPath rootLoacation = root.getLocation();
+ IPath location = fLaunchConfiguration.getLocation();
+
+ IFile[] files = root.findFilesForLocation(rootLoacation.append(location));
+ if (files.length > 0){
+ fLaunchConfiguration = DebugPlugin.getDefault().getLaunchManager().getLaunchConfiguration(files[0]);
+ }
+
+ final ILaunchConfigurationWorkingCopy wc = fLaunchConfiguration.getWorkingCopy();
+ String oldName = wc.getAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME, "");
+ wc.setAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME, fRenameArguments.getNewName());
+ ILaunchConfiguration newConfig = wc.isDirty() ? wc.doSave() : fLaunchConfiguration;
+ RenameArguments args = new RenameArguments(oldName, true);
+ return new ConnectionProfileRenameChange(newConfig, mSource, args);
+ }
+
+ return null;
+ }
+
+}
Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameChange.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameParticipant.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameParticipant.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameParticipant.java 2008-11-24 14:28:10 UTC (rev 11978)
@@ -0,0 +1,52 @@
+package org.hibernate.eclipse.launch.core.refactoring;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.datatools.connectivity.IConnectionProfile;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
+import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
+import org.hibernate.eclipse.console.HibernateConsoleMessages;
+
+public class ConnectionProfileRenameParticipant extends RenameParticipant {
+
+ IConnectionProfile profile;
+
+ @Override
+ public RefactoringStatus checkConditions(IProgressMonitor pm, CheckConditionsContext context)
+ throws OperationCanceledException {
+ return new RefactoringStatus();
+ }
+
+ @Override
+ public Change createChange(IProgressMonitor pm) throws CoreException, OperationCanceledException {
+ ILaunchConfiguration[] configs = HibernateRefactoringUtil.getAffectedLaunchConfigurations(profile);
+
+ List<Change> changes = new ArrayList<Change>();
+ Change change = null;
+ for (int i= 0; i < configs.length; i++) {
+ change = new ConnectionProfileRenameChange(configs[i], profile, getArguments());
+ changes.add(change);
+ }
+
+ return HibernateRefactoringUtil.createChangesFromList(changes, getName());
+ }
+
+ @Override
+ public String getName() {
+ return HibernateConsoleMessages.ConnectionProfileRenameParticipant_launch_configurations_updates;
+ }
+
+ @Override
+ protected boolean initialize(Object element) {
+ profile = (IConnectionProfile) element;
+ return true;
+ }
+
+}
Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/ConnectionProfileRenameParticipant.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2008-11-24 13:58:02 UTC (rev 11977)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2008-11-24 14:28:10 UTC (rev 11978)
@@ -33,10 +33,10 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
+import org.eclipse.datatools.connectivity.IConnectionProfile;
import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.jdt.internal.launching.LaunchingPlugin;
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
import org.eclipse.jdt.launching.JavaRuntime;
@@ -321,7 +321,7 @@
try {
configs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations();
List<ILaunchConfiguration> list = new ArrayList<ILaunchConfiguration>();
- for(int i = 0; i < configs.length; i++) {//refactor only hibernate launch configurations
+ for(int i = 0; i < configs.length && configs[i].exists(); i++) {//refactor only hibernate launch configurations
if (!ICodeGenerationLaunchConstants.CONSOLE_CONFIGURATION_LAUNCH_TYPE_ID.equals(configs[i].getType().getIdentifier())) continue;
if (HibernateRefactoringUtil.isConfigurationAffected(configs[i], path)) list.add(configs[i]);
}
@@ -334,7 +334,27 @@
return configs;
}
+
+ public static ILaunchConfiguration[] getAffectedLaunchConfigurations(IConnectionProfile profile){
+ ILaunchConfiguration[] configs = null;
+ try {
+ configs = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurations();
+ List<ILaunchConfiguration> list = new ArrayList<ILaunchConfiguration>();
+ for(int i = 0; i < configs.length && configs[i].exists(); i++) {//refactor only hibernate launch configurations
+ if (!ICodeGenerationLaunchConstants.CONSOLE_CONFIGURATION_LAUNCH_TYPE_ID.equals(configs[i].getType().getIdentifier())) continue;
+ if (profile.getName().equals(configs[i].getAttribute(IConsoleConfigurationLaunchConstants.CONNECTION_PROFILE_NAME, "")))
+ list.add(configs[i]);
+ }
+ configs = list.toArray(new ILaunchConfiguration[list.size()]);
+ }
+ catch(CoreException e) {
+ configs = new ILaunchConfiguration[0];
+ HibernateConsolePlugin.getDefault().logErrorMessage( ERROR_MESS, e );
+ }
+ return configs;
+ }
+
/**
* @param changes - List of Change objects
* @return
17 years, 4 months
JBoss Tools SVN: r11977 - in trunk/vpe/tests/org.jboss.tools.vpe.html.test: src/org/jboss/tools/vpe/html/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-24 08:58:02 -0500 (Mon, 24 Nov 2008)
New Revision: 11977
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html.xml
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2854
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>abbr</h1>
-<abbr title="defenition">abbreviation</abbr>
+<abbr id="abbr" class="abbrClass" style="color:red;" dir="ltr">abbreviation</abbr>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,9 @@
<tests>
<test id="abbr">
- <ABBR ID="color:red" CLASS="abbrClass" STYLE="color: red;">
- <SPAN>
- abbreviation
- </SPAN>
- </ABBR>
+ <ABBR ID="abbr" CLASS="abbrClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+abbreviation
+</SPAN>
+</ABBR>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>acronym</h1>
-<acronym title="acronym">acronym</acronym>
+<acronym id="acronym" class="acronymClass" style="color: red;" dir="ltr">acronym</acronym>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,7 +1,10 @@
<tests>
<test id="acronym">
- <SPAN>
- acronym
- </SPAN>
+ <ACRONYM ID="acronym" CLASS="acronymClass"
+ STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+ <SPAN>
+ acronym
+</SPAN>
+ </ACRONYM>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>b</h1>
-<b>some bold text</b>
+<b id="b" class="bClass" style="color:red;" dir="ltr" >some bold text</b>
some general text
</body>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,9 @@
<tests>
<test id="b">
- <B STYLE="color: red;" ID="b" CLASS="bClass">
- <SPAN>
- some bold text
- </SPAN>
- </B>
+ <B ID="b" CLASS="bClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+some bold text
+</SPAN>
+</B>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>big</h1>
-<big><big> big text</big> big text</big>
+<big><big id="big" class="bigClass" style="color: red;" dir="ltr">
+big text</big> big text</big>
normal text
</body>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,10 +1,10 @@
<tests>
- <test id="b">
- <BIG STYLE="color: red;" ID="big" CLASS="bigClass">
+ <test id="big">
+ <BIG ID="big" CLASS="bigClass" STYLE="color: red; -moz-user-modify: read-write;"
+ DIR="ltr">
<SPAN>
- big
- text
+ big text
</SPAN>
</BIG>
</test>
-</tests>
\ No newline at end of file
+</tests>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>blockquote</h1>
-<blockquote>Some Text</blockquote>
+<blockquote id="blockquote" class="blockquoteClass" style="color: red;"
+ dir="ltr">Some Text</blockquote>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,9 @@
<tests>
<test id="blockquote">
- <BLOCKQUOTE ID="blockquote" STYLE="color: red;" CLASS="blockquoteClass">
- <SPAN>
- Some Text
- </SPAN>
- </BLOCKQUOTE>
+ <BLOCKQUOTE ID="blockquote" CLASS="blockquoteClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some Text
+</SPAN>
+</BLOCKQUOTE>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>br</h1>
-text 1 <br> text 2
+text 1 <br id="br" class="brClass" style="color:red;" clear="none"> text 2
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,5 +1,5 @@
<tests>
<test id="br">
- <BR STYLE="color: red;" ID="br" CLASS="brClass" />
+ <BR CLEAR="none" ID="br" CLASS="brClass" STYLE="color: red; -moz-user-modify: read-write;"/>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>cite</h1>
-<cite>some text</cite>
+<cite id="cite" class="citeClass" style="color: red;" dir="ltr">some
+text</cite>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,10 @@
<tests>
<test id="cite">
- <CITE STYLE="color: red;" ID="cite" CLASS="citeClass">
- <SPAN>
- some text
- </SPAN>
- </CITE>
+ <CITE ID="cite" CLASS="citeClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+some
+text
+</SPAN>
+</CITE>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>code</h1>
-<code id="" class="codeClass" style="color:red">
+<code id="code" class="codeClass" style="color:red">
function checkParent (src, dest) {<br>
while (src != null) {<br>
if (src.tagName == dest) return src<br>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,6 +1,6 @@
<tests>
<test id="code">
- <CODE ID="" CLASS="codeClass" STYLE="color: red; -moz-user-modify: read-write;">
+ <CODE ID="code" CLASS="codeClass" STYLE="color: red; -moz-user-modify: read-write;">
<SPAN>
function checkParent (src, dest) {
</SPAN>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>del</h1>
-<del id="del" class="delClass" style="color: red">Some Text</del>
+<del id="del" class="delClass" style="color: red" dir="ltr">Some
+Text</del>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,10 @@
<tests>
<test id="del">
- <DEL STYLE="color: red;" ID="del" CLASS="delClass">
- <SPAN>
- Some Text
- </SPAN>
- </DEL>
+ <DEL ID="del" CLASS="delClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some
+Text
+</SPAN>
+</DEL>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>dfn</h1>
-<dfn id="dfn" class="dfnClass" style="color: red">Some Text</dfn>
+<dfn id="dfn" class="dfnClass" style="color: red" dir="ltr" >Some Text</dfn>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,6 +1,7 @@
<tests>
<test id="dfn">
- <DFN STYLE="color: red;" ID="dfn" CLASS="dfnClass">
+ <DFN ID="dfn" CLASS="dfnClass" STYLE="color: red; -moz-user-modify: read-write;"
+ DIR="ltr">
<SPAN>
Some Text
</SPAN>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>em</h1>
-<em id="em" class="emClass" style="color:red">Some Text</em>
+<em id="em" class="emClass" style="color:red" dir="ltr">Some Text</em>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,9 +1,9 @@
<tests>
<test id="em">
- <EM ID="em" CLASS="emClass" STYLE="color: red; -moz-user-modify: read-write;">
- <SPAN>
- Some Text
- </SPAN>
- </EM>
+ <EM ID="em" CLASS="emClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some Text
+</SPAN>
+</EM>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -6,7 +6,7 @@
<h1>hr</h1>
String 1
-<hr id="hr" class="hrClass" size="20" style="background: red">
+<hr id="hr" class="hrClass" size="20" style="background: red;" align="left" dir="ltr">
String 2
</body>
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,7 +1,5 @@
<tests>
<test id="hr">
- <HR SIZE="20"
- STYLE="background: red none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
- CLASS="hrClass" ID="hr" />
+ <HR SIZE="20" ALIGN="left" ID="hr" CLASS="hrClass" STYLE="background: red none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-user-modify: read-only;" DIR="ltr"/>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>i</h1>
-<i> Some Text </i>
+<i id="i" class="iClass" style="color:red;" dir="ltr"> Some Text </i>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -1,7 +1,9 @@
<tests>
- <test id="hr">
- <HR SIZE="20"
- STYLE="background: red none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
- CLASS="hrClass" ID="hr" />
+ <test id="i">
+ <I ID="i" CLASS="iClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some Text
+</SPAN>
+</I>
</test>
</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -6,7 +6,7 @@
<h1>ins</h1>
<del>Old Text</del>
-<ins>New Text</ins>
+<ins id="ins" class="insClass" style="color:red;">New Text</ins>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/ins.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="ins">
+ <INS ID="ins" CLASS="insClass" STYLE="color: red; -moz-user-modify: read-only;">
+<SPAN>
+New Text
+</SPAN>
+</INS>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>kbd</h1>
-<kbd><Ctrl>+<Backspace></kbd>
+<kbd id="kbd" class="kbdClass" style="color: red;" dir="ltr" ><Ctrl>+<Backspace></kbd>
or
<kbd><Ctrl>+<Delete></kbd>
</body>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/kbd.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="kbd">
+ <KBD ID="kbd" CLASS="kbdClass" STYLE="color: red; -moz-user-modify: read-write;"
+ DIR="ltr">
+ <SPAN>
+<Ctrl>+<Backspace>
+</SPAN>
+</KBD>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -6,6 +6,7 @@
<h1>p</h1>
Some text 1
-<p>Some text 2
+<p id="p" class="pClass" style="color: red;" dir="ltr" align="right" >Some
+text 2
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/p.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="p">
+<P ALIGN="right" ID="p" CLASS="pClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some
+text 2
+</SPAN>
+</P>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,9 +5,8 @@
<h1>pre</h1>
- string 1
- string 2
-<pre>
+string 1 string 2
+<pre id="pre" class="preClass" style="color: red;" dir="ltr" width="30">
string 1
string 2
</pre>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/pre.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="pre">
+ <PRE WIDTH="30" ID="pre" CLASS="preClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+string 1
+ string 2
+</SPAN>
+</PRE>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>q</h1>
-<q>Some Text</q>
+<q id="q" class="qClass" style="color:red;" dir="ltr" >Some Text</q>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/q.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="q">
+ <Q ID="q" CLASS="qClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some Text
+</SPAN>
+</Q>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>samp</h1>
-<samp> Some Text </samp>
+<samp id="samp" class="sampClass" style="color: red" dir="ltr" >
+Some Text </samp>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/samp.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="samp">
+ <SAMP ID="samp" CLASS="sampClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some Text
+</SPAN>
+</SAMP>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>small</h1>
-<small> <small> very small text </small> small text </small>
+<small> <small id="small" class="smallClass" style="color:red;" dir="ltr" > very small text </small> small text </small>
normal text
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/small.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="small">
+ <SMALL ID="small" CLASS="smallClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+very small text
+</SPAN>
+</SMALL>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>strong</h1>
-<strong>Some strong text</strong>
+<strong id="strong" class="strongClass" style="color: red;" dir="ltr">Some
+strong text</strong>
some text
</body>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/strong.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="strong">
+ <STRONG ID="strong" CLASS="strongClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+Some
+strong text
+</SPAN>
+</STRONG>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -6,7 +6,7 @@
<h1>sub</h1>
H
-<sub><small>2</small></sub>
+<sub id="sub" class="subClass" style="color: red;" dir="ltr"><small>2</small></sub>
SO
<sub><small>4</small></sub>
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sub.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="sub">
+ <SUB ID="sub" CLASS="subClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SMALL STYLE="-moz-user-modify: read-write;">
+<SPAN>
+2
+</SPAN>
+</SMALL>
+</SUB>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -6,7 +6,7 @@
<h1>sup</h1>
X
-<sup><small>n</small></sup>
+<sup id="sup" class="supClass" style="color: red;" dir="ltr"><small>n</small></sup>
+ Y
<sup><small>n</small></sup>
= Z
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/sup.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="sup">
+ <SUP ID="sup" CLASS="supClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SMALL STYLE="-moz-user-modify: read-write;">
+<SPAN>
+n
+</SPAN>
+</SMALL>
+</SUP>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,8 @@
<h1>tt</h1>
-<tt>some text</tt>
+<tt id="tt" class="ttClass" style="color: red;" dir="ltr"> some
+text</tt>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/tt.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="tt">
+ <TT ID="tt" CLASS="ttClass" STYLE="color: red; -moz-user-modify: read-write;" DIR="ltr">
+<SPAN>
+some
+text
+</SPAN>
+</TT>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html 2008-11-24 13:58:02 UTC (rev 11977)
@@ -5,7 +5,7 @@
<h1>var</h1>
-<var>someVariable</var>
+<var id="var" class="varClass" style="color: red" dir="ltr">someVariable</var>
</body>
</html>
\ No newline at end of file
Added: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html.xml (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/var.html.xml 2008-11-24 13:58:02 UTC (rev 11977)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="var">
+ <VAR ID="var" CLASS="varClass" STYLE="color: red; -moz-user-modify: read-only;" DIR="ltr">
+<SPAN>
+someVariable
+</SPAN>
+</VAR>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java 2008-11-24 13:58:02 UTC (rev 11977)
@@ -37,6 +37,7 @@
TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); //$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(HtmlComponentTest.class);
+ suite.addTestSuite(HtmlComponentContentTest.class);
List<ImportBean> projectToImport = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-24 13:06:32 UTC (rev 11976)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-24 13:58:02 UTC (rev 11977)
@@ -10,9 +10,7 @@
******************************************************************************/
package org.jboss.tools.vpe.html.test;
-import org.eclipse.core.resources.IFile;
import org.jboss.tools.vpe.ui.test.ComponentContentTest;
-import org.jboss.tools.vpe.ui.test.TestUtil;
/**
* Class for testing all jsf components
@@ -32,105 +30,105 @@
*/
public void testAbbr() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/abbr.html"); //$NON-NLS-1$
}
public void testAcronym() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/acronym.html"); //$NON-NLS-1$
}
public void testB() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/b.html"); //$NON-NLS-1$
}
public void testBig() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/big.html"); //$NON-NLS-1$
}
public void testBlockquote() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/blockquote.html"); //$NON-NLS-1$
}
public void testBr() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/br.html"); //$NON-NLS-1$
}
public void testCite() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/cite.html"); //$NON-NLS-1$
}
public void testCode() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/code.html"); //$NON-NLS-1$
}
public void testDel() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/del.html"); //$NON-NLS-1$
}
public void testDfn() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/dfn.html"); //$NON-NLS-1$
}
public void testEm() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/em.html"); //$NON-NLS-1$
}
public void testHr() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/hr.html"); //$NON-NLS-1$
}
public void testI() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/i.html"); //$NON-NLS-1$
}
public void testIns() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/ins.html"); //$NON-NLS-1$
}
public void testKbd() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/kbd.html"); //$NON-NLS-1$
}
public void testP() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/p.html"); //$NON-NLS-1$
}
public void testPre() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/pre.html"); //$NON-NLS-1$
}
public void testQ() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/q.html"); //$NON-NLS-1$
}
public void testSamp() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/samp.html"); //$NON-NLS-1$
}
public void testSmall() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/small.html"); //$NON-NLS-1$
}
public void testStrong() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/strong.html"); //$NON-NLS-1$
}
public void testSub() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/sub.html"); //$NON-NLS-1$
}
public void testSup() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/sup.html"); //$NON-NLS-1$
}
public void testTt() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/tt.html"); //$NON-NLS-1$
}
public void testVar() throws Throwable {
- fail( "it is necessary to add body of the test");
+ performContentTest("components/text/var.html"); //$NON-NLS-1$
}
-
+
protected String getTestProjectName() {
return HtmlAllTests.IMPORT_PROJECT_NAME;
}
17 years, 4 months
JBoss Tools SVN: r11976 - trunk/seam/plugins/org.jboss.tools.seam.xml/schemas.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-11-24 08:06:32 -0500 (Mon, 24 Nov 2008)
New Revision: 11976
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.1.xsd
Log:
JBIDE-3248
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.1.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.1.xsd 2008-11-24 13:06:28 UTC (rev 11975)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.1.xsd 2008-11-24 13:06:32 UTC (rev 11976)
@@ -287,7 +287,7 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.end-conversation">
- <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
<xs:attribute name="root" default="false" type="pages:tf-boolean"/>
<xs:attribute name="if" type="pages:boolean-value-expression" />
</xs:attributeGroup>
@@ -397,7 +397,7 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.render">
- <xs:attribute name="view-id" type="pages:view-id" />
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
</xs:attributeGroup>
<xs:element name="redirect">
@@ -414,8 +414,9 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.redirect">
- <xs:attribute name="view-id" type="pages:view-id" />
- <xs:attribute name="url" type="pages:url" />
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ <xs:attribute name="url" type="pages:url-expression" />
+ <xs:attribute name="include-page-params" type="pages:tf-boolean" />
</xs:attributeGroup>
<xs:element name="http-error">
@@ -457,11 +458,15 @@
</xs:element>
<xs:simpleType name="url">
- <xs:restriction base="xs:token">
+ <xs:restriction base="xs:anyURI">
<xs:pattern value="http://.*|https://.*"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="url-expression">
+ <xs:union memberTypes="pages:url pages:method-expression"></xs:union>
+ </xs:simpleType>
+
<xs:simpleType name="schemes">
<xs:restriction base="xs:token">
<xs:enumeration value="https"/>
@@ -475,6 +480,10 @@
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="view-id-expression">
+ <xs:union memberTypes="pages:view-id pages:method-expression"></xs:union>
+ </xs:simpleType>
+
<xs:simpleType name="ableness">
<xs:restriction base="xs:token">
<xs:enumeration value="enabled"/>
17 years, 4 months
JBoss Tools SVN: r11975 - trunk/seam/plugins/org.jboss.tools.seam.core.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-11-24 08:06:28 -0500 (Mon, 24 Nov 2008)
New Revision: 11975
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
Mark Seam 2.1 as tech preview
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-24 13:05:51 UTC (rev 11974)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-24 13:06:28 UTC (rev 11975)
@@ -259,7 +259,7 @@
</static-preset>
<static-preset
id="jst.seam21.preset">
- <label>Dynamic Web Project with Seam 2.1</label>
+ <label>Dynamic Web Project with Seam 2.1 (technology preview)</label>
<facet id="jst.java" version="5.0"/>
<facet id="jst.web" version="2.5"/>
<facet id="jst.jsf" version="1.2"/>
17 years, 4 months
JBoss Tools SVN: r11974 - in trunk/seam/plugins/org.jboss.tools.seam.pages.xml: schemas and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-11-24 08:05:51 -0500 (Mon, 24 Nov 2008)
New Revision: 11974
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.1.xsd
Log:
JBIDE-3248
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2008-11-24 12:55:13 UTC (rev 11973)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2008-11-24 13:05:51 UTC (rev 11974)
@@ -3355,6 +3355,15 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="include page params" xmlname="include-page-params">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.1.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.1.xsd 2008-11-24 12:55:13 UTC (rev 11973)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.1.xsd 2008-11-24 13:05:51 UTC (rev 11974)
@@ -287,7 +287,7 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.end-conversation">
- <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
<xs:attribute name="root" default="false" type="pages:tf-boolean"/>
<xs:attribute name="if" type="pages:boolean-value-expression" />
</xs:attributeGroup>
@@ -397,7 +397,7 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.render">
- <xs:attribute name="view-id" type="pages:view-id" />
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
</xs:attributeGroup>
<xs:element name="redirect">
@@ -414,8 +414,9 @@
</xs:complexType>
</xs:element>
<xs:attributeGroup name="attlist.redirect">
- <xs:attribute name="view-id" type="pages:view-id" />
- <xs:attribute name="url" type="pages:url" />
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ <xs:attribute name="url" type="pages:url-expression" />
+ <xs:attribute name="include-page-params" type="pages:tf-boolean" />
</xs:attributeGroup>
<xs:element name="http-error">
@@ -457,11 +458,15 @@
</xs:element>
<xs:simpleType name="url">
- <xs:restriction base="xs:token">
+ <xs:restriction base="xs:anyURI">
<xs:pattern value="http://.*|https://.*"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="url-expression">
+ <xs:union memberTypes="pages:url pages:method-expression"></xs:union>
+ </xs:simpleType>
+
<xs:simpleType name="schemes">
<xs:restriction base="xs:token">
<xs:enumeration value="https"/>
@@ -475,6 +480,10 @@
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="view-id-expression">
+ <xs:union memberTypes="pages:view-id pages:method-expression"></xs:union>
+ </xs:simpleType>
+
<xs:simpleType name="ableness">
<xs:restriction base="xs:token">
<xs:enumeration value="enabled"/>
17 years, 4 months