Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-04-16 11:30:41 +0000
committerCamille Letavernier2014-04-16 11:30:41 +0000
commit3834dc4e3747625ce1415d3e047024cf7d10e522 (patch)
tree03c41e14e64c266741b34d164546cdb7f2556784 /plugins/customization
parentf12a871dde88d2ea09453b757daf02ec4847bc5a (diff)
downloadorg.eclipse.papyrus-3834dc4e3747625ce1415d3e047024cf7d10e522.tar.gz
org.eclipse.papyrus-3834dc4e3747625ce1415d3e047024cf7d10e522.tar.xz
org.eclipse.papyrus-3834dc4e3747625ce1415d3e047024cf7d10e522.zip
432900: [Papyrus 1.0] Remove the Modisco dependency (Incubation)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432900
Diffstat (limited to 'plugins/customization')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF25
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore37
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel40
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java49
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java76
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java42
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java79
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java49
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java84
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java114
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java1025
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java162
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java39
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java39
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java216
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java165
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java39
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java264
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java162
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java257
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java39
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java183
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java474
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java282
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java311
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java260
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java105
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java193
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java22
40 files changed, 4906 insertions, 30 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath
index 2d1a4302f04..74056ab23ec 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs
index ca2faaf1f47..f287d53cf45 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs
@@ -1,8 +1,7 @@
-#Fri Feb 04 10:49:03 CET 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
new file mode 100644
index 00000000000..8fb2b8eb4eb
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="ASCII"?>
+<uriMap:MappingContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uriMap="http:///www.eclipse.org/m2m/qvt/oml/MModelUriMap/1.0.0">
+ <mapping sourceURI="http://www.eclipse.org/papyrus/xwt/XML" targetURI="platform:/resource/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore"/>
+</uriMap:MappingContainer>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF
index 7cca040bda6..38fd68a9b0c 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF
@@ -1,25 +1,26 @@
Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.customization.properties.model.xwt
- .resource
+Export-Package: org.eclipse.papyrus.customization.properties.model.xwt.resource,
+ org.eclipse.papyrus.customization.properties.model.xwt.xwtxml,
+ org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl,
+ org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.util
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
+ org.eclipse.emf.ecore,
org.eclipse.m2m.qvt.oml;bundle-version="3.1.0",
- org.eclipse.gmt.modisco.xml;bundle-version="0.9.0",
- org.eclipse.gmt.modisco.xml.discoverer;bundle-version="0.9.0",
org.eclipse.papyrus.views.properties;bundle-version="1.0.0",
org.eclipse.papyrus.views.properties.model;bundle-version="1.0.0",
org.eclipse.papyrus.infra.core.log;bundle-version="1.0.0",
- org.eclipse.wst.xml.core;bundle-version="1.1.600",
- org.eclipse.core.resources;bundle-version="3.7.100",
- org.eclipse.m2m.qvt.oml.project;bundle-version="3.1.0"
+ org.eclipse.wst.xml.core;bundle-version="1.1.0",
+ org.eclipse.core.resources;bundle-version="3.7.0",
+ org.eclipse.m2m.qvt.oml.project;bundle-version="3.1.0",
+ com.ibm.icu
Bundle-Vendor: %Bundle-Vendor
Bundle-ActivationPolicy: lazy
Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: .
Bundle-Name: %Bundle-Name
-Bundle-Activator: org.eclipse.papyrus.customization.properties.model.x
- wt.Activator
+Bundle-Activator: org.eclipse.papyrus.customization.properties.model.xwt.Activator
Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.mode
- l.xwt;singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.model.xwt;singleton:=true
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
index ee90e8600cc..c84c2640efb 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
@@ -1,4 +1,4 @@
-modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
+modeltype XML uses "http://www.eclipse.org/papyrus/xwt/XML";
modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
index 7518a791d68..4622d426385 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
@@ -1,4 +1,4 @@
-modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
+modeltype XML uses "http://www.eclipse.org/papyrus/xwt/XML";
modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
modeltype PropertiesRoot uses "http://www.eclipse.org/papyrus/properties/root";
modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties
index 129fcd5efe3..929efa3dcdc 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties
@@ -1,8 +1,14 @@
#
#Mon Sep 12 09:30:05 CEST 2011
-bin.includes=META-INF/,.,plugin.xml,Transformation/,OSGI-INF/,about.html
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ Transformation/,\
+ OSGI-INF/,\
+ about.html
output..=bin/
src.includes = about.html,\
xwt-model.pdoc
-source..=src/
+source.. = src/,\
+ src-gen/
bin..=bin/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore
new file mode 100644
index 00000000000..5d171fd3645
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="xwtxml" nsURI="http://www.eclipse.org/papyrus/xwt/XML" nsPrefix="xwtxml">
+ <eClassifiers xsi:type="ecore:EClass" name="Node" abstract="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false"
+ eType="#//Element" eOpposite="#//Element/children"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//Node">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
+ unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Text" eSuperTypes="#//Node"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Element" eSuperTypes="#//Node">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
+ eType="#//Node" containment="true" eOpposite="#//Node/parent"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Root" eSuperTypes="#//Element">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="namespaces" upperBound="-1"
+ eType="#//Namespace" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dtd" eType="#//DocumentTypeDeclaration"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="leadingPIs" upperBound="-1"
+ eType="#//ProcessingInstruction" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Namespace" eSuperTypes="#//Attribute"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//Node"/>
+ <eClassifiers xsi:type="ecore:EClass" name="DocumentTypeDeclaration" eSuperTypes="#//Node">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="publicID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="systemID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CDATA" eSuperTypes="#//Text"/>
+ <eClassifiers xsi:type="ecore:EClass" name="ProcessingInstruction" eSuperTypes="#//Node">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="data" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel
new file mode 100644
index 00000000000..5c36c07b9fe
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.customization.properties.model.xwt/src-gen"
+ editDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.edit/src-gen"
+ editorDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.editor/src-gen"
+ modelPluginID="org.eclipse.papyrus.customization.properties.model.xwt" modelName="Xml"
+ rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testsDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.tests/src-gen"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false"
+ operationReflection="true" importOrganizing="true">
+ <foreignModel>xml.ecore</foreignModel>
+ <genPackages prefix="Xwtxml" basePackage="org.eclipse.papyrus.customization.properties.model.xwt"
+ disposableProviderFactory="true" ecorePackage="xml.ecore#/">
+ <genClasses image="false" ecoreClass="xml.ecore#//Node">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//Node/name"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xml.ecore#//Node/parent"/>
+ </genClasses>
+ <genClasses ecoreClass="xml.ecore#//Attribute">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//Attribute/value"/>
+ </genClasses>
+ <genClasses ecoreClass="xml.ecore#//Text"/>
+ <genClasses ecoreClass="xml.ecore#//Element">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Element/children"/>
+ </genClasses>
+ <genClasses ecoreClass="xml.ecore#//Root">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/namespaces"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/dtd"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/leadingPIs"/>
+ </genClasses>
+ <genClasses ecoreClass="xml.ecore#//Namespace"/>
+ <genClasses ecoreClass="xml.ecore#//Comment"/>
+ <genClasses ecoreClass="xml.ecore#//DocumentTypeDeclaration">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//DocumentTypeDeclaration/publicID"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//DocumentTypeDeclaration/systemID"/>
+ </genClasses>
+ <genClasses ecoreClass="xml.ecore#//CDATA"/>
+ <genClasses ecoreClass="xml.ecore#//ProcessingInstruction">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//ProcessingInstruction/data"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml
index a993846f508..51531413ee9 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml
@@ -12,4 +12,12 @@
file-extensions="xwt">
</file-association>
</extension>
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <!-- @generated xml -->
+ <package
+ uri="http://www.eclipse.org/papyrus/xwt/XML"
+ class="org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage"
+ genModel="model/xml.genmodel"/>
+ </extension>
+
</plugin>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java
new file mode 100644
index 00000000000..20d98a28fcd
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getAttribute()
+ * @model
+ * @generated
+ */
+public interface Attribute extends Node {
+ /**
+ * 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.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getAttribute_Value()
+ * @model unique="false" required="true" ordered="false"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#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);
+
+} // Attribute
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java
new file mode 100644
index 00000000000..a6a8603d36f
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CDATA</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getCDATA()
+ * @model
+ * @generated
+ */
+public interface CDATA extends Text {
+} // CDATA
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java
new file mode 100644
index 00000000000..5530aa6fcfc
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Comment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getComment()
+ * @model
+ * @generated
+ */
+public interface Comment extends Node {
+} // Comment
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java
new file mode 100644
index 00000000000..0db4994f69d
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java
@@ -0,0 +1,76 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Type Declaration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration()
+ * @model
+ * @generated
+ */
+public interface DocumentTypeDeclaration extends Node {
+ /**
+ * Returns the value of the '<em><b>Public ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Public ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Public ID</em>' attribute.
+ * @see #setPublicID(String)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration_PublicID()
+ * @model
+ * @generated
+ */
+ String getPublicID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Public ID</em>' attribute.
+ * @see #getPublicID()
+ * @generated
+ */
+ void setPublicID(String value);
+
+ /**
+ * Returns the value of the '<em><b>System ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>System ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>System ID</em>' attribute.
+ * @see #setSystemID(String)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration_SystemID()
+ * @model
+ * @generated
+ */
+ String getSystemID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>System ID</em>' attribute.
+ * @see #getSystemID()
+ * @generated
+ */
+ void setSystemID(String value);
+
+} // DocumentTypeDeclaration
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java
new file mode 100644
index 00000000000..2e9d5ef2a0c
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java
@@ -0,0 +1,42 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getElement()
+ * @model
+ * @generated
+ */
+public interface Element extends Node {
+ /**
+ * Returns the value of the '<em><b>Children</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Children</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>Children</em>' containment reference list.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getElement_Children()
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent
+ * @model opposite="parent" containment="true"
+ * @generated
+ */
+ EList<Node> getChildren();
+
+} // Element
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java
new file mode 100644
index 00000000000..ed74f3b8a4f
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Namespace</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNamespace()
+ * @model
+ * @generated
+ */
+public interface Namespace extends Attribute {
+} // Namespace
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java
new file mode 100644
index 00000000000..4a9be74b3ac
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java
@@ -0,0 +1,79 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode()
+ * @model abstract="true"
+ * @generated
+ */
+public interface Node extends EObject {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode_Name()
+ * @model unique="false" required="true" ordered="false"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Parent</b></em>' container reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Parent</em>' container reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Parent</em>' container reference.
+ * @see #setParent(Element)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode_Parent()
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren
+ * @model opposite="children" transient="false" ordered="false"
+ * @generated
+ */
+ Element getParent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Parent</em>' container reference.
+ * @see #getParent()
+ * @generated
+ */
+ void setParent(Element value);
+
+} // Node
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java
new file mode 100644
index 00000000000..b383921b495
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java
@@ -0,0 +1,49 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Processing Instruction</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getProcessingInstruction()
+ * @model
+ * @generated
+ */
+public interface ProcessingInstruction extends Node {
+ /**
+ * Returns the value of the '<em><b>Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Data</em>' attribute.
+ * @see #setData(String)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getProcessingInstruction_Data()
+ * @model required="true"
+ * @generated
+ */
+ String getData();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data</em>' attribute.
+ * @see #getData()
+ * @generated
+ */
+ void setData(String value);
+
+} // ProcessingInstruction
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java
new file mode 100644
index 00000000000..d37b892302c
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java
@@ -0,0 +1,84 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces <em>Namespaces</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs <em>Leading PIs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot()
+ * @model
+ * @generated
+ */
+public interface Root extends Element {
+ /**
+ * Returns the value of the '<em><b>Namespaces</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Namespaces</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>Namespaces</em>' containment reference list.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_Namespaces()
+ * @model containment="true"
+ * @generated
+ */
+ EList<Namespace> getNamespaces();
+
+ /**
+ * Returns the value of the '<em><b>Dtd</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dtd</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>Dtd</em>' containment reference.
+ * @see #setDtd(DocumentTypeDeclaration)
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_Dtd()
+ * @model containment="true"
+ * @generated
+ */
+ DocumentTypeDeclaration getDtd();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dtd</em>' containment reference.
+ * @see #getDtd()
+ * @generated
+ */
+ void setDtd(DocumentTypeDeclaration value);
+
+ /**
+ * Returns the value of the '<em><b>Leading PIs</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Leading PIs</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>Leading PIs</em>' containment reference list.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_LeadingPIs()
+ * @model containment="true"
+ * @generated
+ */
+ EList<ProcessingInstruction> getLeadingPIs();
+
+} // Root
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java
new file mode 100644
index 00000000000..b47b5fc9322
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java
@@ -0,0 +1,17 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Text</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getText()
+ * @model
+ * @generated
+ */
+public interface Text extends Node {
+} // Text
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java
new file mode 100644
index 00000000000..9dbb05a0766
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java
@@ -0,0 +1,114 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+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.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage
+ * @generated
+ */
+public interface XwtxmlFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ XwtxmlFactory eINSTANCE = org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Attribute</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Attribute</em>'.
+ * @generated
+ */
+ Attribute createAttribute();
+
+ /**
+ * Returns a new object of class '<em>Text</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Text</em>'.
+ * @generated
+ */
+ Text createText();
+
+ /**
+ * Returns a new object of class '<em>Element</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Element</em>'.
+ * @generated
+ */
+ Element createElement();
+
+ /**
+ * Returns a new object of class '<em>Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Root</em>'.
+ * @generated
+ */
+ Root createRoot();
+
+ /**
+ * Returns a new object of class '<em>Namespace</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Namespace</em>'.
+ * @generated
+ */
+ Namespace createNamespace();
+
+ /**
+ * Returns a new object of class '<em>Comment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Comment</em>'.
+ * @generated
+ */
+ Comment createComment();
+
+ /**
+ * Returns a new object of class '<em>Document Type Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Type Declaration</em>'.
+ * @generated
+ */
+ DocumentTypeDeclaration createDocumentTypeDeclaration();
+
+ /**
+ * Returns a new object of class '<em>CDATA</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CDATA</em>'.
+ * @generated
+ */
+ CDATA createCDATA();
+
+ /**
+ * Returns a new object of class '<em>Processing Instruction</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Processing Instruction</em>'.
+ * @generated
+ */
+ ProcessingInstruction createProcessingInstruction();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ XwtxmlPackage getXwtxmlPackage();
+
+} //XwtxmlFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java
new file mode 100644
index 00000000000..1bae3ba003e
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java
@@ -0,0 +1,1025 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- 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 operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface XwtxmlPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "xwtxml";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/xwt/XML";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "xwtxml";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ XwtxmlPackage eINSTANCE = org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl <em>Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNode()
+ * @generated
+ */
+ int NODE = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE__PARENT = 1;
+
+ /**
+ * The number of structural features of the '<em>Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_FEATURE_COUNT = 2;
+
+ /**
+ * The number of operations of the '<em>Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NODE_OPERATION_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl <em>Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getAttribute()
+ * @generated
+ */
+ int ATTRIBUTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTRIBUTE__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTRIBUTE__PARENT = NODE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTRIBUTE__VALUE = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTRIBUTE_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTRIBUTE_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl <em>Text</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getText()
+ * @generated
+ */
+ int TEXT = 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT__PARENT = NODE__PARENT;
+
+ /**
+ * The number of structural features of the '<em>Text</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_FEATURE_COUNT = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the '<em>Text</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl <em>Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getElement()
+ * @generated
+ */
+ int ELEMENT = 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT__PARENT = NODE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT__CHILDREN = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl <em>Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getRoot()
+ * @generated
+ */
+ int ROOT = 4;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__NAME = ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__PARENT = ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__CHILDREN = ELEMENT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Namespaces</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__NAMESPACES = ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Dtd</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__DTD = ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Leading PIs</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT__LEADING_PIS = ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The number of operations of the '<em>Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_OPERATION_COUNT = ELEMENT_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl <em>Namespace</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNamespace()
+ * @generated
+ */
+ int NAMESPACE = 5;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NAMESPACE__NAME = ATTRIBUTE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NAMESPACE__PARENT = ATTRIBUTE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NAMESPACE__VALUE = ATTRIBUTE__VALUE;
+
+ /**
+ * The number of structural features of the '<em>Namespace</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NAMESPACE_FEATURE_COUNT = ATTRIBUTE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the '<em>Namespace</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NAMESPACE_OPERATION_COUNT = ATTRIBUTE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl <em>Comment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getComment()
+ * @generated
+ */
+ int COMMENT = 6;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMENT__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMENT__PARENT = NODE__PARENT;
+
+ /**
+ * The number of structural features of the '<em>Comment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMENT_FEATURE_COUNT = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the '<em>Comment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMMENT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl <em>Document Type Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getDocumentTypeDeclaration()
+ * @generated
+ */
+ int DOCUMENT_TYPE_DECLARATION = 7;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION__PARENT = NODE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Public ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION__PUBLIC_ID = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>System ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION__SYSTEM_ID = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Document Type Declaration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION_FEATURE_COUNT = NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of operations of the '<em>Document Type Declaration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_TYPE_DECLARATION_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl <em>CDATA</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getCDATA()
+ * @generated
+ */
+ int CDATA = 8;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDATA__NAME = TEXT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDATA__PARENT = TEXT__PARENT;
+
+ /**
+ * The number of structural features of the '<em>CDATA</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDATA_FEATURE_COUNT = TEXT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of operations of the '<em>CDATA</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDATA_OPERATION_COUNT = TEXT_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl <em>Processing Instruction</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getProcessingInstruction()
+ * @generated
+ */
+ int PROCESSING_INSTRUCTION = 9;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESSING_INSTRUCTION__NAME = NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESSING_INSTRUCTION__PARENT = NODE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESSING_INSTRUCTION__DATA = NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Processing Instruction</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESSING_INSTRUCTION_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of operations of the '<em>Processing Instruction</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESSING_INSTRUCTION_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Node</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node
+ * @generated
+ */
+ EClass getNode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName()
+ * @see #getNode()
+ * @generated
+ */
+ EAttribute getNode_Name();
+
+ /**
+ * Returns the meta object for the container reference '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the container reference '<em>Parent</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent()
+ * @see #getNode()
+ * @generated
+ */
+ EReference getNode_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute <em>Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Attribute</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute
+ * @generated
+ */
+ EClass getAttribute();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue()
+ * @see #getAttribute()
+ * @generated
+ */
+ EAttribute getAttribute_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Text</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text
+ * @generated
+ */
+ EClass getText();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element <em>Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Element</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element
+ * @generated
+ */
+ EClass getElement();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Children</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren()
+ * @see #getElement()
+ * @generated
+ */
+ EReference getElement_Children();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root <em>Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Root</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root
+ * @generated
+ */
+ EClass getRoot();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces <em>Namespaces</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Namespaces</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces()
+ * @see #getRoot()
+ * @generated
+ */
+ EReference getRoot_Namespaces();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Dtd</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd()
+ * @see #getRoot()
+ * @generated
+ */
+ EReference getRoot_Dtd();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs <em>Leading PIs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Leading PIs</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs()
+ * @see #getRoot()
+ * @generated
+ */
+ EReference getRoot_LeadingPIs();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Namespace</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace
+ * @generated
+ */
+ EClass getNamespace();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment <em>Comment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Comment</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment
+ * @generated
+ */
+ EClass getComment();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration <em>Document Type Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Type Declaration</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration
+ * @generated
+ */
+ EClass getDocumentTypeDeclaration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Public ID</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID()
+ * @see #getDocumentTypeDeclaration()
+ * @generated
+ */
+ EAttribute getDocumentTypeDeclaration_PublicID();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>System ID</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID()
+ * @see #getDocumentTypeDeclaration()
+ * @generated
+ */
+ EAttribute getDocumentTypeDeclaration_SystemID();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA <em>CDATA</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CDATA</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA
+ * @generated
+ */
+ EClass getCDATA();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction <em>Processing Instruction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Processing Instruction</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction
+ * @generated
+ */
+ EClass getProcessingInstruction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Data</em>'.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData()
+ * @see #getProcessingInstruction()
+ * @generated
+ */
+ EAttribute getProcessingInstruction_Data();
+
+ /**
+ * 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
+ */
+ XwtxmlFactory getXwtxmlFactory();
+
+ /**
+ * <!-- 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 operation 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.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl <em>Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNode()
+ * @generated
+ */
+ EClass NODE = eINSTANCE.getNode();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NODE__NAME = eINSTANCE.getNode_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference NODE__PARENT = eINSTANCE.getNode_Parent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl <em>Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getAttribute()
+ * @generated
+ */
+ EClass ATTRIBUTE = eINSTANCE.getAttribute();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl <em>Text</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getText()
+ * @generated
+ */
+ EClass TEXT = eINSTANCE.getText();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl <em>Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getElement()
+ * @generated
+ */
+ EClass ELEMENT = eINSTANCE.getElement();
+
+ /**
+ * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ELEMENT__CHILDREN = eINSTANCE.getElement_Children();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl <em>Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getRoot()
+ * @generated
+ */
+ EClass ROOT = eINSTANCE.getRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Namespaces</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ROOT__NAMESPACES = eINSTANCE.getRoot_Namespaces();
+
+ /**
+ * The meta object literal for the '<em><b>Dtd</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ROOT__DTD = eINSTANCE.getRoot_Dtd();
+
+ /**
+ * The meta object literal for the '<em><b>Leading PIs</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ROOT__LEADING_PIS = eINSTANCE.getRoot_LeadingPIs();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl <em>Namespace</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNamespace()
+ * @generated
+ */
+ EClass NAMESPACE = eINSTANCE.getNamespace();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl <em>Comment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getComment()
+ * @generated
+ */
+ EClass COMMENT = eINSTANCE.getComment();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl <em>Document Type Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getDocumentTypeDeclaration()
+ * @generated
+ */
+ EClass DOCUMENT_TYPE_DECLARATION = eINSTANCE.getDocumentTypeDeclaration();
+
+ /**
+ * The meta object literal for the '<em><b>Public ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_TYPE_DECLARATION__PUBLIC_ID = eINSTANCE.getDocumentTypeDeclaration_PublicID();
+
+ /**
+ * The meta object literal for the '<em><b>System ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_TYPE_DECLARATION__SYSTEM_ID = eINSTANCE.getDocumentTypeDeclaration_SystemID();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl <em>CDATA</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getCDATA()
+ * @generated
+ */
+ EClass CDATA = eINSTANCE.getCDATA();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl <em>Processing Instruction</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getProcessingInstruction()
+ * @generated
+ */
+ EClass PROCESSING_INSTRUCTION = eINSTANCE.getProcessingInstruction();
+
+ /**
+ * The meta object literal for the '<em><b>Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESSING_INSTRUCTION__DATA = eINSTANCE.getProcessingInstruction_Data();
+
+ }
+
+} //XwtxmlPackage
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java
new file mode 100644
index 00000000000..5307dc6322e
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java
@@ -0,0 +1,162 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AttributeImpl extends NodeImpl implements Attribute {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AttributeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.ATTRIBUTE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.ATTRIBUTE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //AttributeImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java
new file mode 100644
index 00000000000..f01e9fa556c
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java
@@ -0,0 +1,39 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>CDATA</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CDATAImpl extends TextImpl implements CDATA {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CDATAImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.CDATA;
+ }
+
+} //CDATAImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java
new file mode 100644
index 00000000000..a87a7b57b59
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java
@@ -0,0 +1,39 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Comment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class CommentImpl extends NodeImpl implements Comment {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CommentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.COMMENT;
+ }
+
+} //CommentImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java
new file mode 100644
index 00000000000..e060a11cffd
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java
@@ -0,0 +1,216 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Type Declaration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl#getPublicID <em>Public ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl#getSystemID <em>System ID</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTypeDeclaration {
+ /**
+ * The default value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPublicID()
+ * @generated
+ * @ordered
+ */
+ protected static final String PUBLIC_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPublicID()
+ * @generated
+ * @ordered
+ */
+ protected String publicID = PUBLIC_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSystemID()
+ * @generated
+ * @ordered
+ */
+ protected static final String SYSTEM_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSystemID()
+ * @generated
+ * @ordered
+ */
+ protected String systemID = SYSTEM_ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentTypeDeclarationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.DOCUMENT_TYPE_DECLARATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPublicID() {
+ return publicID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPublicID(String newPublicID) {
+ String oldPublicID = publicID;
+ publicID = newPublicID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID, oldPublicID, publicID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSystemID() {
+ return systemID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSystemID(String newSystemID) {
+ String oldSystemID = systemID;
+ systemID = newSystemID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID, oldSystemID, systemID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
+ return getPublicID();
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
+ return getSystemID();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
+ setPublicID((String)newValue);
+ return;
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
+ setSystemID((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
+ setPublicID(PUBLIC_ID_EDEFAULT);
+ return;
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
+ setSystemID(SYSTEM_ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
+ return PUBLIC_ID_EDEFAULT == null ? publicID != null : !PUBLIC_ID_EDEFAULT.equals(publicID);
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
+ return SYSTEM_ID_EDEFAULT == null ? systemID != null : !SYSTEM_ID_EDEFAULT.equals(systemID);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (publicID: ");
+ result.append(publicID);
+ result.append(", systemID: ");
+ result.append(systemID);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentTypeDeclarationImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java
new file mode 100644
index 00000000000..514ab98ebe1
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java
@@ -0,0 +1,165 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl#getChildren <em>Children</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ElementImpl extends NodeImpl implements Element {
+ /**
+ * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getChildren()
+ * @generated
+ * @ordered
+ */
+ protected EList<Node> children;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Node> getChildren() {
+ if (children == null) {
+ children = new EObjectContainmentWithInverseEList<Node>(Node.class, this, XwtxmlPackage.ELEMENT__CHILDREN, XwtxmlPackage.NODE__PARENT);
+ }
+ return children;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getChildren()).basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return ((InternalEList<?>)getChildren()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return getChildren();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ getChildren().clear();
+ getChildren().addAll((Collection<? extends Node>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ getChildren().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return children != null && !children.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java
new file mode 100644
index 00000000000..f47ae49a152
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java
@@ -0,0 +1,39 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Namespace</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class NamespaceImpl extends AttributeImpl implements Namespace {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NamespaceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.NAMESPACE;
+ }
+
+} //NamespaceImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java
new file mode 100644
index 00000000000..3459c827f1c
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java
@@ -0,0 +1,264 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class NodeImpl extends MinimalEObjectImpl.Container implements Node {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.NODE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Element getParent() {
+ if (eContainerFeatureID() != XwtxmlPackage.NODE__PARENT) return null;
+ return (Element)eInternalContainer();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParent(Element newParent, NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject)newParent, XwtxmlPackage.NODE__PARENT, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParent(Element newParent) {
+ if (newParent != eInternalContainer() || (eContainerFeatureID() != XwtxmlPackage.NODE__PARENT && newParent != null)) {
+ if (EcoreUtil.isAncestor(this, newParent))
+ throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ NotificationChain msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (newParent != null)
+ msgs = ((InternalEObject)newParent).eInverseAdd(this, XwtxmlPackage.ELEMENT__CHILDREN, Element.class, msgs);
+ msgs = basicSetParent(newParent, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.NODE__PARENT, newParent, newParent));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__PARENT:
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetParent((Element)otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__PARENT:
+ return basicSetParent(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
+ switch (eContainerFeatureID()) {
+ case XwtxmlPackage.NODE__PARENT:
+ return eInternalContainer().eInverseRemove(this, XwtxmlPackage.ELEMENT__CHILDREN, Element.class, msgs);
+ }
+ return super.eBasicRemoveFromContainerFeature(msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__NAME:
+ return getName();
+ case XwtxmlPackage.NODE__PARENT:
+ return getParent();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__NAME:
+ setName((String)newValue);
+ return;
+ case XwtxmlPackage.NODE__PARENT:
+ setParent((Element)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case XwtxmlPackage.NODE__PARENT:
+ setParent((Element)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.NODE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case XwtxmlPackage.NODE__PARENT:
+ return getParent() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //NodeImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java
new file mode 100644
index 00000000000..5492c7d95a4
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java
@@ -0,0 +1,162 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Processing Instruction</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl#getData <em>Data</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProcessingInstructionImpl extends NodeImpl implements ProcessingInstruction {
+ /**
+ * The default value of the '{@link #getData() <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getData()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATA_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getData() <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getData()
+ * @generated
+ * @ordered
+ */
+ protected String data = DATA_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProcessingInstructionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.PROCESSING_INSTRUCTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getData() {
+ return data;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setData(String newData) {
+ String oldData = data;
+ data = newData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.PROCESSING_INSTRUCTION__DATA, oldData, data));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ return getData();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ setData((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ setData(DATA_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT.equals(data);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (data: ");
+ result.append(data);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ProcessingInstructionImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java
new file mode 100644
index 00000000000..a2e1b860f94
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java
@@ -0,0 +1,257 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl#getNamespaces <em>Namespaces</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl#getDtd <em>Dtd</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl#getLeadingPIs <em>Leading PIs</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RootImpl extends ElementImpl implements Root {
+ /**
+ * The cached value of the '{@link #getNamespaces() <em>Namespaces</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getNamespaces()
+ * @generated
+ * @ordered
+ */
+ protected EList<Namespace> namespaces;
+
+ /**
+ * The cached value of the '{@link #getDtd() <em>Dtd</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDtd()
+ * @generated
+ * @ordered
+ */
+ protected DocumentTypeDeclaration dtd;
+
+ /**
+ * The cached value of the '{@link #getLeadingPIs() <em>Leading PIs</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLeadingPIs()
+ * @generated
+ * @ordered
+ */
+ protected EList<ProcessingInstruction> leadingPIs;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Namespace> getNamespaces() {
+ if (namespaces == null) {
+ namespaces = new EObjectContainmentEList<Namespace>(Namespace.class, this, XwtxmlPackage.ROOT__NAMESPACES);
+ }
+ return namespaces;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentTypeDeclaration getDtd() {
+ return dtd;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDtd(DocumentTypeDeclaration newDtd, NotificationChain msgs) {
+ DocumentTypeDeclaration oldDtd = dtd;
+ dtd = newDtd;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XwtxmlPackage.ROOT__DTD, oldDtd, newDtd);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDtd(DocumentTypeDeclaration newDtd) {
+ if (newDtd != dtd) {
+ NotificationChain msgs = null;
+ if (dtd != null)
+ msgs = ((InternalEObject)dtd).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XwtxmlPackage.ROOT__DTD, null, msgs);
+ if (newDtd != null)
+ msgs = ((InternalEObject)newDtd).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XwtxmlPackage.ROOT__DTD, null, msgs);
+ msgs = basicSetDtd(newDtd, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.ROOT__DTD, newDtd, newDtd));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ProcessingInstruction> getLeadingPIs() {
+ if (leadingPIs == null) {
+ leadingPIs = new EObjectContainmentEList<ProcessingInstruction>(ProcessingInstruction.class, this, XwtxmlPackage.ROOT__LEADING_PIS);
+ }
+ return leadingPIs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XwtxmlPackage.ROOT__NAMESPACES:
+ return ((InternalEList<?>)getNamespaces()).basicRemove(otherEnd, msgs);
+ case XwtxmlPackage.ROOT__DTD:
+ return basicSetDtd(null, msgs);
+ case XwtxmlPackage.ROOT__LEADING_PIS:
+ return ((InternalEList<?>)getLeadingPIs()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XwtxmlPackage.ROOT__NAMESPACES:
+ return getNamespaces();
+ case XwtxmlPackage.ROOT__DTD:
+ return getDtd();
+ case XwtxmlPackage.ROOT__LEADING_PIS:
+ return getLeadingPIs();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XwtxmlPackage.ROOT__NAMESPACES:
+ getNamespaces().clear();
+ getNamespaces().addAll((Collection<? extends Namespace>)newValue);
+ return;
+ case XwtxmlPackage.ROOT__DTD:
+ setDtd((DocumentTypeDeclaration)newValue);
+ return;
+ case XwtxmlPackage.ROOT__LEADING_PIS:
+ getLeadingPIs().clear();
+ getLeadingPIs().addAll((Collection<? extends ProcessingInstruction>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ROOT__NAMESPACES:
+ getNamespaces().clear();
+ return;
+ case XwtxmlPackage.ROOT__DTD:
+ setDtd((DocumentTypeDeclaration)null);
+ return;
+ case XwtxmlPackage.ROOT__LEADING_PIS:
+ getLeadingPIs().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XwtxmlPackage.ROOT__NAMESPACES:
+ return namespaces != null && !namespaces.isEmpty();
+ case XwtxmlPackage.ROOT__DTD:
+ return dtd != null;
+ case XwtxmlPackage.ROOT__LEADING_PIS:
+ return leadingPIs != null && !leadingPIs.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //RootImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java
new file mode 100644
index 00000000000..c6e3d98ba6e
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java
@@ -0,0 +1,39 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Text</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TextImpl extends NodeImpl implements Text {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TextImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XwtxmlPackage.Literals.TEXT;
+ }
+
+} //TextImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java
new file mode 100644
index 00000000000..b1e7c8e748b
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java
@@ -0,0 +1,183 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static XwtxmlFactory init() {
+ try {
+ XwtxmlFactory theXwtxmlFactory = (XwtxmlFactory)EPackage.Registry.INSTANCE.getEFactory(XwtxmlPackage.eNS_URI);
+ if (theXwtxmlFactory != null) {
+ return theXwtxmlFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new XwtxmlFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XwtxmlFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case XwtxmlPackage.ATTRIBUTE: return createAttribute();
+ case XwtxmlPackage.TEXT: return createText();
+ case XwtxmlPackage.ELEMENT: return createElement();
+ case XwtxmlPackage.ROOT: return createRoot();
+ case XwtxmlPackage.NAMESPACE: return createNamespace();
+ case XwtxmlPackage.COMMENT: return createComment();
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION: return createDocumentTypeDeclaration();
+ case XwtxmlPackage.CDATA: return createCDATA();
+ case XwtxmlPackage.PROCESSING_INSTRUCTION: return createProcessingInstruction();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Attribute createAttribute() {
+ AttributeImpl attribute = new AttributeImpl();
+ return attribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Text createText() {
+ TextImpl text = new TextImpl();
+ return text;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Element createElement() {
+ ElementImpl element = new ElementImpl();
+ return element;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Root createRoot() {
+ RootImpl root = new RootImpl();
+ return root;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Namespace createNamespace() {
+ NamespaceImpl namespace = new NamespaceImpl();
+ return namespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Comment createComment() {
+ CommentImpl comment = new CommentImpl();
+ return comment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentTypeDeclaration createDocumentTypeDeclaration() {
+ DocumentTypeDeclarationImpl documentTypeDeclaration = new DocumentTypeDeclarationImpl();
+ return documentTypeDeclaration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CDATA createCDATA() {
+ CDATAImpl cdata = new CDATAImpl();
+ return cdata;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProcessingInstruction createProcessingInstruction() {
+ ProcessingInstructionImpl processingInstruction = new ProcessingInstructionImpl();
+ return processingInstruction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XwtxmlPackage getXwtxmlPackage() {
+ return (XwtxmlPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static XwtxmlPackage getPackage() {
+ return XwtxmlPackage.eINSTANCE;
+ }
+
+} //XwtxmlFactoryImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java
new file mode 100644
index 00000000000..f8860027794
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java
@@ -0,0 +1,474 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlFactory;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass nodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass attributeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass textEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass elementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass rootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass namespaceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass commentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentTypeDeclarationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass cdataEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass processingInstructionEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private XwtxmlPackageImpl() {
+ super(eNS_URI, XwtxmlFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link XwtxmlPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static XwtxmlPackage init() {
+ if (isInited) return (XwtxmlPackage)EPackage.Registry.INSTANCE.getEPackage(XwtxmlPackage.eNS_URI);
+
+ // Obtain or create and register package
+ XwtxmlPackageImpl theXwtxmlPackage = (XwtxmlPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof XwtxmlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new XwtxmlPackageImpl());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ theXwtxmlPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theXwtxmlPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theXwtxmlPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(XwtxmlPackage.eNS_URI, theXwtxmlPackage);
+ return theXwtxmlPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNode() {
+ return nodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNode_Name() {
+ return (EAttribute)nodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getNode_Parent() {
+ return (EReference)nodeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAttribute() {
+ return attributeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAttribute_Value() {
+ return (EAttribute)attributeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getText() {
+ return textEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getElement() {
+ return elementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getElement_Children() {
+ return (EReference)elementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRoot() {
+ return rootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRoot_Namespaces() {
+ return (EReference)rootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRoot_Dtd() {
+ return (EReference)rootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRoot_LeadingPIs() {
+ return (EReference)rootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNamespace() {
+ return namespaceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getComment() {
+ return commentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentTypeDeclaration() {
+ return documentTypeDeclarationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentTypeDeclaration_PublicID() {
+ return (EAttribute)documentTypeDeclarationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentTypeDeclaration_SystemID() {
+ return (EAttribute)documentTypeDeclarationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCDATA() {
+ return cdataEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProcessingInstruction() {
+ return processingInstructionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessingInstruction_Data() {
+ return (EAttribute)processingInstructionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XwtxmlFactory getXwtxmlFactory() {
+ return (XwtxmlFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ nodeEClass = createEClass(NODE);
+ createEAttribute(nodeEClass, NODE__NAME);
+ createEReference(nodeEClass, NODE__PARENT);
+
+ attributeEClass = createEClass(ATTRIBUTE);
+ createEAttribute(attributeEClass, ATTRIBUTE__VALUE);
+
+ textEClass = createEClass(TEXT);
+
+ elementEClass = createEClass(ELEMENT);
+ createEReference(elementEClass, ELEMENT__CHILDREN);
+
+ rootEClass = createEClass(ROOT);
+ createEReference(rootEClass, ROOT__NAMESPACES);
+ createEReference(rootEClass, ROOT__DTD);
+ createEReference(rootEClass, ROOT__LEADING_PIS);
+
+ namespaceEClass = createEClass(NAMESPACE);
+
+ commentEClass = createEClass(COMMENT);
+
+ documentTypeDeclarationEClass = createEClass(DOCUMENT_TYPE_DECLARATION);
+ createEAttribute(documentTypeDeclarationEClass, DOCUMENT_TYPE_DECLARATION__PUBLIC_ID);
+ createEAttribute(documentTypeDeclarationEClass, DOCUMENT_TYPE_DECLARATION__SYSTEM_ID);
+
+ cdataEClass = createEClass(CDATA);
+
+ processingInstructionEClass = createEClass(PROCESSING_INSTRUCTION);
+ createEAttribute(processingInstructionEClass, PROCESSING_INSTRUCTION__DATA);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ attributeEClass.getESuperTypes().add(this.getNode());
+ textEClass.getESuperTypes().add(this.getNode());
+ elementEClass.getESuperTypes().add(this.getNode());
+ rootEClass.getESuperTypes().add(this.getElement());
+ namespaceEClass.getESuperTypes().add(this.getAttribute());
+ commentEClass.getESuperTypes().add(this.getNode());
+ documentTypeDeclarationEClass.getESuperTypes().add(this.getNode());
+ cdataEClass.getESuperTypes().add(this.getText());
+ processingInstructionEClass.getESuperTypes().add(this.getNode());
+
+ // Initialize classes, features, and operations; add parameters
+ initEClass(nodeEClass, Node.class, "Node", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNode_Name(), ecorePackage.getEString(), "name", null, 1, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getNode_Parent(), this.getElement(), this.getElement_Children(), "parent", null, 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(attributeEClass, Attribute.class, "Attribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAttribute_Value(), ecorePackage.getEString(), "value", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(textEClass, Text.class, "Text", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(elementEClass, Element.class, "Element", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getElement_Children(), this.getNode(), this.getNode_Parent(), "children", null, 0, -1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(rootEClass, Root.class, "Root", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRoot_Namespaces(), this.getNamespace(), null, "namespaces", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRoot_Dtd(), this.getDocumentTypeDeclaration(), null, "dtd", null, 0, 1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRoot_LeadingPIs(), this.getProcessingInstruction(), null, "leadingPIs", null, 0, -1, Root.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(namespaceEClass, Namespace.class, "Namespace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(commentEClass, Comment.class, "Comment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(documentTypeDeclarationEClass, DocumentTypeDeclaration.class, "DocumentTypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentTypeDeclaration_PublicID(), ecorePackage.getEString(), "publicID", null, 0, 1, DocumentTypeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDocumentTypeDeclaration_SystemID(), ecorePackage.getEString(), "systemID", null, 0, 1, DocumentTypeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(cdataEClass, org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA.class, "CDATA", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(processingInstructionEClass, ProcessingInstruction.class, "ProcessingInstruction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getProcessingInstruction_Data(), ecorePackage.getEString(), "data", null, 1, 1, ProcessingInstruction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //XwtxmlPackageImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java
new file mode 100644
index 00000000000..4a796d4d1ac
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java
@@ -0,0 +1,282 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage
+ * @generated
+ */
+public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static XwtxmlPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XwtxmlAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = XwtxmlPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XwtxmlSwitch<Adapter> modelSwitch =
+ new XwtxmlSwitch<Adapter>() {
+ @Override
+ public Adapter caseNode(Node object) {
+ return createNodeAdapter();
+ }
+ @Override
+ public Adapter caseAttribute(Attribute object) {
+ return createAttributeAdapter();
+ }
+ @Override
+ public Adapter caseText(Text object) {
+ return createTextAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter caseRoot(Root object) {
+ return createRootAdapter();
+ }
+ @Override
+ public Adapter caseNamespace(Namespace object) {
+ return createNamespaceAdapter();
+ }
+ @Override
+ public Adapter caseComment(Comment object) {
+ return createCommentAdapter();
+ }
+ @Override
+ public Adapter caseDocumentTypeDeclaration(DocumentTypeDeclaration object) {
+ return createDocumentTypeDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseCDATA(CDATA object) {
+ return createCDATAAdapter();
+ }
+ @Override
+ public Adapter caseProcessingInstruction(ProcessingInstruction object) {
+ return createProcessingInstructionAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node
+ * @generated
+ */
+ public Adapter createNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute <em>Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute
+ * @generated
+ */
+ public Adapter createAttributeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text <em>Text</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text
+ * @generated
+ */
+ public Adapter createTextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element <em>Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element
+ * @generated
+ */
+ public Adapter createElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root <em>Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root
+ * @generated
+ */
+ public Adapter createRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace <em>Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace
+ * @generated
+ */
+ public Adapter createNamespaceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment <em>Comment</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment
+ * @generated
+ */
+ public Adapter createCommentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration <em>Document Type Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration
+ * @generated
+ */
+ public Adapter createDocumentTypeDeclarationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA <em>CDATA</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA
+ * @generated
+ */
+ public Adapter createCDATAAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction <em>Processing Instruction</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction
+ * @generated
+ */
+ public Adapter createProcessingInstructionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //XwtxmlAdapterFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java
new file mode 100644
index 00000000000..9e4434aa5e8
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java
@@ -0,0 +1,311 @@
+/**
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage
+ * @generated
+ */
+public class XwtxmlSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static XwtxmlPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XwtxmlSwitch() {
+ if (modelPackage == null) {
+ modelPackage = XwtxmlPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case XwtxmlPackage.NODE: {
+ Node node = (Node)theEObject;
+ T result = caseNode(node);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.ATTRIBUTE: {
+ Attribute attribute = (Attribute)theEObject;
+ T result = caseAttribute(attribute);
+ if (result == null) result = caseNode(attribute);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.TEXT: {
+ Text text = (Text)theEObject;
+ T result = caseText(text);
+ if (result == null) result = caseNode(text);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.ELEMENT: {
+ Element element = (Element)theEObject;
+ T result = caseElement(element);
+ if (result == null) result = caseNode(element);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.ROOT: {
+ Root root = (Root)theEObject;
+ T result = caseRoot(root);
+ if (result == null) result = caseElement(root);
+ if (result == null) result = caseNode(root);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.NAMESPACE: {
+ Namespace namespace = (Namespace)theEObject;
+ T result = caseNamespace(namespace);
+ if (result == null) result = caseAttribute(namespace);
+ if (result == null) result = caseNode(namespace);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.COMMENT: {
+ Comment comment = (Comment)theEObject;
+ T result = caseComment(comment);
+ if (result == null) result = caseNode(comment);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION: {
+ DocumentTypeDeclaration documentTypeDeclaration = (DocumentTypeDeclaration)theEObject;
+ T result = caseDocumentTypeDeclaration(documentTypeDeclaration);
+ if (result == null) result = caseNode(documentTypeDeclaration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.CDATA: {
+ CDATA cdata = (CDATA)theEObject;
+ T result = caseCDATA(cdata);
+ if (result == null) result = caseText(cdata);
+ if (result == null) result = caseNode(cdata);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XwtxmlPackage.PROCESSING_INSTRUCTION: {
+ ProcessingInstruction processingInstruction = (ProcessingInstruction)theEObject;
+ T result = caseProcessingInstruction(processingInstruction);
+ if (result == null) result = caseNode(processingInstruction);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNode(Node object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Attribute</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Attribute</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAttribute(Attribute object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Text</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Text</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseText(Text object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElement(Element object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRoot(Root object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Namespace</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Namespace</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNamespace(Namespace object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Comment</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Comment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComment(Comment object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Type Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Type Declaration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentTypeDeclaration(DocumentTypeDeclaration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>CDATA</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CDATA</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCDATA(CDATA object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Processing Instruction</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Processing Instruction</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProcessingInstruction(ProcessingInstruction object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //XwtxmlSwitch
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java
new file mode 100644
index 00000000000..f9bcdacd806
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java
@@ -0,0 +1,260 @@
+/**
+ * *******************************************************************************
+ * Copyright (c) 2009 Mia-Software.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *
+ * Fabien Giquel (Mia-Software) - initial API and implementation
+ * *******************************************************************************
+ *
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.modisco;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlFactory;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+import org.xml.sax.ext.LexicalHandler;
+import org.xml.sax.helpers.DefaultHandler;
+
+import com.ibm.icu.lang.UCharacter;
+
+/**
+ * A handler for reading xml files and instanciating a generic xml model.
+ */
+public class GenericXMLHandler extends DefaultHandler implements LexicalHandler {
+
+ /**
+ * Prefix for namespace attributes.
+ */
+ public static final String XMLNS = "xmlns"; //$NON-NLS-1$
+
+ /** A parameter key for indicating to ignore whitespace in text portions. */
+ public static final String OPTION_IGNORE_WHITESPACE = "OPTION_IGNORE_WHITESPACE"; //$NON-NLS-1$
+
+ /**
+ * A parameter key for indicating to minimize the memory size of obtained
+ * model. If set to true : comments are ignored, text portions with only
+ * indentation and line delimiters are ignored.
+ */
+ public static final String OPTION_LIGHTWEIGHT_MODEL = "OPTION_LIGHTWEIGHT_MODEL"; //$NON-NLS-1$
+
+ private final Map<String, Object> parameters;
+
+ private final Resource container;
+
+ private Root root;
+
+ private Element current;
+
+ private DocumentTypeDeclaration dtd;
+
+ private boolean nextIsCDATA = false;
+
+ private List<ProcessingInstruction> leadingPIs = null;
+
+ private Boolean ignoreWhiteSpace = null;
+
+ private Boolean lightweightModel = null;
+
+ /**
+ * Constructor for GenericXMLHandler.
+ *
+ * @param resource
+ * the model container.
+ */
+ public GenericXMLHandler(final Resource resource, final Map<String, Object> options) {
+ this.container = resource;
+ this.parameters = options;
+ }
+
+ @Override
+ public final void startElement(final String uri, final String localName, final String qName, final Attributes attrs) throws SAXException {
+ if(this.root == null) {
+ this.root = XwtxmlFactory.eINSTANCE.createRoot();
+ this.root.setName(qName);
+ this.container.getContents().add(this.root);
+ this.current = this.root;
+ if(this.dtd != null) {
+ this.root.setDtd(this.dtd);
+ }
+ if(this.leadingPIs != null) {
+ this.root.getLeadingPIs().addAll(this.leadingPIs);
+ }
+ } else {
+ Element newElement = XwtxmlFactory.eINSTANCE.createElement();
+ newElement.setName(qName);
+
+ this.current.getChildren().add(newElement);
+ this.current = newElement;
+ }
+
+ for(int i = 0; i < attrs.getLength(); i++) {
+ String name = attrs.getQName(i);
+ if(this.current == this.root && name.startsWith(GenericXMLHandler.XMLNS)) {
+ Namespace newNamespace = XwtxmlFactory.eINSTANCE.createNamespace();
+ if(name.length() == GenericXMLHandler.XMLNS.length()) {
+ newNamespace.setName(""); // xmlns= //$NON-NLS-1$
+ } else {
+ newNamespace.setName(name.substring(GenericXMLHandler.XMLNS.length() + 1));
+ // xmlns:XX=
+ }
+ newNamespace.setValue(attrs.getValue(i));
+
+ this.root.getNamespaces().add(newNamespace);
+ } else {
+ Attribute newAttribute = XwtxmlFactory.eINSTANCE.createAttribute();
+ newAttribute.setName(name);
+ newAttribute.setValue(attrs.getValue(i));
+
+ this.current.getChildren().add(newAttribute);
+ }
+ }
+ }
+
+ @Override
+ public final void endElement(final String uri, final String localName, final String qName) throws SAXException {
+ this.current = this.current.getParent();
+ }
+
+ @Override
+ public final void characters(final char[] ch, final int start, final int length) throws SAXException {
+ if(this.current != null) {
+ boolean hasContent = true;
+ if(isLightweightModel()) {
+ hasContent = false;
+ int index = start;
+ while(!hasContent && index < start + length) {
+ hasContent = !UCharacter.isWhitespace(ch[index]);
+ index++;
+ }
+ }
+
+ if(hasContent) {
+ String text = new String(ch, start, length);
+ if(isIgnoreWhitespace()) {
+ text = text.trim();
+ }
+
+ if(text.length() > 0) {
+ Text newElement;
+ if(this.nextIsCDATA) {
+ newElement = XwtxmlFactory.eINSTANCE.createCDATA();
+ } else {
+ newElement = XwtxmlFactory.eINSTANCE.createText();
+ }
+ newElement.setName(text);
+ this.current.getChildren().add(newElement);
+ }
+ }
+ }
+ }
+
+ @Override
+ public final void comment(final char[] ch, final int start, final int length) throws SAXException {
+ if(this.current != null && !isLightweightModel()) {
+ String text = new String(ch, start, length);
+
+ if(text.length() > 0) {
+ Comment newElement = XwtxmlFactory.eINSTANCE.createComment();
+ newElement.setName(text);
+ this.current.getChildren().add(newElement);
+ }
+ }
+ }
+
+ @Override
+ public final void startDTD(final String name, final String publicId, final String systemId) throws SAXException {
+ DocumentTypeDeclaration newDtd = XwtxmlFactory.eINSTANCE.createDocumentTypeDeclaration();
+ newDtd.setName(name);
+ newDtd.setPublicID(publicId);
+ newDtd.setSystemID(systemId);
+ this.dtd = newDtd;
+ if(this.root != null) {
+ this.root.setDtd(this.dtd);
+ }
+ }
+
+ private boolean isIgnoreWhitespace() {
+ if(this.ignoreWhiteSpace == null) {
+ if(this.parameters != null && this.parameters.get(GenericXMLHandler.OPTION_IGNORE_WHITESPACE) != null) {
+ this.ignoreWhiteSpace = (Boolean)this.parameters.get(GenericXMLHandler.OPTION_IGNORE_WHITESPACE);
+ } else {
+ this.ignoreWhiteSpace = false;
+ }
+ }
+
+ return this.ignoreWhiteSpace;
+ }
+
+ private boolean isLightweightModel() {
+ if(this.lightweightModel == null) {
+ if(this.parameters != null && this.parameters.get(GenericXMLHandler.OPTION_LIGHTWEIGHT_MODEL) != null) {
+ this.lightweightModel = (Boolean)this.parameters.get(GenericXMLHandler.OPTION_LIGHTWEIGHT_MODEL);
+ } else {
+ this.lightweightModel = false;
+ }
+ }
+
+ return this.lightweightModel;
+ }
+
+ @Override
+ public final void endCDATA() throws SAXException {
+ this.nextIsCDATA = false;
+ }
+
+ @Override
+ public final void processingInstruction(final String target, final String data) throws SAXException {
+ ProcessingInstruction newElement = XwtxmlFactory.eINSTANCE.createProcessingInstruction();
+ newElement.setName(target);
+ newElement.setData(data);
+
+ if(this.current != null) {
+ this.current.getChildren().add(newElement);
+ } else {
+ if(this.leadingPIs == null) {
+ this.leadingPIs = new ArrayList<ProcessingInstruction>();
+ }
+ this.leadingPIs.add(newElement);
+ }
+
+ }
+
+ @Override
+ public void endDTD() throws SAXException {
+ // nothing
+ }
+
+ @Override
+ public void endEntity(final String arg0) throws SAXException {
+ // nothing
+ }
+
+ @Override
+ public final void startCDATA() throws SAXException {
+ this.nextIsCDATA = true;
+ }
+
+ @Override
+ public void startEntity(final String arg0) throws SAXException {
+ // nothing
+ }
+
+}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java
new file mode 100644
index 00000000000..974db0bdc6e
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java
@@ -0,0 +1,105 @@
+/**
+ * *******************************************************************************
+ * Copyright (c) 2009 Mia-Software.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *
+ * Fabien Giquel (Mia-Software) - initial API and implementation
+ * *******************************************************************************
+ *
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.modisco;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.Map;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.impl.ResourceImpl;
+import org.eclipse.papyrus.customization.properties.model.xwt.Activator;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.XMLReader;
+import org.xml.sax.helpers.DefaultHandler;
+
+/**
+ * A EMF Resource implementation which manages generic xml models serialization.
+ * XML Metamodel referenced here differs from
+ * http://www.eclipse.org/emf/2003/XMLType one.
+ *
+ * XML Metamodel referenced here is a subset of W3C XML concepts,
+ * e.g. element type declarations are not present.
+ *
+ */
+public class GenericXMLResourceImpl extends ResourceImpl {
+
+ /**
+ * Constructor for GenericXMLResourceImpl.
+ *
+ * @param uri
+ */
+ public GenericXMLResourceImpl(final URI uri) {
+ super(uri);
+ }
+
+ @SuppressWarnings("unchecked")
+ @Override
+ protected final void doLoad(final InputStream inputStream, final Map<?, ?> options) throws IOException {
+ try {
+ SAXParserFactory f = SAXParserFactory.newInstance();
+ f.setValidating(false);
+ SAXParser p = f.newSAXParser();
+ DefaultHandler handler = new GenericXMLHandler(this, (Map<String, Object>)options);
+
+ final XMLReader reader = p.getXMLReader();
+ try {
+ reader.setProperty("http://xml.org/sax/properties/lexical-handler", //$NON-NLS-1$
+ handler);
+ } catch (SAXNotRecognizedException e) {
+ String message = "Default XML sax parser does not support lexical handling.\n" //$NON-NLS-1$
+ + "DTDs and comment informations will not be available."; //$NON-NLS-1$
+ Activator.log.warn(message);
+ }
+
+ try {
+ reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd" //$NON-NLS-1$
+ , false);
+ } catch (SAXNotRecognizedException e) {
+ // go on without this feature,
+ // UnknownHostException may occur when
+ // a external dtd is indicated
+ // but not accessible (e.g. if www is not available)
+ Activator.log.warn(e.getMessage());
+ }
+
+ p.parse(inputStream, handler);
+
+ } catch (ParserConfigurationException e) {
+ throw new IOException(e.getMessage());
+ } catch (SAXException e) {
+ throw new IOException(e.getMessage());
+ }
+
+ }
+
+ @Override
+ protected final void doSave(final OutputStream outputStream, final Map<?, ?> options) throws IOException {
+ GenericXMLWriter writer = new GenericXMLWriter(outputStream);
+ for(EObject topLevelObject : getContents()) {
+ writer.serialize((Element)topLevelObject);
+ }
+ writer.flush();
+ writer.close();
+ }
+}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java
new file mode 100644
index 00000000000..91181c0ad7d
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java
@@ -0,0 +1,193 @@
+/**
+ * *******************************************************************************
+ * Copyright (c) 2009 Mia-Software.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *
+ * Fabien Giquel (Mia-Software) - initial API and implementation
+ * *******************************************************************************
+ *
+ */
+package org.eclipse.papyrus.customization.properties.model.xwt.modisco;
+
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.PrintWriter;
+import java.io.UnsupportedEncodingException;
+
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text;
+
+/**
+ *
+ * A XML writer dedicated to MoDisco Generic XML models.
+ *
+ */
+public class GenericXMLWriter extends PrintWriter {
+
+ protected static final String XML_VERSION = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; //$NON-NLS-1$
+
+ private static final int STRING_BUFFER_OFFSET = 10;
+
+ /**
+ * The constructor wraps an outputStream.
+ *
+ * @param output
+ * @throws UnsupportedEncodingException
+ */
+ public GenericXMLWriter(final OutputStream output) throws UnsupportedEncodingException {
+ super(new OutputStreamWriter(output, "UTF8")); //$NON-NLS-1$
+ println(GenericXMLWriter.XML_VERSION);
+ }
+
+ /**
+ * Serializes the element and its sub-elements.
+ *
+ * @param element
+ */
+ public final void serialize(final Element element) {
+ startTag(element);
+
+ if(element.getChildren() != null) {
+ for(Node child : element.getChildren()) {
+ if(child instanceof Element) {
+ serialize((Element)child);
+ } else if(child instanceof CDATA) {
+ String text = ((CDATA)child).getName();
+ print("<![CDATA[" + text + "]]>"); //$NON-NLS-1$ //$NON-NLS-2$
+ } else if(child instanceof Text) {
+ String text = ((Text)child).getName();
+ print(GenericXMLWriter.getEscaped(text));
+ } else if(child instanceof Comment) {
+ String text = "<!--" + ((Comment)child).getName() + "-->"; //$NON-NLS-1$ //$NON-NLS-2$
+ print(text);
+ } else if(child instanceof ProcessingInstruction) {
+ printPI(((ProcessingInstruction)child));
+ }
+ }
+ }
+
+ endTag(element);
+ }
+
+ private void startTag(final Element element) {
+ if(element instanceof Root) {
+ Root root = (Root)element;
+ if(root.getDtd() != null) {
+ printDTD(root.getDtd());
+ }
+ if(root.getLeadingPIs() != null) {
+ for(ProcessingInstruction pi : root.getLeadingPIs()) {
+ printPI(pi);
+ println();
+ }
+ }
+ }
+ print("<"); //$NON-NLS-1$
+ print(element.getName());
+ if(element instanceof Root) {
+ Root root = (Root)element;
+ if(root.getNamespaces() != null) {
+ for(Namespace ns : root.getNamespaces()) {
+ if(ns.getName().length() > 0) {
+ printAttribute(GenericXMLHandler.XMLNS + ":" + ns.getName(), //$NON-NLS-1$
+ ns.getValue());
+ } else {
+ printAttribute(GenericXMLHandler.XMLNS, ns.getValue());
+ }
+ }
+ }
+ }
+ if(element.getChildren() != null) {
+ for(Node child : element.getChildren()) {
+ if(child instanceof Attribute) {
+ Attribute attr = (Attribute)child;
+ printAttribute(attr.getName(), attr.getValue());
+ }
+ }
+ }
+ print(">"); //$NON-NLS-1$
+ }
+
+ private void endTag(final Element element) {
+ print("</" + element.getName() + ">"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ private void printAttribute(final String key, final String value) {
+ print(" "); //$NON-NLS-1$
+ print(key);
+ print("=\""); //$NON-NLS-1$
+ print(GenericXMLWriter.getEscaped(value));
+ print("\""); //$NON-NLS-1$
+ }
+
+ private void printDTD(final DocumentTypeDeclaration dtd) {
+ print("\n<!DOCTYPE "); //$NON-NLS-1$
+ print(dtd.getName());
+ print("\n\t\""); //$NON-NLS-1$
+ print(dtd.getPublicID());
+ print("\"\n\t\""); //$NON-NLS-1$
+ print(dtd.getSystemID());
+ print("\">"); //$NON-NLS-1$
+ }
+
+ private void printPI(final ProcessingInstruction pi) {
+ print("<?"); //$NON-NLS-1$
+ print(pi.getName());
+ print(" "); //$NON-NLS-1$
+ print(pi.getData());
+ print("?>"); //$NON-NLS-1$
+ }
+
+ private static void appendEscapedChar(final StringBuffer buffer, final char c) {
+ String replacement = GenericXMLWriter.getReplacement(c);
+ if(replacement != null) {
+ buffer.append('&');
+ buffer.append(replacement);
+ buffer.append(';');
+ } else {
+ buffer.append(c);
+ }
+ }
+
+ private static String getEscaped(final String s) {
+ StringBuffer result = new StringBuffer(s.length() + GenericXMLWriter.STRING_BUFFER_OFFSET);
+ for(int i = 0; i < s.length(); ++i) {
+ GenericXMLWriter.appendEscapedChar(result, s.charAt(i));
+ }
+ return result.toString();
+ }
+
+ private static String getReplacement(final char c) {
+ // Encode special XML characters into the equivalent character
+ // references.
+ // These five are defined by default for all XML documents.
+ switch(c) {
+ case '<':
+ return "lt"; //$NON-NLS-1$
+ case '>':
+ return "gt"; //$NON-NLS-1$
+ case '"':
+ return "quot"; //$NON-NLS-1$
+ case '\'':
+ return "apos"; //$NON-NLS-1$
+ case '&':
+ return "amp"; //$NON-NLS-1$
+ default:
+ return null;
+ }
+ }
+
+}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
index 211d1dc8d66..82c1aea6b81 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,8 +35,6 @@ import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceImpl;
-import org.eclipse.gmt.modisco.xml.Root;
-import org.eclipse.gmt.modisco.xml.resource.GenericXMLResourceImpl;
import org.eclipse.m2m.qvt.oml.BasicModelExtent;
import org.eclipse.m2m.qvt.oml.ExecutionContextImpl;
import org.eclipse.m2m.qvt.oml.ExecutionDiagnostic;
@@ -45,6 +43,8 @@ import org.eclipse.m2m.qvt.oml.TransformationExecutor;
import org.eclipse.m2m.qvt.oml.util.Log;
import org.eclipse.papyrus.customization.properties.model.xwt.Activator;
import org.eclipse.papyrus.customization.properties.model.xwt.format.XMLFormatter;
+import org.eclipse.papyrus.customization.properties.model.xwt.modisco.GenericXMLResourceImpl;
+import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
@@ -56,12 +56,12 @@ import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
* as EObjects.
* Resulting EObjects are conform to the Papyrus property view UI Metamodel :
* http://www.eclipse.org/papyrus/properties/ui/0.9
- *
+ *
* The resource is based on MoDisco for reading and writing XML,
* and on QVTO to go from XML to EMF and vice-versa.
- *
+ *
* @author Camille Letavernier
- *
+ *
* @see UiPackage
*/
public class XWTResource extends ResourceImpl {
@@ -70,15 +70,15 @@ public class XWTResource extends ResourceImpl {
/**
* The "format" option.
- *
+ *
* This option is a boolean, which default value is true
*/
public static final String OPTION_FORMAT = "format";
/**
- *
+ *
* Constructs a new XWTResource with the given URI
- *
+ *
* @param uri
* The resource's URI
*/
@@ -200,19 +200,23 @@ public class XWTResource extends ResourceImpl {
private Log getLogger() {
return new Log() {
+ @Override
public void log(int level, String message) {
Activator.getDefault().getLog().log(new Status(level, Activator.PLUGIN_ID, message));
}
+ @Override
public void log(int level, String message, Object param) {
log(level, message);
}
+ @Override
public void log(String message) {
log(IStatus.INFO, message);
}
+ @Override
public void log(String message, Object param) {
log(message);
}

Back to the top