Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:43:07 +0000
committerCamille Letavernier2014-08-21 13:50:25 +0000
commitdbc038b44bcbb890ae256d15eb09eb285512f020 (patch)
tree757e736583eea3ae352ad9ac91a81df7e59b79ff /plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt
parentea48a20561464c3cbb7895d430583669a9f82fcc (diff)
downloadorg.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.gz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.tar.xz
org.eclipse.papyrus-dbc038b44bcbb890ae256d15eb09eb285512f020.zip
[Code style] Apply clean-up and formatter on Main plug-ins
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java24
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java24
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java26
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java18
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java133
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java79
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java49
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java121
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java130
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java69
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java125
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java132
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java229
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java50
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java60
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.java5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java38
33 files changed, 988 insertions, 528 deletions
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
index eb63011f09a..286f1c57376 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -23,7 +23,7 @@ package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ 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...
+ * 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()
@@ -52,7 +52,9 @@ public interface Attribute extends Node {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
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
index 0249bc29e42..92c6197c520 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
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
index b00b781246c..3a8201b4aa9 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
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
index 8800e7a4535..974c33dbbe8 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -23,8 +23,8 @@ package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
* <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>
+ * <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>
*
@@ -37,10 +37,10 @@ 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...
+ * 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()
@@ -53,7 +53,9 @@ public interface DocumentTypeDeclaration extends Node {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Public ID</em>' attribute.
* @see #getPublicID()
* @generated
*/
@@ -63,10 +65,10 @@ public interface DocumentTypeDeclaration extends Node {
* 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...
+ * 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()
@@ -79,7 +81,9 @@ public interface DocumentTypeDeclaration extends Node {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>System ID</em>' attribute.
* @see #getSystemID()
* @generated
*/
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
index aaa08d86ade..40b90cee158 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -24,7 +24,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}</li>
* </ul>
* </p>
*
@@ -39,10 +39,10 @@ public interface Element extends 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...
+ * 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
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
index 4696e777b0c..9be6fa28e6e 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
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
index 2ee8f151661..fab712cd823 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -24,8 +24,8 @@ import org.eclipse.emf.ecore.EObject;
* <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>
+ * <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>
*
@@ -38,10 +38,10 @@ 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...
+ * 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()
@@ -54,7 +54,9 @@ public interface Node extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -65,10 +67,10 @@ public interface Node extends EObject {
* 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...
+ * 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()
@@ -82,7 +84,9 @@ public interface Node extends EObject {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Parent</em>' container reference.
* @see #getParent()
* @generated
*/
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
index 97df9227573..a4c4db764a6 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -23,7 +23,7 @@ package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}</li>
* </ul>
* </p>
*
@@ -36,10 +36,10 @@ 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...
+ * 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()
@@ -52,7 +52,9 @@ public interface ProcessingInstruction extends Node {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Data</em>' attribute.
* @see #getData()
* @generated
*/
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
index 951d28d7174..abe84d313bd 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -24,9 +24,9 @@ import org.eclipse.emf.common.util.EList;
* <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>
+ * <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>
*
@@ -40,10 +40,10 @@ public interface Root extends Element {
* 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...
+ * 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"
@@ -55,10 +55,10 @@ public interface Root extends Element {
* 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...
+ * 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()
@@ -71,7 +71,9 @@ public interface Root extends Element {
* 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.
+ *
+ * @param value
+ * the new value of the '<em>Dtd</em>' containment reference.
* @see #getDtd()
* @generated
*/
@@ -82,10 +84,10 @@ public interface Root extends Element {
* 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...
+ * 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"
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
index c95d66606f2..b5eccaad6f3 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
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
index 0659b2a5d39..075e206fa6f 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -21,6 +21,7 @@ import org.eclipse.emf.ecore.EFactory;
* 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
*/
@@ -29,6 +30,7 @@ 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();
@@ -37,6 +39,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -46,6 +49,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -55,6 +59,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -64,6 +69,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -73,6 +79,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -82,6 +89,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -91,6 +99,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -100,6 +109,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -109,6 +119,7 @@ public interface XwtxmlFactory extends EFactory {
* 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
*/
@@ -118,9 +129,10 @@ public interface XwtxmlFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
XwtxmlPackage getXwtxmlPackage();
-} //XwtxmlFactory
+} // 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
index 374e734d976..e7e0cc969f3 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -24,13 +24,14 @@ import org.eclipse.emf.ecore.EReference;
* 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>
+ * <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
@@ -40,6 +41,7 @@ public interface XwtxmlPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "xwtxml";
@@ -48,6 +50,7 @@ public interface XwtxmlPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/xwt/XML";
@@ -56,6 +59,7 @@ public interface XwtxmlPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "xwtxml";
@@ -64,6 +68,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -72,6 +77,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -82,6 +88,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -91,6 +98,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -100,6 +108,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -109,6 +118,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -118,6 +128,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -128,6 +139,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -137,6 +149,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -146,6 +159,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -155,6 +169,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Attribute</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -164,6 +179,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Attribute</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -173,6 +189,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -183,6 +200,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -192,6 +210,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -201,6 +220,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Text</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -210,6 +230,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Text</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -219,6 +240,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -229,6 +251,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -238,6 +261,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -247,6 +271,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -256,6 +281,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -265,6 +291,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -274,6 +301,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -284,6 +312,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -293,6 +322,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -302,6 +332,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Children</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -311,6 +342,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Namespaces</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -320,6 +352,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Dtd</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -329,6 +362,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Leading PIs</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -338,6 +372,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -347,6 +382,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -356,6 +392,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -366,6 +403,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -375,6 +413,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -384,6 +423,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -393,6 +433,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Namespace</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -402,6 +443,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Namespace</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -411,6 +453,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -421,6 +464,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -430,6 +474,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -439,6 +484,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Comment</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -448,6 +494,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Comment</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -457,6 +504,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -467,6 +515,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -476,6 +525,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -485,6 +535,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Public ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -494,6 +545,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>System ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -503,6 +555,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Document Type Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -512,6 +565,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Document Type Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -521,6 +575,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -531,6 +586,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -540,6 +596,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -549,6 +606,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>CDATA</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -558,6 +616,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>CDATA</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -567,6 +626,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -577,6 +637,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -586,6 +647,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Parent</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -595,6 +657,7 @@ public interface XwtxmlPackage extends EPackage {
* The feature id for the '<em><b>Data</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -604,6 +667,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of structural features of the '<em>Processing Instruction</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -613,6 +677,7 @@ public interface XwtxmlPackage extends EPackage {
* The number of operations of the '<em>Processing Instruction</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -623,6 +688,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -633,6 +699,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -644,6 +711,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -655,6 +723,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -665,6 +734,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -676,6 +746,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -686,6 +757,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -696,6 +768,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -707,6 +780,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -717,6 +791,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -728,6 +803,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -739,6 +815,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -750,6 +827,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -760,6 +838,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -770,6 +849,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -780,6 +860,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -791,6 +872,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -802,6 +884,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -812,6 +895,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -822,6 +906,7 @@ public interface XwtxmlPackage extends EPackage {
* 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()
@@ -833,6 +918,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
*/
@@ -842,13 +928,14 @@ public interface XwtxmlPackage extends EPackage {
* <!-- 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>
+ * <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 {
@@ -856,6 +943,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -866,6 +954,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -874,6 +963,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -882,6 +972,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -892,6 +983,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -900,6 +992,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -910,6 +1003,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -920,6 +1014,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -928,6 +1023,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -938,6 +1034,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -946,6 +1043,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -954,6 +1052,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -962,6 +1061,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -972,6 +1072,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -982,6 +1083,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -992,6 +1094,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -1000,6 +1103,7 @@ public interface XwtxmlPackage extends EPackage {
* 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();
@@ -1008,6 +1112,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -1018,6 +1123,7 @@ public interface XwtxmlPackage extends EPackage {
* 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
@@ -1028,10 +1134,11 @@ public interface XwtxmlPackage extends EPackage {
* 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
+} // 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
index 1f2cfefd405..51545cce22b 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -41,6 +41,7 @@ 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
@@ -51,6 +52,7 @@ public class AttributeImpl extends NodeImpl implements Attribute {
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValue()
* @generated
* @ordered
@@ -60,6 +62,7 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected AttributeImpl() {
@@ -69,6 +72,7 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,8 +83,10 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getValue() {
return value;
}
@@ -88,25 +94,29 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setValue(String newValue) {
String oldValue = value;
value = newValue;
- if (eNotificationRequired())
+ 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();
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ return getValue();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +124,15 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- 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;
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ setValue((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +140,15 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case XwtxmlPackage.ATTRIBUTE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -144,13 +156,14 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- 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);
+ case XwtxmlPackage.ATTRIBUTE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
}
return super.eIsSet(featureID);
}
@@ -158,11 +171,14 @@ public class AttributeImpl extends NodeImpl implements Attribute {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (value: ");
@@ -171,4 +187,4 @@ public class AttributeImpl extends NodeImpl implements Attribute {
return result.toString();
}
-} //AttributeImpl
+} // 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
index bfac78e0fa0..1a70fe94362 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -32,6 +32,7 @@ public class CDATAImpl extends TextImpl implements CDATA {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CDATAImpl() {
@@ -41,6 +42,7 @@ public class CDATAImpl extends TextImpl implements CDATA {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -48,4 +50,4 @@ public class CDATAImpl extends TextImpl implements CDATA {
return XwtxmlPackage.Literals.CDATA;
}
-} //CDATAImpl
+} // 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
index e0eb4bd8f83..cc4d8862b80 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -32,6 +32,7 @@ public class CommentImpl extends NodeImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected CommentImpl() {
@@ -41,6 +42,7 @@ public class CommentImpl extends NodeImpl implements Comment {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -48,4 +50,4 @@ public class CommentImpl extends NodeImpl implements Comment {
return XwtxmlPackage.Literals.COMMENT;
}
-} //CommentImpl
+} // 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
index 9e54b68f729..f740d06e35d 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -30,8 +30,8 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <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>
+ * <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>
*
@@ -42,6 +42,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
* The default value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPublicID()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
* The cached value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getPublicID()
* @generated
* @ordered
@@ -62,6 +64,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
* The default value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSystemID()
* @generated
* @ordered
@@ -72,6 +75,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
* The cached value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getSystemID()
* @generated
* @ordered
@@ -81,6 +85,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DocumentTypeDeclarationImpl() {
@@ -90,6 +95,7 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -100,8 +106,10 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getPublicID() {
return publicID;
}
@@ -109,20 +117,25 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setPublicID(String newPublicID) {
String oldPublicID = publicID;
publicID = newPublicID;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID, oldPublicID, publicID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getSystemID() {
return systemID;
}
@@ -130,27 +143,31 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setSystemID(String newSystemID) {
String oldSystemID = systemID;
systemID = newSystemID;
- if (eNotificationRequired())
+ 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();
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
+ return getPublicID();
+ case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
+ return getSystemID();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -158,17 +175,18 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- 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;
+ 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);
}
@@ -176,17 +194,18 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- 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;
+ 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);
}
@@ -194,15 +213,16 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- 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);
+ 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);
}
@@ -210,11 +230,14 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (publicID: ");
@@ -225,4 +248,4 @@ public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTyp
return result.toString();
}
-} //DocumentTypeDeclarationImpl
+} // 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
index 8f9f62c06f3..507473fa3e0 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -37,7 +37,7 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl#getChildren <em>Children</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl#getChildren <em>Children</em>}</li>
* </ul>
* </p>
*
@@ -48,6 +48,7 @@ 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
@@ -57,6 +58,7 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ElementImpl() {
@@ -66,6 +68,7 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -76,8 +79,10 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<Node> getChildren() {
if (children == null) {
children = new EObjectContainmentWithInverseEList<Node>(Node.class, this, XwtxmlPackage.ELEMENT__CHILDREN, XwtxmlPackage.NODE__PARENT);
@@ -88,14 +93,15 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- 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);
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getChildren()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -103,13 +109,14 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- 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);
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return ((InternalEList<?>) getChildren()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -117,13 +124,14 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- 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();
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return getChildren();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -131,16 +139,17 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- 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;
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ getChildren().clear();
+ getChildren().addAll((Collection<? extends Node>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -148,14 +157,15 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- getChildren().clear();
- return;
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ getChildren().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -163,15 +173,16 @@ public class ElementImpl extends NodeImpl implements Element {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- return children != null && !children.isEmpty();
+ case XwtxmlPackage.ELEMENT__CHILDREN:
+ return children != null && !children.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ElementImpl
+} // 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
index a16b2a9e6c3..4a2f9ac47a1 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -32,6 +32,7 @@ public class NamespaceImpl extends AttributeImpl implements Namespace {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected NamespaceImpl() {
@@ -41,6 +42,7 @@ public class NamespaceImpl extends AttributeImpl implements Namespace {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -48,4 +50,4 @@ public class NamespaceImpl extends AttributeImpl implements Namespace {
return XwtxmlPackage.Literals.NAMESPACE;
}
-} //NamespaceImpl
+} // 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
index a5c8642a52e..fd930d8cf62 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -36,8 +36,8 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <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>
+ * <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>
*
@@ -48,6 +48,7 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -58,6 +59,7 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -67,6 +69,7 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected NodeImpl() {
@@ -76,6 +79,7 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -86,8 +90,10 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getName() {
return name;
}
@@ -95,68 +101,86 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.NODE__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Element getParent() {
- if (eContainerFeatureID() != XwtxmlPackage.NODE__PARENT) return null;
- return (Element)eInternalContainer();
+ 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);
+ msgs = eBasicSetContainer((InternalEObject) newParent, XwtxmlPackage.NODE__PARENT, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setParent(Element newParent) {
if (newParent != eInternalContainer() || (eContainerFeatureID() != XwtxmlPackage.NODE__PARENT && newParent != null)) {
- if (EcoreUtil.isAncestor(this, newParent))
+ if (EcoreUtil.isAncestor(this, newParent)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if (eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if (newParent != null)
- msgs = ((InternalEObject)newParent).eInverseAdd(this, XwtxmlPackage.ELEMENT__CHILDREN, Element.class, msgs);
+ }
+ if (newParent != null) {
+ msgs = ((InternalEObject) newParent).eInverseAdd(this, XwtxmlPackage.ELEMENT__CHILDREN, Element.class, msgs);
+ }
msgs = basicSetParent(newParent, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ 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);
+ case XwtxmlPackage.NODE__PARENT:
+ if (eInternalContainer() != null) {
+ msgs = eBasicRemoveFromContainer(msgs);
+ }
+ return basicSetParent((Element) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -164,13 +188,14 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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);
+ case XwtxmlPackage.NODE__PARENT:
+ return basicSetParent(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -178,13 +203,14 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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);
+ case XwtxmlPackage.NODE__PARENT:
+ return eInternalContainer().eInverseRemove(this, XwtxmlPackage.ELEMENT__CHILDREN, Element.class, msgs);
}
return super.eBasicRemoveFromContainerFeature(msgs);
}
@@ -192,15 +218,16 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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();
+ case XwtxmlPackage.NODE__NAME:
+ return getName();
+ case XwtxmlPackage.NODE__PARENT:
+ return getParent();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -208,17 +235,18 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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;
+ case XwtxmlPackage.NODE__NAME:
+ setName((String) newValue);
+ return;
+ case XwtxmlPackage.NODE__PARENT:
+ setParent((Element) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -226,17 +254,18 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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;
+ case XwtxmlPackage.NODE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case XwtxmlPackage.NODE__PARENT:
+ setParent((Element) null);
+ return;
}
super.eUnset(featureID);
}
@@ -244,15 +273,16 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- 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;
+ 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);
}
@@ -260,11 +290,14 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -273,4 +306,4 @@ public abstract class NodeImpl extends MinimalEObjectImpl.Container implements N
return result.toString();
}
-} //NodeImpl
+} // 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
index bc70ebc4aed..41077316497 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl#getData <em>Data</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl#getData <em>Data</em>}</li>
* </ul>
* </p>
*
@@ -41,6 +41,7 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
* The default value of the '{@link #getData() <em>Data</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getData()
* @generated
* @ordered
@@ -51,6 +52,7 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
* The cached value of the '{@link #getData() <em>Data</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getData()
* @generated
* @ordered
@@ -60,6 +62,7 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ProcessingInstructionImpl() {
@@ -69,6 +72,7 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -79,8 +83,10 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getData() {
return data;
}
@@ -88,25 +94,29 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setData(String newData) {
String oldData = data;
data = newData;
- if (eNotificationRequired())
+ 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();
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ return getData();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +124,15 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- 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;
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ setData((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +140,15 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
- setData(DATA_EDEFAULT);
- return;
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ setData(DATA_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -144,13 +156,14 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- 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);
+ case XwtxmlPackage.PROCESSING_INSTRUCTION__DATA:
+ return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT.equals(data);
}
return super.eIsSet(featureID);
}
@@ -158,11 +171,14 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (data: ");
@@ -171,4 +187,4 @@ public class ProcessingInstructionImpl extends NodeImpl implements ProcessingIns
return result.toString();
}
-} //ProcessingInstructionImpl
+} // 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
index f966601978e..91aae8362a6 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -42,9 +42,9 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <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>
+ * <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>
*
@@ -55,6 +55,7 @@ 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
@@ -65,6 +66,7 @@ public class RootImpl extends ElementImpl implements Root {
* The cached value of the '{@link #getDtd() <em>Dtd</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getDtd()
* @generated
* @ordered
@@ -75,6 +77,7 @@ public class RootImpl extends ElementImpl implements Root {
* The cached value of the '{@link #getLeadingPIs() <em>Leading PIs</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getLeadingPIs()
* @generated
* @ordered
@@ -84,6 +87,7 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected RootImpl() {
@@ -93,6 +97,7 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -103,8 +108,10 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<Namespace> getNamespaces() {
if (namespaces == null) {
namespaces = new EObjectContainmentEList<Namespace>(Namespace.class, this, XwtxmlPackage.ROOT__NAMESPACES);
@@ -115,8 +122,10 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DocumentTypeDeclaration getDtd() {
return dtd;
}
@@ -124,6 +133,7 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetDtd(DocumentTypeDeclaration newDtd, NotificationChain msgs) {
@@ -131,7 +141,11 @@ public class RootImpl extends ElementImpl implements Root {
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);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -139,27 +153,36 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
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);
+ 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();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.ROOT__DTD, newDtd, newDtd));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<ProcessingInstruction> getLeadingPIs() {
if (leadingPIs == null) {
leadingPIs = new EObjectContainmentEList<ProcessingInstruction>(ProcessingInstruction.class, this, XwtxmlPackage.ROOT__LEADING_PIS);
@@ -170,17 +193,18 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- 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);
+ 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);
}
@@ -188,17 +212,18 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- 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();
+ 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);
}
@@ -206,23 +231,24 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- 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;
+ 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);
}
@@ -230,20 +256,21 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- 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;
+ 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);
}
@@ -251,19 +278,20 @@ public class RootImpl extends ElementImpl implements Root {
/**
* <!-- 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();
+ 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
+} // 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
index 77b34abe36b..bd91321c888 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -32,6 +32,7 @@ public class TextImpl extends NodeImpl implements Text {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected TextImpl() {
@@ -41,6 +42,7 @@ public class TextImpl extends NodeImpl implements Text {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -48,4 +50,4 @@ public class TextImpl extends NodeImpl implements Text {
return XwtxmlPackage.Literals.TEXT;
}
-} //TextImpl
+} // 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
index 2cd793171dc..131a4f02c21 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -28,6 +28,7 @@ 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 {
@@ -35,16 +36,16 @@ 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);
+ XwtxmlFactory theXwtxmlFactory = (XwtxmlFactory) EPackage.Registry.INSTANCE.getEFactory(XwtxmlPackage.eNS_URI);
if (theXwtxmlFactory != null) {
return theXwtxmlFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new XwtxmlFactoryImpl();
@@ -54,6 +55,7 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public XwtxmlFactoryImpl() {
@@ -63,30 +65,42 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- 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");
+ 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
*/
+ @Override
public Attribute createAttribute() {
AttributeImpl attribute = new AttributeImpl();
return attribute;
@@ -95,8 +109,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Text createText() {
TextImpl text = new TextImpl();
return text;
@@ -105,8 +121,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Element createElement() {
ElementImpl element = new ElementImpl();
return element;
@@ -115,8 +133,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Root createRoot() {
RootImpl root = new RootImpl();
return root;
@@ -125,8 +145,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Namespace createNamespace() {
NamespaceImpl namespace = new NamespaceImpl();
return namespace;
@@ -135,8 +157,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Comment createComment() {
CommentImpl comment = new CommentImpl();
return comment;
@@ -145,8 +169,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public DocumentTypeDeclaration createDocumentTypeDeclaration() {
DocumentTypeDeclarationImpl documentTypeDeclaration = new DocumentTypeDeclarationImpl();
return documentTypeDeclaration;
@@ -155,8 +181,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public CDATA createCDATA() {
CDATAImpl cdata = new CDATAImpl();
return cdata;
@@ -165,8 +193,10 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ProcessingInstruction createProcessingInstruction() {
ProcessingInstructionImpl processingInstruction = new ProcessingInstructionImpl();
return processingInstruction;
@@ -175,15 +205,18 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public XwtxmlPackage getXwtxmlPackage() {
- return (XwtxmlPackage)getEPackage();
+ return (XwtxmlPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -192,4 +225,4 @@ public class XwtxmlFactoryImpl extends EFactoryImpl implements XwtxmlFactory {
return XwtxmlPackage.eINSTANCE;
}
-} //XwtxmlFactoryImpl
+} // 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
index 108b9e744bc..789e792bad8 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -37,12 +37,14 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPacka
* <!-- 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;
@@ -50,6 +52,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass attributeEClass = null;
@@ -57,6 +60,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass textEClass = null;
@@ -64,6 +68,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass elementEClass = null;
@@ -71,6 +76,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass rootEClass = null;
@@ -78,6 +84,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass namespaceEClass = null;
@@ -85,6 +92,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass commentEClass = null;
@@ -92,6 +100,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass documentTypeDeclarationEClass = null;
@@ -99,6 +108,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass cdataEClass = null;
@@ -106,20 +116,17 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- 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
+ * 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 -->
+ * <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()
@@ -132,27 +139,29 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- 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 -->
*
- * <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);
+ 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());
+ XwtxmlPackageImpl theXwtxmlPackage = (XwtxmlPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof XwtxmlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new XwtxmlPackageImpl());
isInited = true;
@@ -165,7 +174,7 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
// 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;
@@ -174,8 +183,10 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getNode() {
return nodeEClass;
}
@@ -183,26 +194,32 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getNode_Name() {
- return (EAttribute)nodeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) nodeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getNode_Parent() {
- return (EReference)nodeEClass.getEStructuralFeatures().get(1);
+ return (EReference) nodeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getAttribute() {
return attributeEClass;
}
@@ -210,17 +227,21 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getAttribute_Value() {
- return (EAttribute)attributeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) attributeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getText() {
return textEClass;
}
@@ -228,8 +249,10 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getElement() {
return elementEClass;
}
@@ -237,17 +260,21 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getElement_Children() {
- return (EReference)elementEClass.getEStructuralFeatures().get(0);
+ return (EReference) elementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getRoot() {
return rootEClass;
}
@@ -255,35 +282,43 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getRoot_Namespaces() {
- return (EReference)rootEClass.getEStructuralFeatures().get(0);
+ return (EReference) rootEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getRoot_Dtd() {
- return (EReference)rootEClass.getEStructuralFeatures().get(1);
+ return (EReference) rootEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getRoot_LeadingPIs() {
- return (EReference)rootEClass.getEStructuralFeatures().get(2);
+ return (EReference) rootEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getNamespace() {
return namespaceEClass;
}
@@ -291,8 +326,10 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getComment() {
return commentEClass;
}
@@ -300,8 +337,10 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDocumentTypeDeclaration() {
return documentTypeDeclarationEClass;
}
@@ -309,26 +348,32 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDocumentTypeDeclaration_PublicID() {
- return (EAttribute)documentTypeDeclarationEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) documentTypeDeclarationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getDocumentTypeDeclaration_SystemID() {
- return (EAttribute)documentTypeDeclarationEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) documentTypeDeclarationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getCDATA() {
return cdataEClass;
}
@@ -336,8 +381,10 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getProcessingInstruction() {
return processingInstructionEClass;
}
@@ -345,37 +392,45 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getProcessingInstruction_Data() {
- return (EAttribute)processingInstructionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) processingInstructionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public XwtxmlFactory getXwtxmlFactory() {
- return (XwtxmlFactory)getEFactoryInstance();
+ 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
+ * 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;
+ if (isCreated) {
+ return;
+ }
isCreated = true;
// Create classes and their features
@@ -413,19 +468,23 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) {
+ return;
+ }
isInitialized = true;
// Initialize package
@@ -483,4 +542,4 @@ public class XwtxmlPackageImpl extends EPackageImpl implements XwtxmlPackage {
createResource(eNS_URI);
}
-} //XwtxmlPackageImpl
+} // 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
index 118a47427bf..1acfed67524 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -28,6 +28,7 @@ import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.*;
* 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
*/
@@ -36,6 +37,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static XwtxmlPackage modelPackage;
@@ -44,6 +46,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public XwtxmlAdapterFactory() {
@@ -57,6 +60,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* <!-- 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
*/
@@ -66,7 +70,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -75,67 +79,80 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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();
- }
- };
+ 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.
+ *
+ * @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);
+ return modelSwitch.doSwitch((EObject) target);
}
@@ -145,6 +162,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -159,6 +177,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -173,6 +192,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -187,6 +207,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -201,6 +222,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -215,6 +237,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -229,6 +252,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -243,6 +267,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -257,6 +282,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -271,6 +297,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* 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
@@ -284,6 +311,7 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -291,4 +319,4 @@ public class XwtxmlAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //XwtxmlAdapterFactory
+} // 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
index 02439e53698..dceaf5f62ff 100644
--- 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
@@ -5,9 +5,9 @@
* 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
* *******************************************************************************
*
@@ -24,13 +24,13 @@ 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,
+ * 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
*/
@@ -39,6 +39,7 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static XwtxmlPackage modelPackage;
@@ -47,6 +48,7 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public XwtxmlSwitch() {
@@ -59,6 +61,7 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* 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
@@ -72,85 +75,131 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* 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.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);
}
- 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;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- 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;
+ return result;
+ }
+ case XwtxmlPackage.TEXT: {
+ Text text = (Text) theEObject;
+ T result = caseText(text);
+ if (result == null) {
+ result = caseNode(text);
}
- 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;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- 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;
+ return result;
+ }
+ case XwtxmlPackage.ELEMENT: {
+ Element element = (Element) theEObject;
+ T result = caseElement(element);
+ if (result == null) {
+ result = caseNode(element);
}
- 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;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- 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;
+ return result;
+ }
+ case XwtxmlPackage.ROOT: {
+ Root root = (Root) theEObject;
+ T result = caseRoot(root);
+ if (result == null) {
+ result = caseElement(root);
}
- 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;
+ if (result == null) {
+ result = caseNode(root);
}
- 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;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- 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;
+ return result;
+ }
+ case XwtxmlPackage.NAMESPACE: {
+ Namespace namespace = (Namespace) theEObject;
+ T result = caseNamespace(namespace);
+ if (result == null) {
+ result = caseAttribute(namespace);
}
- default: return defaultCase(theEObject);
+ 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);
}
}
@@ -160,7 +209,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -175,7 +226,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -190,7 +243,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -205,7 +260,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -220,7 +277,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -235,7 +294,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -250,7 +311,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -265,7 +328,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -280,7 +345,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -295,7 +362,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @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
@@ -310,7 +379,9 @@ public class XwtxmlSwitch<T> extends Switch<T> {
* 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.
+ *
+ * @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
@@ -320,4 +391,4 @@ public class XwtxmlSwitch<T> extends Switch<T> {
return null;
}
-} //XwtxmlSwitch
+} // XwtxmlSwitch
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java
index 00d8296d362..dd30c8c0874 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2011 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
@@ -64,7 +64,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java
index 02c38fb57f0..041d8f89063 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2011 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
@@ -20,12 +20,12 @@ import org.eclipse.wst.xml.core.internal.formatter.XMLFormatterFormatProcessor;
/**
* A Helper for formatting XML Files
- *
+ *
* @author Camille Letavernier
*/
public class XMLFormatter {
- public static void format(IFile file){
+ public static void format(IFile file) {
XMLFormatterFormatProcessor processor = new XMLFormatterFormatProcessor();
try {
processor.formatFile(file);
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
index f9bcdacd806..10dd40ee9bb 100644
--- 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
@@ -77,7 +77,7 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
* Constructor for GenericXMLHandler.
*
* @param resource
- * the model container.
+ * the model container.
*/
public GenericXMLHandler(final Resource resource, final Map<String, Object> options) {
this.container = resource;
@@ -86,15 +86,15 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
@Override
public final void startElement(final String uri, final String localName, final String qName, final Attributes attrs) throws SAXException {
- if(this.root == null) {
+ 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) {
+ if (this.dtd != null) {
this.root.setDtd(this.dtd);
}
- if(this.leadingPIs != null) {
+ if (this.leadingPIs != null) {
this.root.getLeadingPIs().addAll(this.leadingPIs);
}
} else {
@@ -105,11 +105,11 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
this.current = newElement;
}
- for(int i = 0; i < attrs.getLength(); i++) {
+ for (int i = 0; i < attrs.getLength(); i++) {
String name = attrs.getQName(i);
- if(this.current == this.root && name.startsWith(GenericXMLHandler.XMLNS)) {
+ if (this.current == this.root && name.startsWith(GenericXMLHandler.XMLNS)) {
Namespace newNamespace = XwtxmlFactory.eINSTANCE.createNamespace();
- if(name.length() == GenericXMLHandler.XMLNS.length()) {
+ if (name.length() == GenericXMLHandler.XMLNS.length()) {
newNamespace.setName(""); // xmlns= //$NON-NLS-1$
} else {
newNamespace.setName(name.substring(GenericXMLHandler.XMLNS.length() + 1));
@@ -135,26 +135,26 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
@Override
public final void characters(final char[] ch, final int start, final int length) throws SAXException {
- if(this.current != null) {
+ if (this.current != null) {
boolean hasContent = true;
- if(isLightweightModel()) {
+ if (isLightweightModel()) {
hasContent = false;
int index = start;
- while(!hasContent && index < start + length) {
+ while (!hasContent && index < start + length) {
hasContent = !UCharacter.isWhitespace(ch[index]);
index++;
}
}
- if(hasContent) {
+ if (hasContent) {
String text = new String(ch, start, length);
- if(isIgnoreWhitespace()) {
+ if (isIgnoreWhitespace()) {
text = text.trim();
}
- if(text.length() > 0) {
+ if (text.length() > 0) {
Text newElement;
- if(this.nextIsCDATA) {
+ if (this.nextIsCDATA) {
newElement = XwtxmlFactory.eINSTANCE.createCDATA();
} else {
newElement = XwtxmlFactory.eINSTANCE.createText();
@@ -168,10 +168,10 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
@Override
public final void comment(final char[] ch, final int start, final int length) throws SAXException {
- if(this.current != null && !isLightweightModel()) {
+ if (this.current != null && !isLightweightModel()) {
String text = new String(ch, start, length);
- if(text.length() > 0) {
+ if (text.length() > 0) {
Comment newElement = XwtxmlFactory.eINSTANCE.createComment();
newElement.setName(text);
this.current.getChildren().add(newElement);
@@ -186,15 +186,15 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
newDtd.setPublicID(publicId);
newDtd.setSystemID(systemId);
this.dtd = newDtd;
- if(this.root != null) {
+ 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);
+ 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;
}
@@ -204,9 +204,9 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
}
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);
+ 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;
}
@@ -226,10 +226,10 @@ public class GenericXMLHandler extends DefaultHandler implements LexicalHandler
newElement.setName(target);
newElement.setData(data);
- if(this.current != null) {
+ if (this.current != null) {
this.current.getChildren().add(newElement);
} else {
- if(this.leadingPIs == null) {
+ if (this.leadingPIs == null) {
this.leadingPIs = new ArrayList<ProcessingInstruction>();
}
this.leadingPIs.add(newElement);
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
index 974db0bdc6e..cd340eb1f2b 100644
--- 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
@@ -60,21 +60,21 @@ public class GenericXMLResourceImpl extends ResourceImpl {
SAXParserFactory f = SAXParserFactory.newInstance();
f.setValidating(false);
SAXParser p = f.newSAXParser();
- DefaultHandler handler = new GenericXMLHandler(this, (Map<String, Object>)options);
+ 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);
+ 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$
+ + "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);
+ , false);
} catch (SAXNotRecognizedException e) {
// go on without this feature,
// UnknownHostException may occur when
@@ -96,8 +96,8 @@ public class GenericXMLResourceImpl extends ResourceImpl {
@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);
+ 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
index 91181c0ad7d..f465a9189b3 100644
--- 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
@@ -60,21 +60,21 @@ public class GenericXMLWriter extends PrintWriter {
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();
+ 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();
+ } 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$
+ } 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));
+ } else if (child instanceof ProcessingInstruction) {
+ printPI(((ProcessingInstruction) child));
}
}
}
@@ -83,13 +83,13 @@ public class GenericXMLWriter extends PrintWriter {
}
private void startTag(final Element element) {
- if(element instanceof Root) {
- Root root = (Root)element;
- if(root.getDtd() != null) {
+ if (element instanceof Root) {
+ Root root = (Root) element;
+ if (root.getDtd() != null) {
printDTD(root.getDtd());
}
- if(root.getLeadingPIs() != null) {
- for(ProcessingInstruction pi : root.getLeadingPIs()) {
+ if (root.getLeadingPIs() != null) {
+ for (ProcessingInstruction pi : root.getLeadingPIs()) {
printPI(pi);
println();
}
@@ -97,23 +97,23 @@ public class GenericXMLWriter extends PrintWriter {
}
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) {
+ 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());
+ 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;
+ if (element.getChildren() != null) {
+ for (Node child : element.getChildren()) {
+ if (child instanceof Attribute) {
+ Attribute attr = (Attribute) child;
printAttribute(attr.getName(), attr.getValue());
}
}
@@ -153,7 +153,7 @@ public class GenericXMLWriter extends PrintWriter {
private static void appendEscapedChar(final StringBuffer buffer, final char c) {
String replacement = GenericXMLWriter.getReplacement(c);
- if(replacement != null) {
+ if (replacement != null) {
buffer.append('&');
buffer.append(replacement);
buffer.append(';');
@@ -164,7 +164,7 @@ public class GenericXMLWriter extends PrintWriter {
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) {
+ for (int i = 0; i < s.length(); ++i) {
GenericXMLWriter.appendEscapedChar(result, s.charAt(i));
}
return result.toString();
@@ -174,7 +174,7 @@ public class GenericXMLWriter extends PrintWriter {
// Encode special XML characters into the equivalent character
// references.
// These five are defined by default for all XML documents.
- switch(c) {
+ switch (c) {
case '<':
return "lt"; //$NON-NLS-1$
case '>':
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.java
index 144a2fafee3..b2b9145f545 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.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
@@ -16,11 +16,12 @@ import org.eclipse.emf.ecore.resource.Resource;
/**
* A Factory for reading XWT Files as EMF Resources
- *
+ *
* @author Camille Letavernier
*/
public class XWTModelFactory implements Resource.Factory {
+ @Override
public Resource createResource(URI uri) {
return new XWTResource(uri);
}
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 82c1aea6b81..9649bb201af 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
@@ -80,7 +80,7 @@ public class XWTResource extends ResourceImpl {
* Constructs a new XWTResource with the given URI
*
* @param uri
- * The resource's URI
+ * The resource's URI
*/
public XWTResource(URI uri) {
super(uri);
@@ -90,10 +90,10 @@ public class XWTResource extends ResourceImpl {
@Override
protected void doLoad(InputStream inputStream, Map<?, ?> options) throws IOException {
xmlResource.load(inputStream, options);
- Root root = (Root)xmlResource.getContents().get(0);
+ Root root = (Root) xmlResource.getContents().get(0);
try {
CompositeWidget widget = xmlToUISection(root);
- if(widget == null) {
+ if (widget == null) {
Activator.log.warn("Cannot load the XWT Widget");
} else {
getContents().add(widget);
@@ -105,7 +105,7 @@ public class XWTResource extends ResourceImpl {
@Override
public void save(Map<?, ?> options) throws IOException {
- if(options == null || options.isEmpty()) {
+ if (options == null || options.isEmpty()) {
Map<String, String> optionsMap = new HashMap<String, String>();
optionsMap.put(OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);
super.save(optionsMap);
@@ -114,8 +114,8 @@ public class XWTResource extends ResourceImpl {
}
Object formatValue = options.get(OPTION_FORMAT);
- if(formatValue == null || formatValue == Boolean.TRUE) {
- if(uri.isPlatform()) {
+ if (formatValue == null || formatValue == Boolean.TRUE) {
+ if (uri.isPlatform()) {
IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(uri.toPlatformString(true)));
XMLFormatter.format(file);
}
@@ -125,11 +125,11 @@ public class XWTResource extends ResourceImpl {
@Override
protected void doSave(OutputStream outputStream, Map<?, ?> options) throws IOException {
try {
- if(getContents().isEmpty()) {
+ if (getContents().isEmpty()) {
Activator.log.warn("Cannot save an Empty XWT resource : " + getURI());
return;
}
- Root root = uiSectionToXML((CompositeWidget)getContents().get(0));
+ Root root = uiSectionToXML((CompositeWidget) getContents().get(0));
xmlResource.getContents().clear();
xmlResource.getContents().add(root);
xmlResource.save(outputStream, options);
@@ -143,20 +143,20 @@ public class XWTResource extends ResourceImpl {
private Collection<Context> findContexts() {
Set<Context> rootContexts = new HashSet<Context>();
- if(resourceSet == null) {
+ if (resourceSet == null) {
return Collections.emptyList();
}
- for(Resource resource : resourceSet.getResources()) {
- if(!resource.getContents().isEmpty() && resource.getContents().get(0) instanceof Context) {
- Context context = (Context)resource.getContents().get(0);
+ for (Resource resource : resourceSet.getResources()) {
+ if (!resource.getContents().isEmpty() && resource.getContents().get(0) instanceof Context) {
+ Context context = (Context) resource.getContents().get(0);
rootContexts.add(context);
}
}
Set<Context> allContexts = new HashSet<Context>();
- for(Context context : rootContexts) {
+ for (Context context : rootContexts) {
allContexts.addAll(PropertiesUtil.getDependencies(context));
}
@@ -180,14 +180,14 @@ public class XWTResource extends ResourceImpl {
ExecutionDiagnostic result = executor.execute(context, inXml, inRoot, inContexts, outUI);
- if(result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
+ if (result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
List<EObject> outObjects = outUI.getContents();
Object objectResult = outObjects.get(0);
- if(!(objectResult instanceof CompositeWidget)) {
+ if (!(objectResult instanceof CompositeWidget)) {
return null;
}
- return (CompositeWidget)outObjects.get(0);
+ return (CompositeWidget) outObjects.get(0);
} else {
IStatus status = BasicDiagnostic.toIStatus(result);
Activator.getDefault().getLog().log(status);
@@ -236,10 +236,10 @@ public class XWTResource extends ResourceImpl {
ExecutionDiagnostic result = executor.execute(context, inWidget, outXML);
- if(result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
+ if (result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
List<EObject> outObjects = outXML.getContents();
- return (Root)outObjects.get(0);
+ return (Root) outObjects.get(0);
} else {
IStatus status = BasicDiagnostic.toIStatus(result);
Activator.getDefault().getLog().log(status);
@@ -248,7 +248,7 @@ public class XWTResource extends ResourceImpl {
}
private ModelExtent getModelExtent(EObject source) {
- if(source == null) {
+ if (source == null) {
return new BasicModelExtent();
}

Back to the top