JBoss Tools SVN: r21623 - in trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model: common/provider and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-04-22 23:09:58 -0400 (Thu, 22 Apr 2010)
New Revision: 21623
Removed:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/BindTo.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Inline.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/OutputTo.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Template.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Use.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Xsl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslPackage.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/impl/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/provider/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/util/
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/Test.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/provider/AbstractAnyTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/AbstractResourceConfigItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionsTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/DocumentRootItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/FeaturesTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlerTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlersTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamsTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfileTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfilesTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ResourceTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOffTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOnTypeItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SmooksResourceListTypeItemProvider.java
Log:
JBIDE-5983
remove unused codes
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/Test.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/Test.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/Test.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -14,7 +14,6 @@
import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
-import org.jboss.tools.smooks.model.xsl.XslPackage;
public class Test {
@@ -24,7 +23,6 @@
public static void main(String[] args) {
Registry.INSTANCE.put(CommonPackage.eNS_URI, CommonPackage.eINSTANCE);
Registry.INSTANCE.put(FreemarkerPackage.eNS_URI, FreemarkerPackage.eINSTANCE);
- Registry.INSTANCE.put(XslPackage.eNS_URI, XslPackage.eINSTANCE);
Registry.INSTANCE.put(SmooksPackage.eNS_URI, SmooksPackage.eINSTANCE);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/provider/AbstractAnyTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/provider/AbstractAnyTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/common/provider/AbstractAnyTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -25,7 +25,7 @@
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.AbstractAnyType;
import org.jboss.tools.smooks.model.common.CommonPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
/**
@@ -299,6 +299,6 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -18,6 +18,8 @@
import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
import org.jboss.tools.smooks.model.common.CommonPackage;
import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+import org.jboss.tools.smooks.model.javabean12.Javabean12Package;
+import org.jboss.tools.smooks.model.javabean12.impl.Javabean12PackageImpl;
import org.jboss.tools.smooks.model.smooks.AbstractReader;
import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
import org.jboss.tools.smooks.model.smooks.ConditionType;
@@ -40,8 +42,6 @@
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
-import org.jboss.tools.smooks.model.xsl.XslPackage;
-import org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl;
/**
@@ -251,7 +251,7 @@
XMLTypePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
- XslPackageImpl theXslPackage = (XslPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(XslPackage.eNS_URI) instanceof XslPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(XslPackage.eNS_URI) : XslPackage.eINSTANCE);
+ Javabean12PackageImpl theXslPackage = (Javabean12PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Javabean12Package.eNS_URI) instanceof Javabean12PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Javabean12Package.eNS_URI) : Javabean12Package.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
// Create package meta-data objects
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/AbstractResourceConfigItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/AbstractResourceConfigItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/AbstractResourceConfigItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -20,7 +20,7 @@
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
@@ -107,7 +107,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ConditionType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -227,7 +227,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionsTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionsTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ConditionsTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ConditionsType;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -164,7 +164,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/DocumentRootItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/DocumentRootItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/DocumentRootItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.DocumentRoot;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
/**
@@ -274,7 +274,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/FeaturesTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/FeaturesTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/FeaturesTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.FeaturesType;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -171,7 +171,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlerTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlerTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlerTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.HandlerType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -155,7 +155,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlersTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlersTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/HandlersTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.HandlersType;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -164,7 +164,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ParamType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -179,7 +179,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamsTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamsTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ParamsTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ParamsType;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -164,7 +164,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfileTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfileTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfileTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ProfileType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -203,7 +203,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfilesTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfilesTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ProfilesTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -22,10 +22,10 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ProfilesType;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -164,7 +164,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ResourceTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ResourceTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/ResourceTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.ResourceType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -179,7 +179,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOffTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOffTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOffTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.SetOffType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -155,7 +155,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOnTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOnTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SetOnTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -23,9 +23,9 @@
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.jboss.tools.smooks.model.common.provider.AbstractAnyTypeItemProvider;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.smooks.SetOnType;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
@@ -155,7 +155,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SmooksResourceListTypeItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SmooksResourceListTypeItemProvider.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/smooks/provider/SmooksResourceListTypeItemProvider.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -32,12 +32,12 @@
import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
import org.jboss.tools.smooks.model.javabean12.Javabean12Factory;
import org.jboss.tools.smooks.model.javabean12.Javabean12Package;
+import org.jboss.tools.smooks.model.javabean12.provider.Javabean12EditPlugin;
import org.jboss.tools.smooks.model.json12.Json12Factory;
import org.jboss.tools.smooks.model.json12.Json12Package;
import org.jboss.tools.smooks.model.smooks.SmooksFactory;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
-import org.jboss.tools.smooks.model.xsl.provider.Xsl1EditPlugin;
/**
* This is the item provider adapter for a {@link smooks.SmooksResourceListType}
@@ -334,7 +334,7 @@
*/
@Override
public ResourceLocator getResourceLocator() {
- return Xsl1EditPlugin.INSTANCE;
+ return Javabean12EditPlugin.INSTANCE;
}
}
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/BindTo.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/BindTo.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/BindTo.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.jboss.tools.smooks.model.common.AbstractAnyType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bind To</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * Bind the templating result into the bean context under the specified "id". This makes the
- * templating result available for routing or other operations.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getBindTo()
- * @model extendedMetaData="name='bindTo' kind='empty'"
- * @generated
- */
-public interface BindTo extends AbstractAnyType {
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #setId(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getBindTo_Id()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='id'"
- * @generated
- */
- String getId();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #getId()
- * @generated
- */
- void setId(String value);
-
-} // BindTo
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,116 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot()
- * @model extendedMetaData="name='' kind='mixed'"
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='elementWildcard' name=':mixed'"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xmlns:prefix'"
- * @generated
- */
- EMap<String, String> getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
- * @generated
- */
- EMap<String, String> getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Xsl</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * XSL Templating Configuration.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Xsl</em>' containment reference.
- * @see #setXsl(Xsl)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot_Xsl()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='xsl' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
- * @generated
- */
- Xsl getXsl();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Xsl</em>' containment reference.
- * @see #getXsl()
- * @generated
- */
- void setXsl(Xsl value);
-
-} // DocumentRoot
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Inline.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Inline.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Inline.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,93 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.jboss.tools.smooks.model.common.AbstractAnyType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Inline</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * Inline the templating result into the <b>Smooks.filter</b> Result message.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInline()
- * @model extendedMetaData="name='inline' kind='empty'"
- * @generated
- */
-public interface Inline extends AbstractAnyType {
- /**
- * Returns the value of the '<em><b>Directive</b></em>' attribute.
- * The literals are from the enumeration {@link org.jboss.tools.smooks.model.xsl.InlineDirective}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * How the templating result is to be used (relative to the element on which it
- * is applied).
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Directive</em>' attribute.
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see #isSetDirective()
- * @see #unsetDirective()
- * @see #setDirective(InlineDirective)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInline_Directive()
- * @model unsettable="true" required="true"
- * extendedMetaData="kind='attribute' name='directive'"
- * @generated
- */
- InlineDirective getDirective();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Directive</em>' attribute.
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see #isSetDirective()
- * @see #unsetDirective()
- * @see #getDirective()
- * @generated
- */
- void setDirective(InlineDirective value);
-
- /**
- * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetDirective()
- * @see #getDirective()
- * @see #setDirective(InlineDirective)
- * @generated
- */
- void unsetDirective();
-
- /**
- * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Directive</em>' attribute is set.
- * @see #unsetDirective()
- * @see #getDirective()
- * @see #setDirective(InlineDirective)
- * @generated
- */
- boolean isSetDirective();
-
-} // Inline
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,266 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Inline Directive</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInlineDirective()
- * @model extendedMetaData="name='inlineDirective'"
- * @generated
- */
-public enum InlineDirective implements Enumerator {
- /**
- * The '<em><b>Addto</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ADDTO_VALUE
- * @generated
- * @ordered
- */
- ADDTO(0, "addto", "addto"), //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The '<em><b>Replace</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #REPLACE_VALUE
- * @generated
- * @ordered
- */
- REPLACE(1, "replace", "replace"), //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The '<em><b>Insertbefore</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INSERTBEFORE_VALUE
- * @generated
- * @ordered
- */
- INSERTBEFORE(2, "insertbefore", "insertbefore"), //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The '<em><b>Insertafter</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INSERTAFTER_VALUE
- * @generated
- * @ordered
- */
- INSERTAFTER(3, "insertafter", "insertafter"); //$NON-NLS-1$ //$NON-NLS-2$
-
- /**
- * The '<em><b>Addto</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Addto</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ADDTO
- * @model name="addto"
- * @generated
- * @ordered
- */
- public static final int ADDTO_VALUE = 0;
-
- /**
- * The '<em><b>Replace</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Replace</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #REPLACE
- * @model name="replace"
- * @generated
- * @ordered
- */
- public static final int REPLACE_VALUE = 1;
-
- /**
- * The '<em><b>Insertbefore</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Insertbefore</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INSERTBEFORE
- * @model name="insertbefore"
- * @generated
- * @ordered
- */
- public static final int INSERTBEFORE_VALUE = 2;
-
- /**
- * The '<em><b>Insertafter</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Insertafter</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INSERTAFTER
- * @model name="insertafter"
- * @generated
- * @ordered
- */
- public static final int INSERTAFTER_VALUE = 3;
-
- /**
- * An array of all the '<em><b>Inline Directive</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final InlineDirective[] VALUES_ARRAY =
- new InlineDirective[] {
- ADDTO,
- REPLACE,
- INSERTBEFORE,
- INSERTAFTER,
- };
-
- /**
- * A public read-only list of all the '<em><b>Inline Directive</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<InlineDirective> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Inline Directive</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static InlineDirective get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- InlineDirective result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Inline Directive</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static InlineDirective getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- InlineDirective result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Inline Directive</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static InlineDirective get(int value) {
- switch (value) {
- case ADDTO_VALUE: return ADDTO;
- case REPLACE_VALUE: return REPLACE;
- case INSERTBEFORE_VALUE: return INSERTBEFORE;
- case INSERTAFTER_VALUE: return INSERTAFTER;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private InlineDirective(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} //InlineDirective
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/OutputTo.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/OutputTo.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/OutputTo.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.jboss.tools.smooks.model.common.AbstractAnyType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Output To</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * Output the templating result to a named OutputStreamResource.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getOutputTo()
- * @model extendedMetaData="name='outputTo' kind='empty'"
- * @generated
- */
-public interface OutputTo extends AbstractAnyType {
- /**
- * Returns the value of the '<em><b>Output Stream Resource</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * The name of the "outputStreamResource" to which the templating result is to be written. By default,
- * the templating result is written to the Smooks.filter result if (if a StreamResult is provided).
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Output Stream Resource</em>' attribute.
- * @see #setOutputStreamResource(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getOutputTo_OutputStreamResource()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='outputStreamResource'"
- * @generated
- */
- String getOutputStreamResource();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Output Stream Resource</em>' attribute.
- * @see #getOutputStreamResource()
- * @generated
- */
- void setOutputStreamResource(String value);
-
-} // OutputTo
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Template.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Template.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Template.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,120 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.jboss.tools.smooks.model.common.AbstractAnyType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Template</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * The XSL Template.
- * <p/>
- * This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate()
- * @model extendedMetaData="name='template' kind='simple'"
- * @generated
- */
-public interface Template extends AbstractAnyType {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate_Value()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="name=':0' kind='simple'"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Encoding</b></em>' attribute.
- * The default value is <code>"UTF-8"</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * Template character encodng.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Encoding</em>' attribute.
- * @see #isSetEncoding()
- * @see #unsetEncoding()
- * @see #setEncoding(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate_Encoding()
- * @model default="UTF-8" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='attribute' name='encoding'"
- * @generated
- */
- String getEncoding();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Encoding</em>' attribute.
- * @see #isSetEncoding()
- * @see #unsetEncoding()
- * @see #getEncoding()
- * @generated
- */
- void setEncoding(String value);
-
- /**
- * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetEncoding()
- * @see #getEncoding()
- * @see #setEncoding(String)
- * @generated
- */
- void unsetEncoding();
-
- /**
- * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Encoding</em>' attribute is set.
- * @see #unsetEncoding()
- * @see #getEncoding()
- * @see #setEncoding(String)
- * @generated
- */
- boolean isSetEncoding();
-
-} // Template
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Use.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Use.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Use.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,117 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.jboss.tools.smooks.model.common.AbstractAnyType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Use</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * The <use> element allows you to define how the templating result is to be used.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse()
- * @model extendedMetaData="name='use' kind='elementOnly'"
- * @generated
- */
-public interface Use extends AbstractAnyType {
- /**
- * Returns the value of the '<em><b>Inline</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Inline</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Inline</em>' containment reference.
- * @see #setInline(Inline)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_Inline()
- * @model containment="true"
- * extendedMetaData="kind='element' name='inline' namespace='##targetNamespace'"
- * @generated
- */
- Inline getInline();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Inline</em>' containment reference.
- * @see #getInline()
- * @generated
- */
- void setInline(Inline value);
-
- /**
- * Returns the value of the '<em><b>Bind To</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bind To</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Bind To</em>' containment reference.
- * @see #setBindTo(BindTo)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_BindTo()
- * @model containment="true"
- * extendedMetaData="kind='element' name='bindTo' namespace='##targetNamespace'"
- * @generated
- */
- BindTo getBindTo();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Bind To</em>' containment reference.
- * @see #getBindTo()
- * @generated
- */
- void setBindTo(BindTo value);
-
- /**
- * Returns the value of the '<em><b>Output To</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Output To</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Output To</em>' containment reference.
- * @see #setOutputTo(OutputTo)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_OutputTo()
- * @model containment="true"
- * extendedMetaData="kind='element' name='outputTo' namespace='##targetNamespace'"
- * @generated
- */
- OutputTo getOutputTo();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Output To</em>' containment reference.
- * @see #getOutputTo()
- * @generated
- */
- void setOutputTo(OutputTo value);
-
-} // Use
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Xsl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Xsl.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/Xsl.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,225 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.eclipse.emf.common.util.EList;
-import org.jboss.tools.smooks.model.smooks.ElementVisitor;
-import org.jboss.tools.smooks.model.smooks.ParamType;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Xsl</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * XSL Templating Configuration Type.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getParam <em>Param</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}</li>
- * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl()
- * @model extendedMetaData="name='xsl' kind='elementOnly'"
- * @generated
- */
-public interface Xsl extends ElementVisitor {
- /**
- * Returns the value of the '<em><b>Template</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Template</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Template</em>' containment reference.
- * @see #setTemplate(Template)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Template()
- * @model containment="true" required="true"
- * extendedMetaData="kind='element' name='template' namespace='##targetNamespace'"
- * @generated
- */
- Template getTemplate();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Template</em>' containment reference.
- * @see #getTemplate()
- * @generated
- */
- void setTemplate(Template value);
-
- /**
- * Returns the value of the '<em><b>Use</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Use</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Use</em>' containment reference.
- * @see #setUse(Use)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Use()
- * @model containment="true"
- * extendedMetaData="kind='element' name='use' namespace='##targetNamespace'"
- * @generated
- */
- Use getUse();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Use</em>' containment reference.
- * @see #getUse()
- * @generated
- */
- void setUse(Use value);
-
- /**
- * Returns the value of the '<em><b>Param</b></em>' containment reference list.
- * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Param</em>' containment reference list.
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Param()
- * @model containment="true"
- * extendedMetaData="kind='element' name='param' namespace='http://www.milyn.org/xsd/smooks-1.1.xsd'"
- * @generated
- */
- EList<ParamType> getParam();
-
- /**
- * Returns the value of the '<em><b>Apply Before</b></em>' attribute.
- * The default value is <code>"false"</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * Apply the template before visiting the elements child content.<p/>Default is 'false'.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Apply Before</em>' attribute.
- * @see #isSetApplyBefore()
- * @see #unsetApplyBefore()
- * @see #setApplyBefore(boolean)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyBefore()
- * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
- * extendedMetaData="kind='attribute' name='applyBefore'"
- * @generated
- */
- boolean isApplyBefore();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Apply Before</em>' attribute.
- * @see #isSetApplyBefore()
- * @see #unsetApplyBefore()
- * @see #isApplyBefore()
- * @generated
- */
- void setApplyBefore(boolean value);
-
- /**
- * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetApplyBefore()
- * @see #isApplyBefore()
- * @see #setApplyBefore(boolean)
- * @generated
- */
- void unsetApplyBefore();
-
- /**
- * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Apply Before</em>' attribute is set.
- * @see #unsetApplyBefore()
- * @see #isApplyBefore()
- * @see #setApplyBefore(boolean)
- * @generated
- */
- boolean isSetApplyBefore();
-
- /**
- * Returns the value of the '<em><b>Apply On Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * The name of the element on which the template is to be applied.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Apply On Element</em>' attribute.
- * @see #setApplyOnElement(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyOnElement()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='applyOnElement'"
- * @generated
- */
- String getApplyOnElement();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Apply On Element</em>' attribute.
- * @see #getApplyOnElement()
- * @generated
- */
- void setApplyOnElement(String value);
-
- /**
- * Returns the value of the '<em><b>Apply On Element NS</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- *
- * The namespace of the element on which the template is to be applied.
- *
- * <!-- end-model-doc -->
- * @return the value of the '<em>Apply On Element NS</em>' attribute.
- * @see #setApplyOnElementNS(String)
- * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyOnElementNS()
- * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
- * extendedMetaData="kind='attribute' name='applyOnElementNS'"
- * @generated
- */
- String getApplyOnElementNS();
-
- /**
- * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Apply On Element NS</em>' attribute.
- * @see #getApplyOnElementNS()
- * @generated
- */
- void setApplyOnElementNS(String value);
-
-} // Xsl
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslFactory.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslFactory.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,100 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.XslPackage
- * @generated
- */
-public interface XslFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- XslFactory eINSTANCE = org.jboss.tools.smooks.model.xsl.impl.XslFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Bind To</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bind To</em>'.
- * @generated
- */
- BindTo createBindTo();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Inline</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Inline</em>'.
- * @generated
- */
- Inline createInline();
-
- /**
- * Returns a new object of class '<em>Output To</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Output To</em>'.
- * @generated
- */
- OutputTo createOutputTo();
-
- /**
- * Returns a new object of class '<em>Template</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Template</em>'.
- * @generated
- */
- Template createTemplate();
-
- /**
- * Returns a new object of class '<em>Use</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Use</em>'.
- * @generated
- */
- Use createUse();
-
- /**
- * Returns a new object of class '<em>Xsl</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Xsl</em>'.
- * @generated
- */
- Xsl createXsl();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- XslPackage getXslPackage();
-
-} //XslFactory
Deleted: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslPackage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslPackage.java 2010-04-23 03:06:00 UTC (rev 21622)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/xsl/XslPackage.java 2010-04-23 03:09:58 UTC (rev 21623)
@@ -1,1115 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.jboss.tools.smooks.model.xsl;
-
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.jboss.tools.smooks.model.common.CommonPackage;
-import org.jboss.tools.smooks.model.smooks.SmooksPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * XSL Templating Configuration
- * <!-- end-model-doc -->
- * @see org.jboss.tools.smooks.model.xsl.XslFactory
- * @model kind="package"
- * @generated
- */
-public interface XslPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "xsl"; //$NON-NLS-1$
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.milyn.org/xsd/smooks/xsl-1.1.xsd"; //$NON-NLS-1$
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "xsl"; //$NON-NLS-1$
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- XslPackage eINSTANCE = org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.BindToImpl <em>Bind To</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.BindToImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getBindTo()
- * @generated
- */
- int BIND_TO = 0;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BIND_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BIND_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BIND_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BIND_TO__ID = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Bind To</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BIND_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 1;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Xsl</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSL = 3;
-
- /**
- * The number of structural features of the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.InlineImpl <em>Inline</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.InlineImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInline()
- * @generated
- */
- int INLINE = 2;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INLINE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INLINE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INLINE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Directive</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INLINE__DIRECTIVE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Inline</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INLINE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.OutputToImpl <em>Output To</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.OutputToImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getOutputTo()
- * @generated
- */
- int OUTPUT_TO = 3;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Output Stream Resource</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_TO__OUTPUT_STREAM_RESOURCE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Output To</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OUTPUT_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl <em>Template</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.TemplateImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getTemplate()
- * @generated
- */
- int TEMPLATE = 4;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Encoding</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE__ENCODING = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Template</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TEMPLATE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl <em>Use</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.UseImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getUse()
- * @generated
- */
- int USE = 5;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Inline</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__INLINE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Bind To</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__BIND_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Output To</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE__OUTPUT_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Use</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl <em>Xsl</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.XslImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getXsl()
- * @generated
- */
- int XSL = 6;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
-
- /**
- * The feature id for the '<em><b>Any</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
-
- /**
- * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
-
- /**
- * The feature id for the '<em><b>Condition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
-
- /**
- * The feature id for the '<em><b>Target Profile</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
-
- /**
- * The feature id for the '<em><b>Template</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__TEMPLATE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Use</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__USE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Param</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__PARAM = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Apply Before</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__APPLY_BEFORE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Apply On Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__APPLY_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Apply On Element NS</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL__APPLY_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the '<em>Xsl</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int XSL_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirective()
- * @generated
- */
- int INLINE_DIRECTIVE = 7;
-
- /**
- * The meta object id for the '<em>Inline Directive Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirectiveObject()
- * @generated
- */
- int INLINE_DIRECTIVE_OBJECT = 8;
-
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.BindTo <em>Bind To</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bind To</em>'.
- * @see org.jboss.tools.smooks.model.xsl.BindTo
- * @generated
- */
- EClass getBindTo();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.jboss.tools.smooks.model.xsl.BindTo#getId()
- * @see #getBindTo()
- * @generated
- */
- EAttribute getBindTo_Id();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see org.jboss.tools.smooks.model.xsl.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see org.jboss.tools.smooks.model.xsl.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see org.jboss.tools.smooks.model.xsl.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see org.jboss.tools.smooks.model.xsl.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Xsl</em>'.
- * @see org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Xsl();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Inline <em>Inline</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Inline</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Inline
- * @generated
- */
- EClass getInline();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Directive</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Inline#getDirective()
- * @see #getInline()
- * @generated
- */
- EAttribute getInline_Directive();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.OutputTo <em>Output To</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Output To</em>'.
- * @see org.jboss.tools.smooks.model.xsl.OutputTo
- * @generated
- */
- EClass getOutputTo();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Output Stream Resource</em>'.
- * @see org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource()
- * @see #getOutputTo()
- * @generated
- */
- EAttribute getOutputTo_OutputStreamResource();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Template <em>Template</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Template</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Template
- * @generated
- */
- EClass getTemplate();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Template#getValue()
- * @see #getTemplate()
- * @generated
- */
- EAttribute getTemplate_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Encoding</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Template#getEncoding()
- * @see #getTemplate()
- * @generated
- */
- EAttribute getTemplate_Encoding();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Use <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Use</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Use
- * @generated
- */
- EClass getUse();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Inline</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Use#getInline()
- * @see #getUse()
- * @generated
- */
- EReference getUse_Inline();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Bind To</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Use#getBindTo()
- * @see #getUse()
- * @generated
- */
- EReference getUse_BindTo();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Output To</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Use#getOutputTo()
- * @see #getUse()
- * @generated
- */
- EReference getUse_OutputTo();
-
- /**
- * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Xsl <em>Xsl</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Xsl</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl
- * @generated
- */
- EClass getXsl();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Template</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#getTemplate()
- * @see #getXsl()
- * @generated
- */
- EReference getXsl_Template();
-
- /**
- * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Use</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#getUse()
- * @see #getXsl()
- * @generated
- */
- EReference getXsl_Use();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.xsl.Xsl#getParam <em>Param</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Param</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#getParam()
- * @see #getXsl()
- * @generated
- */
- EReference getXsl_Param();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Apply Before</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore()
- * @see #getXsl()
- * @generated
- */
- EAttribute getXsl_ApplyBefore();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Apply On Element</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement()
- * @see #getXsl()
- * @generated
- */
- EAttribute getXsl_ApplyOnElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Apply On Element NS</em>'.
- * @see org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS()
- * @see #getXsl()
- * @generated
- */
- EAttribute getXsl_ApplyOnElementNS();
-
- /**
- * Returns the meta object for enum '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Inline Directive</em>'.
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @generated
- */
- EEnum getInlineDirective();
-
- /**
- * Returns the meta object for data type '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>Inline Directive Object</em>'.
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @model instanceClass="xsl.InlineDirective"
- * extendedMetaData="name='inlineDirective:Object' baseType='inlineDirective'"
- * @generated
- */
- EDataType getInlineDirectiveObject();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- XslFactory getXslFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.BindToImpl <em>Bind To</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.BindToImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getBindTo()
- * @generated
- */
- EClass BIND_TO = eINSTANCE.getBindTo();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BIND_TO__ID = eINSTANCE.getBindTo_Id();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getDocumentRoot()
- * @generated
- */
- EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
-
- /**
- * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
-
- /**
- * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
-
- /**
- * The meta object literal for the '<em><b>Xsl</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XSL = eINSTANCE.getDocumentRoot_Xsl();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.InlineImpl <em>Inline</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.InlineImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInline()
- * @generated
- */
- EClass INLINE = eINSTANCE.getInline();
-
- /**
- * The meta object literal for the '<em><b>Directive</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INLINE__DIRECTIVE = eINSTANCE.getInline_Directive();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.OutputToImpl <em>Output To</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.OutputToImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getOutputTo()
- * @generated
- */
- EClass OUTPUT_TO = eINSTANCE.getOutputTo();
-
- /**
- * The meta object literal for the '<em><b>Output Stream Resource</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OUTPUT_TO__OUTPUT_STREAM_RESOURCE = eINSTANCE.getOutputTo_OutputStreamResource();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl <em>Template</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.TemplateImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getTemplate()
- * @generated
- */
- EClass TEMPLATE = eINSTANCE.getTemplate();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TEMPLATE__VALUE = eINSTANCE.getTemplate_Value();
-
- /**
- * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TEMPLATE__ENCODING = eINSTANCE.getTemplate_Encoding();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl <em>Use</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.UseImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getUse()
- * @generated
- */
- EClass USE = eINSTANCE.getUse();
-
- /**
- * The meta object literal for the '<em><b>Inline</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USE__INLINE = eINSTANCE.getUse_Inline();
-
- /**
- * The meta object literal for the '<em><b>Bind To</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USE__BIND_TO = eINSTANCE.getUse_BindTo();
-
- /**
- * The meta object literal for the '<em><b>Output To</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USE__OUTPUT_TO = eINSTANCE.getUse_OutputTo();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl <em>Xsl</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.impl.XslImpl
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getXsl()
- * @generated
- */
- EClass XSL = eINSTANCE.getXsl();
-
- /**
- * The meta object literal for the '<em><b>Template</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XSL__TEMPLATE = eINSTANCE.getXsl_Template();
-
- /**
- * The meta object literal for the '<em><b>Use</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XSL__USE = eINSTANCE.getXsl_Use();
-
- /**
- * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference XSL__PARAM = eINSTANCE.getXsl_Param();
-
- /**
- * The meta object literal for the '<em><b>Apply Before</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XSL__APPLY_BEFORE = eINSTANCE.getXsl_ApplyBefore();
-
- /**
- * The meta object literal for the '<em><b>Apply On Element</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XSL__APPLY_ON_ELEMENT = eINSTANCE.getXsl_ApplyOnElement();
-
- /**
- * The meta object literal for the '<em><b>Apply On Element NS</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute XSL__APPLY_ON_ELEMENT_NS = eINSTANCE.getXsl_ApplyOnElementNS();
-
- /**
- * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirective()
- * @generated
- */
- EEnum INLINE_DIRECTIVE = eINSTANCE.getInlineDirective();
-
- /**
- * The meta object literal for the '<em>Inline Directive Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.jboss.tools.smooks.model.xsl.InlineDirective
- * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirectiveObject()
- * @generated
- */
- EDataType INLINE_DIRECTIVE_OBJECT = eINSTANCE.getInlineDirectiveObject();
-
- }
-
-} //XslPackage
14 years, 8 months
JBoss Tools SVN: r21622 - branches/modular_build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-22 23:06:00 -0400 (Thu, 22 Apr 2010)
New Revision: 21622
Modified:
branches/modular_build/build.xml
Log:
fix instructions for building w/o running tests
Modified: branches/modular_build/build.xml
===================================================================
--- branches/modular_build/build.xml 2010-04-23 03:03:47 UTC (rev 21621)
+++ branches/modular_build/build.xml 2010-04-23 03:06:00 UTC (rev 21622)
@@ -25,7 +25,7 @@
<!-- To run this script via commandline (build default modules & run tests):
cd /home/nboldt/workspace36/jbosstools-modular_build; ant
or, to build everything but not *run* the tests:
- cd /home/nboldt/workspace36/jbosstools-modular_build; ant -Dmaven.test.skip
+ cd /home/nboldt/workspace36/jbosstools-modular_build; ant -DMAVEN_FLAGS="-Dmaven.test.skip"
or, to build specific module(s):
cd /home/nboldt/workspace36/jbosstools-modular_build; ant -DCOMPONENTS=tests,common,flow,jbpm
-->
14 years, 8 months
JBoss Tools SVN: r21621 - branches/modular_build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-22 23:03:47 -0400 (Thu, 22 Apr 2010)
New Revision: 21621
Modified:
branches/modular_build/build.xml
Log:
corrected order of COMPONENTS
Modified: branches/modular_build/build.xml
===================================================================
--- branches/modular_build/build.xml 2010-04-23 02:58:14 UTC (rev 21620)
+++ branches/modular_build/build.xml 2010-04-23 03:03:47 UTC (rev 21621)
@@ -2,10 +2,17 @@
<project default="run" basedir="." name="jbosstools build.xml">
<!-- Configuration Start -->
- <!-- must set name of component to build/test -->
- <!-- <property name="COMPONENTS" value="tests,common" /> -->
+ <!-- must set name of component to build/test, IN ORDER -->
<property name="COMPONENTS"
- value="tests, common, flow, jbpm, jmx, archives, as, drools, bpel, smooks, freemarker, profiler, portlet, xulrunner, jst, vpe, jsf, esb, tptp, ws, cdi, struts, seam, examples, birt, maven, hibernatetools"
+ value="tests, common,
+ flow, jbpm,
+ jmx, archives, as,
+ drools, bpel, smooks, freemarker, profiler, portlet,
+ xulrunner, jst, vpe, jsf,
+ esb, tptp, ws,
+ cdi, struts, hibernatetools, seam,
+ examples, birt,
+ maven"
/>
<!-- default maven version -->
@@ -15,10 +22,12 @@
<!-- To run this script in Eclipse:
Run As > Ant Build
-->
- <!-- To run this script via commandline (build default module, tests):
+ <!-- To run this script via commandline (build default modules & run tests):
cd /home/nboldt/workspace36/jbosstools-modular_build; ant
- or, to build a specific module:
- cd /home/nboldt/workspace36/jbosstools-modular_build; ant -DCOMPONENTS=tests,common
+ or, to build everything but not *run* the tests:
+ cd /home/nboldt/workspace36/jbosstools-modular_build; ant -Dmaven.test.skip
+ or, to build specific module(s):
+ cd /home/nboldt/workspace36/jbosstools-modular_build; ant -DCOMPONENTS=tests,common,flow,jbpm
-->
<target name="run" depends="init, genpoms, install" />
14 years, 8 months
JBoss Tools SVN: r21620 - branches/modular_build/jst/plugins/org.jboss.tools.jst.web/META-INF.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-22 22:58:14 -0400 (Thu, 22 Apr 2010)
New Revision: 21620
Modified:
branches/modular_build/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
Log:
add org.eclipse.jem.util to require-bundle
Modified: branches/modular_build/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
===================================================================
--- branches/modular_build/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2010-04-22 17:36:04 UTC (rev 21619)
+++ branches/modular_build/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2010-04-23 02:58:14 UTC (rev 21620)
@@ -1,55 +1,57 @@
-Manifest-Version: 1.0
-Bundle-ActivationPolicy: lazy
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name.0
-Bundle-ClassPath: .
-Bundle-Activator: org.jboss.tools.jst.web.WebModelPlugin
-Bundle-Vendor: %providerName
-Plugin-Class: org.jboss.tools.jst.web.WebModelPlugin
-Bundle-SymbolicName: org.jboss.tools.jst.web;singleton:=true
-Bundle-Localization: plugin
-Require-Bundle: org.jboss.tools.common.model;visibility:=reexport,
- org.jboss.tools.common.projecttemplates;visibility:=reexport,
- org.eclipse.ui,
- org.eclipse.jdt.launching,
- org.eclipse.debug.ui,
- org.eclipse.jdt.debug,
- org.eclipse.wst.server.core,
- org.eclipse.wst.sse.core,
- org.eclipse.jst.j2ee,
- org.eclipse.ltk.core.refactoring,
- org.eclipse.jst.jsp.core,
- org.eclipse.jst.j2ee.core;bundle-version="1.1.300",
- org.eclipse.wst.common.project.facet.core;bundle-version="1.4.0"
-Bundle-Version: 3.1.0.qualifier
-Export-Package:
- org.jboss.tools.jst.web,
- org.jboss.tools.jst.web.browser,
- org.jboss.tools.jst.web.browser.wtp,
- org.jboss.tools.jst.web.context,
- org.jboss.tools.jst.web.launching.sourcelookup,
- org.jboss.tools.jst.web.launching.sourcelookup.xpl,
- org.jboss.tools.jst.web.messages.xpl,
- org.jboss.tools.jst.web.model,
- org.jboss.tools.jst.web.model.handlers,
- org.jboss.tools.jst.web.model.helpers,
- org.jboss.tools.jst.web.model.helpers.autolayout,
- org.jboss.tools.jst.web.model.process,
- org.jboss.tools.jst.web.model.pv,
- org.jboss.tools.jst.web.model.pv.handler,
- org.jboss.tools.jst.web.model.tree,
- org.jboss.tools.jst.web.model.project.ext.store,
- org.jboss.tools.jst.web.project,
- org.jboss.tools.jst.web.project.handlers,
- org.jboss.tools.jst.web.project.helpers,
- org.jboss.tools.jst.web.project.list,
- org.jboss.tools.jst.web.project.version,
- org.jboss.tools.jst.web.refactoring,
- org.jboss.tools.jst.web.server,
- org.jboss.tools.jst.web.tld,
- org.jboss.tools.jst.web.tld.model,
- org.jboss.tools.jst.web.tld.model.handlers,
- org.jboss.tools.jst.web.tld.model.helpers,
- org.jboss.tools.jst.web.webapp.model,
- org.jboss.tools.jst.web.webapp.model.handlers
+Manifest-Version: 1.0
+Bundle-ActivationPolicy: lazy
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name.0
+Bundle-ClassPath: .
+Bundle-Activator: org.jboss.tools.jst.web.WebModelPlugin
+Bundle-Vendor: %providerName
+Plugin-Class: org.jboss.tools.jst.web.WebModelPlugin
+Bundle-SymbolicName: org.jboss.tools.jst.web;singleton:=true
+Bundle-Localization: plugin
+Require-Bundle: org.jboss.tools.common.model;visibility:=reexport,
+ org.jboss.tools.common.projecttemplates;visibility:=reexport,
+ org.eclipse.ui,
+ org.eclipse.jdt.launching,
+ org.eclipse.debug.ui,
+ org.eclipse.jdt.debug,
+ org.eclipse.wst.server.core,
+ org.eclipse.jem.util,
+ org.eclipse.wst.sse.core,
+ org.eclipse.jst.j2ee,
+ org.eclipse.ltk.core.refactoring,
+ org.eclipse.jst.jsp.core,
+ org.eclipse.jst.j2ee.core;bundle-version="1.1.300",
+ org.eclipse.wst.common.project.facet.core;bundle-version="1.4.0"
+Bundle-Version: 3.1.0.qualifier
+Export-Package:
+ org.jboss.tools.jst.web,
+ org.jboss.tools.jst.web.browser,
+ org.jboss.tools.jst.web.browser.wtp,
+ org.jboss.tools.jst.web.context,
+ org.jboss.tools.jst.web.launching.sourcelookup,
+ org.jboss.tools.jst.web.launching.sourcelookup.xpl,
+ org.jboss.tools.jst.web.messages.xpl,
+ org.jboss.tools.jst.web.model,
+ org.jboss.tools.jst.web.model.handlers,
+ org.jboss.tools.jst.web.model.helpers,
+ org.jboss.tools.jst.web.model.helpers.autolayout,
+ org.jboss.tools.jst.web.model.process,
+ org.jboss.tools.jst.web.model.pv,
+ org.jboss.tools.jst.web.model.pv.handler,
+ org.jboss.tools.jst.web.model.tree,
+ org.jboss.tools.jst.web.model.project.ext.store,
+ org.jboss.tools.jst.web.project,
+ org.jboss.tools.jst.web.project.handlers,
+ org.jboss.tools.jst.web.project.helpers,
+ org.jboss.tools.jst.web.project.list,
+ org.jboss.tools.jst.web.project.version,
+ org.jboss.tools.jst.web.refactoring,
+ org.jboss.tools.jst.web.server,
+ org.jboss.tools.jst.web.tld,
+ org.jboss.tools.jst.web.tld.model,
+ org.jboss.tools.jst.web.tld.model.handlers,
+ org.jboss.tools.jst.web.tld.model.helpers,
+ org.jboss.tools.jst.web.webapp.model,
+ org.jboss.tools.jst.web.webapp.model.handlers
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+
14 years, 8 months
JBoss Tools SVN: r21619 - branches/modular_build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-04-22 13:36:04 -0400 (Thu, 22 Apr 2010)
New Revision: 21619
Modified:
branches/modular_build/build.xml
Log:
https://jira.jboss.org/jira/browse/JBQA-3313 Use static, shared space outside workspace, instead of working directly in the workspace :: add debug output
Modified: branches/modular_build/build.xml
===================================================================
--- branches/modular_build/build.xml 2010-04-22 16:20:22 UTC (rev 21618)
+++ branches/modular_build/build.xml 2010-04-22 17:36:04 UTC (rev 21619)
@@ -65,6 +65,7 @@
<available file="/home/hudson/static_build_env/jbds" type="dir" />
</condition>
<mkdir dir="${COMMON_TOOLS}" />
+ <echo>COMMON_TOOLS = ${COMMON_TOOLS}</echo>
<available file="${COMMON_TOOLS}/ant-contrib.jar" type="file" property="ant-contrib.jar.exists" />
<antcall target="get.ant-contrib" />
14 years, 8 months
JBoss Tools SVN: r21618 - branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-04-22 12:20:22 -0400 (Thu, 22 Apr 2010)
New Revision: 21618
Modified:
branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5746
Modified: branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java
===================================================================
--- branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java 2010-04-22 16:17:05 UTC (rev 21617)
+++ branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java 2010-04-22 16:20:22 UTC (rev 21618)
@@ -230,7 +230,19 @@
};
Map<IAction, ActionHandler> used = new HashMap<IAction, ActionHandler>();
- Map<String, IHandlerActivation> registered = new HashMap<String, IHandlerActivation>();
+ Map<String, Deactivator> registered = new HashMap<String, Deactivator>();
+
+ class Deactivator {
+ IHandlerService service;
+ IHandlerActivation handler;
+ Deactivator(IHandlerService service, IHandlerActivation handler) {
+ this.service = service;
+ this.handler = handler;
+ }
+ void deactivate() {
+ service.deactivateHandler(handler);
+ }
+ }
public void registerKeyBindings(IHandlerService handler, String[] actions, ITextEditor editor) {
for (int i = 0; i < actions.length; i++) {
@@ -250,10 +262,10 @@
used.put(action, h);
}
String id = action.getId();
- IHandlerActivation c = registered.get(id);
- if(c != null) handler.deactivateHandler(c);
+ Deactivator c = registered.remove(command);
+ if(c != null) c.deactivate();
IHandlerActivation a = handler.activateHandler(command, h);
- if(a != null) registered.put(id, a);
+ if(a != null) registered.put(command, new Deactivator(handler, a));
}
public void dispose() {
14 years, 8 months
JBoss Tools SVN: r21617 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-04-22 12:17:05 -0400 (Thu, 22 Apr 2010)
New Revision: 21617
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5746
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java 2010-04-22 16:12:42 UTC (rev 21616)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/AbstractMultiPageContributor.java 2010-04-22 16:17:05 UTC (rev 21617)
@@ -230,7 +230,19 @@
};
Map<IAction, ActionHandler> used = new HashMap<IAction, ActionHandler>();
- Map<String, IHandlerActivation> registered = new HashMap<String, IHandlerActivation>();
+ Map<String, Deactivator> registered = new HashMap<String, Deactivator>();
+
+ class Deactivator {
+ IHandlerService service;
+ IHandlerActivation handler;
+ Deactivator(IHandlerService service, IHandlerActivation handler) {
+ this.service = service;
+ this.handler = handler;
+ }
+ void deactivate() {
+ service.deactivateHandler(handler);
+ }
+ }
public void registerKeyBindings(IHandlerService handler, String[] actions, ITextEditor editor) {
for (int i = 0; i < actions.length; i++) {
@@ -250,10 +262,10 @@
used.put(action, h);
}
String id = action.getId();
- IHandlerActivation c = registered.get(id);
- if(c != null) handler.deactivateHandler(c);
+ Deactivator c = registered.remove(command);
+ if(c != null) c.deactivate();
IHandlerActivation a = handler.activateHandler(command, h);
- if(a != null) registered.put(id, a);
+ if(a != null) registered.put(command, new Deactivator(handler, a));
}
public void dispose() {
14 years, 8 months
JBoss Tools SVN: r21616 - in branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi: internal/core/impl/definition and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-04-22 12:12:42 -0400 (Thu, 22 Apr 2010)
New Revision: 21616
Modified:
branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java
branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5948
Modified: branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
===================================================================
--- branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-04-22 15:43:24 UTC (rev 21615)
+++ branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2010-04-22 16:12:42 UTC (rev 21616)
@@ -37,11 +37,7 @@
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeParameter;
-import org.jboss.tools.cdi.internal.core.impl.CDIAnnotationElement;
-import org.jboss.tools.cdi.internal.core.impl.ParametedType;
import org.jboss.tools.cdi.internal.core.impl.definition.AnnotationHelper;
-import org.jboss.tools.cdi.internal.core.impl.definition.ParametedTypeFactory;
import org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate;
import org.jboss.tools.cdi.internal.core.scanner.FileSet;
import org.jboss.tools.common.EclipseUtil;
@@ -144,10 +140,13 @@
n.getDefinitions().newWorkingCopy(kind == FULL_BUILD);
if(n.getClassPath().update()) {
+ n.getClassPath().setSrcs(getResourceVisitor().srcs);
Map<String, XModelObject> newJars = n.getClassPath().process();
buildJars(newJars);
n.getClassPath().validateProjectDependencies();
+
+ kind = FULL_BUILD;
} else if(n.getClassPath().hasToUpdateProjectDependencies()) {
n.getClassPath().validateProjectDependencies();
}
Modified: branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
===================================================================
--- branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-04-22 15:43:24 UTC (rev 21615)
+++ branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2010-04-22 16:12:42 UTC (rev 21616)
@@ -12,9 +12,7 @@
import java.io.File;
import java.io.IOException;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
import org.eclipse.core.resources.ICommand;
import org.eclipse.core.resources.IProject;
@@ -268,7 +266,7 @@
public void pathRemoved(IPath source) {
// sourcePaths2.remove(source);
- definitions.clean(source);
+ definitions.getWorkingCopy().clean(source);
//TODO
}
Modified: branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java
===================================================================
--- branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java 2010-04-22 15:43:24 UTC (rev 21615)
+++ branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java 2010-04-22 16:12:42 UTC (rev 21616)
@@ -33,6 +33,7 @@
protected IJavaProject javaProject;
private Set<String> types = new HashSet<String>();
+ private Map<IPath, Set<IPath>> childPaths = new HashMap<IPath, Set<IPath>>();
private Map<IPath, Set<String>> resources = new HashMap<IPath, Set<String>>();
private Map<String, TypeDefinition> typeDefinitions = new HashMap<String, TypeDefinition>();
private Map<String, AnnotationDefinition> annotations = new HashMap<String, AnnotationDefinition>();
@@ -60,6 +61,14 @@
copy.resources.put(p, s1);
}
}
+ for (IPath p: childPaths.keySet()) {
+ Set<IPath> set = childPaths.get(p);
+ if(set != null) {
+ Set<IPath> s1 = new HashSet<IPath>();
+ s1.addAll(set);
+ copy.childPaths.put(p, s1);
+ }
+ }
copy.beanXMLs.putAll(beanXMLs);
}
@@ -88,6 +97,7 @@
}
ts.add(typeName);
types.add(typeName);
+ addToParents(file);
}
if(def != null) {
if(def instanceof AnnotationDefinition) {
@@ -106,9 +116,25 @@
synchronized (beanXMLs) {
beanXMLs.put(path, def);
}
+ addToParents(path);
}
+ private void addToParents(IPath file) {
+ if(file == null) return;
+ if(file.segmentCount() < 2) return;
+ IPath q = file;
+ while(q.segmentCount() >= 2) {
+ q = q.removeLastSegments(1);
+ Set<IPath> cs = childPaths.get(q);
+ if(cs == null) {
+ childPaths.put(q, cs = new HashSet<IPath>());
+ }
+ cs.add(file);
+ }
+ }
+
public void clean() {
+ childPaths.clear();
resources.clear();
types.clear();
synchronized (typeDefinitions) {
@@ -136,8 +162,33 @@
synchronized (beanXMLs) {
beanXMLs.remove(path);
}
+
+ Set<IPath> cs = childPaths.get(path);
+ if(cs != null) {
+ IPath[] ps = cs.toArray(new IPath[0]);
+ for (IPath p: ps) {
+ clean(p);
+ }
+ } else {
+ removeFromParents(path);
+ }
}
+ void removeFromParents(IPath file) {
+ if(file == null) return;
+ IPath q = file;
+ while(q.segmentCount() >= 2) {
+ q = q.removeLastSegments(1);
+ Set<IPath> cs = childPaths.get(q);
+ if(cs != null) {
+ cs.remove(file);
+ if(cs.isEmpty()) {
+ childPaths.remove(q);
+ }
+ }
+ }
+ }
+
private Set<String> underConstruction = new HashSet<String>();
public int getAnnotationKind(IType annotationType) {
@@ -217,6 +268,7 @@
types = workingCopy.types;
resources = workingCopy.resources;
+ childPaths = workingCopy.childPaths;
typeDefinitions = workingCopy.typeDefinitions;
annotations = workingCopy.annotations;
Modified: branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
===================================================================
--- branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2010-04-22 15:43:24 UTC (rev 21615)
+++ branches/jbosstools-3.1.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2010-04-22 16:12:42 UTC (rev 21616)
@@ -13,11 +13,14 @@
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.Set;
import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.jboss.tools.cdi.core.CDICoreNature;
import org.jboss.tools.common.model.XModelObject;
@@ -28,6 +31,7 @@
import org.jboss.tools.jst.web.kb.internal.scanner.ScannerException;
public class ClassPathMonitor extends AbstractClassPathMonitor<CDICoreNature>{
+ IPath[] srcs = new IPath[0];
public ClassPathMonitor(CDICoreNature project) {
this.project = project;
@@ -78,4 +82,17 @@
return project.getProject();
}
+ public void setSrcs(IPath[] newSrcs) {
+ Set<IPath> ss = new HashSet<IPath>();
+ for (IPath s: newSrcs) {
+ ss.add(s);
+ }
+ for (IPath s: srcs) {
+ if(!ss.contains(s)) {
+ project.pathRemoved(s);
+ }
+ }
+ srcs = newSrcs;
+ }
+
}
14 years, 8 months
JBoss Tools SVN: r21615 - branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-04-22 11:43:24 -0400 (Thu, 22 Apr 2010)
New Revision: 21615
Modified:
branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5866
Modified: branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java
===================================================================
--- branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java 2010-04-22 15:18:04 UTC (rev 21614)
+++ branches/jbosstools-3.1.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/ObjectMultiPageEditor.java 2010-04-22 15:43:24 UTC (rev 21615)
@@ -23,12 +23,10 @@
import org.jboss.tools.common.model.util.XModelTreeListenerSWTSync;
import org.jboss.tools.common.model.ui.outline.XModelObjectContentOutlineProvider;
import org.jboss.tools.common.model.ui.select.XModelObjectSelectionProvider;
-import org.jboss.tools.common.model.ui.wizards.one.ServiceDialogOption;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.*;
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.viewers.*;
-import org.eclipse.swt.SWT;
import org.eclipse.swt.events.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.ui.*;
@@ -36,7 +34,6 @@
import org.eclipse.ui.dialogs.SaveAsDialog;
import org.eclipse.ui.editors.text.TextEditor;
import org.eclipse.ui.ide.IGotoMarker;
-import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
import org.eclipse.ui.part.MultiPageEditorPart;
import org.eclipse.ui.part.MultiPageEditorSite;
@@ -46,11 +43,8 @@
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
-import org.osgi.framework.Bundle;
import org.jboss.tools.common.meta.action.XAction;
import org.jboss.tools.common.meta.action.XActionInvoker;
-import org.jboss.tools.common.meta.key.WizardKeys;
-import org.jboss.tools.common.model.ServiceDialog;
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.model.XModelException;
import org.jboss.tools.common.model.XModelObject;
@@ -99,7 +93,15 @@
protected void setInput(IEditorInput input) {
super.setInput(XModelObjectEditorInput.checkInput(input));
updateFile();
- firePropertyChange(IEditorPart.PROP_INPUT);
+ if(Display.getCurrent() == null) {
+ Display.getDefault().asyncExec(new Runnable(){
+ public void run() {
+ firePropertyChange(IEditorPart.PROP_INPUT);
+ }
+ });
+ } else {
+ firePropertyChange(IEditorPart.PROP_INPUT);
+ }
}
protected IEditorSite createSite(IEditorPart editor) {
@@ -421,11 +423,10 @@
}
}
} else {
- int offset = marker.getAttribute(IMarker.CHAR_START, -1);
- int length = marker.getAttribute(IMarker.CHAR_END, -1);
- if (offset > -1 && length > -1) {
- postponedTextSelection.clean();
- if(textEditor != null) textEditor.gotoMarker(marker);
+ postponedTextSelection.clean();
+ if(textEditor != null) {
+ switchToPage(getSourcePageIndex());
+ textEditor.gotoMarker(marker);
}
}
}
@@ -1121,7 +1122,7 @@
}
public void resourceChanged(IResourceChangeEvent event) {
- IEditorInput ei = editorPart.getEditorInput();
+ final IEditorInput ei = editorPart.getEditorInput();
if(ei instanceof IModelObjectEditorInput) {
XModelObject o = ((IModelObjectEditorInput)ei).getXModelObject();
@@ -1146,21 +1147,20 @@
if(p instanceof FolderImpl) {
((FolderImpl)p).update();
}
- XModelObject o = EclipseResourceUtil.getObjectByResource(f);
+ final XModelObject o = EclipseResourceUtil.getObjectByResource(f);
if(f != null && f.exists() && o != null) {
if(editorPart instanceof ObjectMultiPageEditor) {
- ObjectMultiPageEditor e = (ObjectMultiPageEditor)editorPart;
+ final ObjectMultiPageEditor e = (ObjectMultiPageEditor)editorPart;
if(ei instanceof XModelObjectEditorInput) {
- IEditorInput e2 = XModelObjectEditorInput.createInstance(o);
- e.setInput(e2);
- e.updateTitle();
- if(e.textEditor instanceof AbstractTextEditor) {
- ((AbstractTextEditor)e.textEditor).setInput(e2);
- ((XModelObjectEditorInput)ei).synchronize();
- if(((XModelObjectEditorInput)ei).getXModelObject() != o) {
- closeEditor();
- return;
- }
+ final IEditorInput e2 = XModelObjectEditorInput.createInstance(o);
+ if(Display.getCurrent() == null) {
+ Display.getDefault().asyncExec(new Runnable() {
+ public void run() {
+ apply(e, o, ei, e2);
+ }
+ });
+ } else {
+ apply(e, o, ei, e2);
}
}
}
@@ -1168,6 +1168,19 @@
if(f == null || f.exists()) return;
closeEditor();
}
+
+ void apply(ObjectMultiPageEditor e, XModelObject o, IEditorInput ei, IEditorInput e2) {
+ e.setInput(e2);
+ e.updateTitle();
+ if(e.textEditor instanceof AbstractTextEditor) {
+ ((AbstractTextEditor)e.textEditor).setInput(e2);
+ ((XModelObjectEditorInput)ei).synchronize();
+ if(((XModelObjectEditorInput)ei).getXModelObject() != o) {
+ closeEditor();
+ return;
+ }
+ }
+ }
private void closeEditor() {
Display.getDefault().asyncExec(new Runnable() {
14 years, 8 months
JBoss Tools SVN: r21614 - trunk/maven/docs/maven_reference_guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2010-04-22 11:18:04 -0400 (Thu, 22 Apr 2010)
New Revision: 21614
Modified:
trunk/maven/docs/maven_reference_guide/en-US/introduction.xml
Log:
TOOLSDOC-24 -maven guide, requirements are specified, cross-reference links inside the guide are added
Modified: trunk/maven/docs/maven_reference_guide/en-US/introduction.xml
===================================================================
--- trunk/maven/docs/maven_reference_guide/en-US/introduction.xml 2010-04-22 14:51:31 UTC (rev 21613)
+++ trunk/maven/docs/maven_reference_guide/en-US/introduction.xml 2010-04-22 15:18:04 UTC (rev 21614)
@@ -20,7 +20,7 @@
<title>Introduction</title>
- <section>
+ <section id="whatmavenis">
<title>What Maven is</title>
<para>Maven is a flexible project management, build and deployment tool from Apache Foundation. Maven uses Project Object Model to describe a project and consist from the core, plugins and repository, which can be local or remote.</para>
<figure>
@@ -54,30 +54,31 @@
<tbody>
- <row>
- <entry><para>Library provider</para></entry>
- <entry><para>Maven Integration Tool provide possibility to use in Eclipse libraries, which is pointed in dependencies pom.xml section, not adding them into the project Build Path.</para>
- </entry>
- <entry><para>Library provider chapter</para></entry>
- </row>
<row>
- <entry><para>Server deployment </para> </entry>
- <entry>Server deployment is supported by Maven Integration Tools. With it you can deploy a project to the server by default Eclipse instruments.
+ <entry>J<property>Boss Maven Integration Facet</property>
</entry>
- <entry>Deploy to the JBoss Server chapter
+ <entry>The facet gives possibility to mavenizing any Dynamic Web Project.
</entry>
+ <entry><link linkend="mavenintegrationfacet">JBoss Maven Integration facet page</link>
+ </entry>
</row>
+
+ <row>
+ <entry><para><property>Library providers</property></para></entry>
+ <entry><para>Maven Integration Tool provide possibility to use libraries, which is pointed in dependencies pom.xml section, not adding them into the project Build Path.</para>
+ </entry>
+ <entry><para><link linkend="libraryproviders">Library providers chapter</link></para></entry>
+ </row>
<row>
- <entry>JBoss Maven Integration Facet
+ <entry><para><property>Server deployment</property> </para> </entry>
+ <entry><para>Server deployment is supported by Maven Integration Tools. With it you can deploy a project to the server by default Eclipse instruments.
+ </para></entry>
+ <entry><para><link linkend="serverdeploy">Deploy to the JBoss Server chapter</link></para>
</entry>
- <entry>The facet gives possibility to mavenizing any Dynamic Web Project.
- </entry>
- <entry>Mavenizing Dynamic Web Project chapter.
- </entry>
</row>
+
-
</tbody>
</tgroup>
@@ -88,21 +89,38 @@
</section>
- <section>
- <title>Requirements and Installation</title>
- <para>The JBoss Maven Integration requires m2eclipse to be installed.</para>
- <note>
- <title>Note:</title>
- <para>For M2 release of <property>JBoss Tools</property> it is important to use m2eclipse
- <ulink url="http://m2eclipse.sonatype.org/update/">stable update site</ulink> or the
- <ulink url="http://m2eclipse.sonatype.org/releases/0.9.9.200906081351">latest
- integration build</ulink> that M2 was developed against. If you want to use the
- latest development release of m2eclipse you need to use the <ulink
- url="http://download.jboss.org/jbosstools/updates/nightly/trunk/">nightly
- builds</ulink> of <property>JBoss Tools</property>.</para>
- </note>
+ <section id="requirements">
+ <title>Requirements</title>
+ <para><property>JBoss Maven Integration Tool </property>needs the following requirements: </para>
+ <itemizedlist>
+ <listitem>
+ <para><property>Eclipse 3.5.2</property> with <property>JBoss Tools 3.1</property> (you can download latest version from <ulink url="http://www.jboss.org/tools/download.html
+ ">JBoss Tool Download page</ulink>
+ </para>
+ </listitem>
+ <listitem>
+ <para><property>JBoss AS 4.2</property>, <property>EAP 4.3</property> or <property>AS 5.0 GA</property>
+ </para>
+ </listitem>
+ <listitem>
+ <para><property>Seam 2.1.1 GA</property>
+ </para>
+ </listitem>
+ <listitem>
+ <para><property>m2eclipse 0.10</property> or higher from <ulink url="http://m2eclipse.sonatype.org/sites/m2e/
+ ">Sonatype's Update Site</ulink></para>
+
+ </listitem>
+ <listitem>
+ <para><property>Maven Integration</property> for <property>WTP</property> which you can find on <ulink url="http://m2eclipse.sonatype.org/sites/m2e-extras/
+ ">Sonatype's Extras Update Site</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+
</section>
- <section>
+ <section id="resources">
<title>Other relevant resources on the topic:</title>
<itemizedlist>
<listitem>
14 years, 8 months