Author: DartPeng
Date: 2009-11-28 05:15:18 -0500 (Sat, 28 Nov 2009)
New Revision: 18903
Removed:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/WEB-INF_smooks-config.xml
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/css_smooks-config.xml
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-basic_smooks-config.xml
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-to-xml_smooks-config.xml
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/profiling_smooks-config.xml
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksProcessGraphicalEditor.java
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/smooks-config.xml
Log:
JBIDE-5249
Delete the smooks v1.0 config file from test project.
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksProcessGraphicalEditor.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksProcessGraphicalEditor.java 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksProcessGraphicalEditor.java 2009-11-28
10:15:18 UTC (rev 18903)
@@ -521,7 +521,7 @@
protected void createProcessGraphicalSection(FormToolkit toolkit, Composite parent) {
Section processGraphSection = toolkit.createSection(parent, Section.TITLE_BAR);
- processGraphSection.setText("Process Map");
+ processGraphSection.setText("Tasks Map");
Composite processGraphComposite = toolkit.createComposite(processGraphSection);
@@ -596,7 +596,7 @@
FormToolkit toolkit = managedForm.getToolkit();
toolkit.decorateFormHeading(form.getForm());
form.getBody().setLayout(new FillLayout());
- form.setText("Processing");
+ form.setText("Smooks Processing");
Composite mainComposite = toolkit.createComposite(form.getBody());
@@ -904,6 +904,7 @@
}
protected void showTaskControl(Object model) {
+ if(pageBook == null) return;
if (model == null)
pageBook.showEmptyPage();
FormToolkit toolkit = ((AbstractSmooksFormEditor)
this.smooksModelProvider).getToolkit();
Deleted:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/WEB-INF_smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/WEB-INF_smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/WEB-INF_smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <profiles>
- <profile base-profile="MSIE" sub-profiles="windows,large"
/>
- <profile base-profile="Firefox"
sub-profiles="windows,large" />
- </profiles>
-
- <!-- Will be applied to MS Internet Explorer only... -->
- <resource-config selector="b" target-profile="MSIE">
- <resource>org.milyn.cdres.trans.SetAttributeTU</resource>
- <param name="attributeName">style</param>
- <param name="attributeValue">color: red</param>
- </resource-config>
-
- <!-- Will be applied to all "large" useragents (browsers) i.e.
- both MSIE and Firefox... -->
- <resource-config selector="b" target-profile="large">
- <resource>org.milyn.cdres.trans.RenameElementTU</resource>
- <param name="replacementElement">i</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Deleted:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/css_smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/css_smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/css_smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <!--
- Gather externally linked CSS info...
- -->
- <resource-config selector="link">
- <resource>org.milyn.css.CSSStyleScraper</resource>
- </resource-config>
-
- <!--
- Gather inlined CSS info...
- -->
- <resource-config selector="style">
- <resource>org.milyn.css.CSSStyleScraper</resource>
- </resource-config>
-
-</smooks-resource-list>
Deleted:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-basic_smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-basic_smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-basic_smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="c b">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">xxx</param>
- </resource-config>
-
-</smooks-resource-list>
Deleted:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-to-xml_smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-to-xml_smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/java-to-xml_smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -1,8 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <resource-config selector="global-parameters">
- <param name="stream.filter.type">SAX</param>
- </resource-config>
-
-</smooks-resource-list>
\ No newline at end of file
Deleted:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/profiling_smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/profiling_smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/projects/smooks-all-config-files/smooks-config-files/profiling_smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -1,43 +0,0 @@
-<?xml version="1.0"?>
-<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
- <profiles>
- <profile base-profile="message-exchange-1"
sub-profiles="from-a,to-b" />
- <profile base-profile="message-exchange-2"
sub-profiles="from-a,to-c" />
- <profile base-profile="message-exchange-3"
sub-profiles="from-a,to-d" />
-
- <profile base-profile="message-exchange-4"
sub-profiles="from-c,to-b" />
- <profile base-profile="message-exchange-5"
sub-profiles="from-d,to-b" />
- </profiles>
-
- <resource-config selector="a" target-profile="from-a">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">from-a</param>
- </resource-config>
-
- <resource-config selector="a b" target-profile="to-b">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">to-b</param>
- </resource-config>
-
- <resource-config selector="c b" target-profile="to-c">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">to-c</param>
- </resource-config>
-
- <resource-config selector="c" target-profile="to-d">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">to-d</param>
- </resource-config>
-
- <resource-config selector="b c"
target-profile="message-exchange-5">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">message-exchange-5</param>
- </resource-config>
-
- <resource-config selector="c b" target-profile="to-b AND
from-d">
- <resource>example.BasicJavaTransformer</resource>
- <param name="newName">d-to-b</param>
- </resource-config>
-
-</smooks-resource-list>
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/smooks-config.xml
===================================================================
---
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/smooks-config.xml 2009-11-28
10:12:23 UTC (rev 18902)
+++
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/smooks/test/jsonparse/smooks-config.xml 2009-11-28
10:15:18 UTC (rev 18903)
@@ -15,21 +15,4 @@
<json:key from="date&time" to="timeanddate" />
</json:keyMap>
</abstract-reader>
-
- <g:smooks-graphics-ext>
- <g:input type="json">
- <g:param name="path">Workspace://test/src/json.jsn</g:param>
- <g:param name="linkJSONReader">true</g:param>
- </g:input>
-
- <g:input type="json">
- <g:param name="path">Workspace://test/src/json.jsn</g:param>
- <g:param name="encoding">UTF-8</g:param>
- <g:param name="_key_date&time">date-time</g:param>
- <g:param name="spaceReplace">-</g:param>
- <g:param name="arrayElementName">element</g:param>
- <g:param name="rootName">root</g:param>
- </g:input>
- </g:smooks-graphics-ext>
-
</smooks-resource-list>
\ No newline at end of file