Author: tfennelly
Date: 2009-11-30 18:40:37 -0500 (Mon, 30 Nov 2009)
New Revision: 18934
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeDependency.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5323
Only open the Smooks Configuration if the editor can support the configurations therein
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeDependency.java
===================================================================
---
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeDependency.java 2009-11-30
23:20:03 UTC (rev 18933)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeDependency.java 2009-11-30
23:40:37 UTC (rev 18934)
@@ -111,15 +111,25 @@
metadataExtractor.addVisitor(new RuntimeDependencyTracker("milyn-smooks-edi",
ProcessNodeType.INPUT_EDI, "smooks/edi-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/reader");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-json",
ProcessNodeType.INPUT_JSON, "smooks/json-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/reader");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-fixed-length",
ProcessNodeType.FIXED_LENGTH, "smooks/fixed-length-1.3.xsd", false,
SmooksVersion.v1_3), "/smooks-resource-list/reader");
- metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/direct,/smooks-resource-list/JNDI");
- metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.3.xsd", false,
SmooksVersion.v1_3),
"/smooks-resource-list/direct,/smooks-resource-list/JNDI");
- metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core", ProcessNodeType.CORE,
"smooks/core-1.3.xsd", false, SmooksVersion.v1_3),
"/smooks-resource-list/filterSettings,/smooks-resource-list/namespaces,/smooks-resource-list/terminate");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/direct");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/JNDI");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.3.xsd", false,
SmooksVersion.v1_3), "/smooks-resource-list/direct");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core",
ProcessNodeType.DATASOURCE, "smooks/datasource-1.3.xsd", false,
SmooksVersion.v1_3), "/smooks-resource-list/JNDI");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core", ProcessNodeType.CORE,
"smooks/core-1.3.xsd", false, SmooksVersion.v1_3),
"/smooks-resource-list/filterSettings");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core", ProcessNodeType.CORE,
"smooks/core-1.3.xsd", false, SmooksVersion.v1_3),
"/smooks-resource-list/namespaces");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-core", ProcessNodeType.CORE,
"smooks/core-1.3.xsd", false, SmooksVersion.v1_3),
"/smooks-resource-list/terminate");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-templating",
ProcessNodeType.TEMPLATING, "smooks/xsl-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/xsl");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-javabean",
ProcessNodeType.JAVA_BINDING, "smooks/javabean-1.1.xsd", false,
SmooksVersion.v1_1, SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/binding");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-javabean",
ProcessNodeType.JAVA_BINDING, "smooks/javabean-1.3.xsd", false,
SmooksVersion.v1_3), "/smooks-resource-list/bean");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-calc", ProcessNodeType.CALC,
"smooks/calc-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/counter");
- metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3),
"/smooks-resource-list/inserter,/smooks-resource-list/updater,/smooks-resource-list/deleter,/smooks-resource-list/flusher,/smooks-resource-list/locator");
- metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/db-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3),
"/smooks-resource-list/executor,/smooks-resource-list/resultSetRowSelector");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/inserter");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/updater");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/deleter");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/deleter");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/flusher");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-persistence",
ProcessNodeType.PERSISTENCE, "smooks/persistence-1.2.xsd", false,
SmooksVersion.v1_2, SmooksVersion.v1_3), "/smooks-resource-list/locator");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/db-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/executor");
+ metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/db-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/resultSetRowSelector");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/file-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/outputStream");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/io-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/router");
metadataExtractor.addVisitor(new
RuntimeDependencyTracker("milyn-smooks-routing", ProcessNodeType.ROUTING,
"smooks/jms-routing-1.1.xsd", false, SmooksVersion.v1_1, SmooksVersion.v1_2,
SmooksVersion.v1_3), "/smooks-resource-list/router");