Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 07:43:07 -0400
committerCamille Letavernier2014-08-21 09:50:25 -0400
commitdbc038b44bcbb890ae256d15eb09eb285512f020 (patch)
tree757e736583eea3ae352ad9ac91a81df7e59b79ff /plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation
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.generation/src-gen/org/eclipse/papyrus/customization/properties/generation')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java13
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java21
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java103
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java53
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java69
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java93
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java104
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java56
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java66
12 files changed, 421 insertions, 219 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
index 2d04fdc1017..c36fde86b8a 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
@@ -17,9 +17,9 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public interface ContextElement extends EObject {
* If the meaning of the '<em>Elements</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>Elements</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Elements()
* @model containment="true"
@@ -52,6 +53,7 @@ public interface ContextElement extends EObject {
* If the meaning of the '<em>Properties</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>Properties</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Properties()
* @model containment="true"
@@ -66,6 +68,7 @@ public interface ContextElement extends EObject {
* 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.generation.fieldselection.FieldSelectionPackage#getContextElement_Name()
@@ -78,7 +81,9 @@ public interface ContextElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#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
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
index 312b4c6ed36..d6833824e70 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
@@ -17,8 +17,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public interface FieldSelection extends EObject {
* If the meaning of the '<em>Fields</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>Fields</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_Fields()
* @model containment="true"
@@ -51,6 +52,7 @@ public interface FieldSelection extends EObject {
* If the meaning of the '<em>Context Elements</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>Context Elements</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_ContextElements()
* @model containment="true"
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
index b1a8ef9499b..9a561af4710 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
@@ -13,6 +13,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.generation.fieldselection.FieldSelectionPackage
* @generated
*/
@@ -22,6 +23,7 @@ public interface FieldSelectionFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
FieldSelectionFactory eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionFactoryImpl.init();
@@ -30,6 +32,7 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Field Selection</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Field Selection</em>'.
* @generated
*/
@@ -39,6 +42,7 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Property Definition</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Property Definition</em>'.
* @generated
*/
@@ -48,6 +52,7 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Context Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Context Element</em>'.
* @generated
*/
@@ -57,9 +62,10 @@ public interface FieldSelectionFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
FieldSelectionPackage getFieldSelectionPackage();
-} //FieldSelectionFactory
+} // FieldSelectionFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
index c4e9152ec0d..f9cfaec3eb9 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
@@ -23,6 +23,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory
* @model kind="package"
* @generated
@@ -33,6 +34,7 @@ public interface FieldSelectionPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "fieldselection";
@@ -41,6 +43,7 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/properties/fieldSelection";
@@ -49,6 +52,7 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "fs";
@@ -57,6 +61,7 @@ public interface FieldSelectionPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
FieldSelectionPackage eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl.init();
@@ -65,6 +70,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
* @generated
@@ -75,6 +81,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -84,6 +91,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Context Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -93,6 +101,7 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Field Selection</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -102,6 +111,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
* @generated
@@ -112,6 +122,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -121,6 +132,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Single</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -130,6 +142,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Multiple</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -139,6 +152,7 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Property Definition</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -148,6 +162,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
* @generated
@@ -158,6 +173,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -167,6 +183,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -176,6 +193,7 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -185,6 +203,7 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Context Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -194,6 +213,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object id for the '<em>Value</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
* @generated
@@ -205,6 +225,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection <em>Field Selection</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Field Selection</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
* @generated
@@ -215,6 +236,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Fields</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields()
* @see #getFieldSelection()
@@ -226,6 +248,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Context Elements</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements()
* @see #getFieldSelection()
@@ -237,6 +260,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition <em>Property Definition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Property Definition</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
* @generated
@@ -247,6 +271,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#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.generation.fieldselection.PropertyDefinition#getName()
* @see #getPropertyDefinition()
@@ -258,6 +283,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Value Single</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle()
* @see #getPropertyDefinition()
@@ -269,6 +295,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Value Multiple</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple()
* @see #getPropertyDefinition()
@@ -280,6 +307,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement <em>Context Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Context Element</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
* @generated
@@ -290,6 +318,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Elements</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements()
* @see #getContextElement()
@@ -301,6 +330,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Properties</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties()
* @see #getContextElement()
@@ -312,6 +342,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#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.generation.fieldselection.ContextElement#getName()
* @see #getContextElement()
@@ -323,6 +354,7 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for data type '{@link org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State <em>Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for data type '<em>Value</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @model instanceClass="org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State"
@@ -334,6 +366,7 @@ public interface FieldSelectionPackage 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
*/
@@ -349,6 +382,7 @@ public interface FieldSelectionPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -357,6 +391,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
* @generated
@@ -367,6 +402,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FIELD_SELECTION__FIELDS = eINSTANCE.getFieldSelection_Fields();
@@ -375,6 +411,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Context Elements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FIELD_SELECTION__CONTEXT_ELEMENTS = eINSTANCE.getFieldSelection_ContextElements();
@@ -383,6 +420,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
* @generated
@@ -393,6 +431,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PROPERTY_DEFINITION__NAME = eINSTANCE.getPropertyDefinition_Name();
@@ -401,6 +440,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Value Single</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PROPERTY_DEFINITION__VALUE_SINGLE = eINSTANCE.getPropertyDefinition_ValueSingle();
@@ -409,6 +449,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Value Multiple</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute PROPERTY_DEFINITION__VALUE_MULTIPLE = eINSTANCE.getPropertyDefinition_ValueMultiple();
@@ -417,6 +458,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
* @generated
@@ -427,6 +469,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONTEXT_ELEMENT__ELEMENTS = eINSTANCE.getContextElement_Elements();
@@ -435,6 +478,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONTEXT_ELEMENT__PROPERTIES = eINSTANCE.getContextElement_Properties();
@@ -443,6 +487,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute CONTEXT_ELEMENT__NAME = eINSTANCE.getContextElement_Name();
@@ -451,6 +496,7 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em>Value</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
* @generated
@@ -459,4 +505,4 @@ public interface FieldSelectionPackage extends EPackage {
}
-} //FieldSelectionPackage
+} // FieldSelectionPackage
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
index eee0a1a686b..499f8da30df 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
@@ -17,9 +17,9 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public interface PropertyDefinition extends EObject {
* 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.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_Name()
@@ -48,7 +49,9 @@ public interface PropertyDefinition extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#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
*/
@@ -62,6 +65,7 @@ public interface PropertyDefinition extends EObject {
* If the meaning of the '<em>Value Single</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 Single</em>' attribute.
* @see #setValueSingle(State)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueSingle()
@@ -74,7 +78,9 @@ public interface PropertyDefinition extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Value Single</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Value Single</em>' attribute.
* @see #getValueSingle()
* @generated
*/
@@ -88,6 +94,7 @@ public interface PropertyDefinition extends EObject {
* If the meaning of the '<em>Value Multiple</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 Multiple</em>' attribute.
* @see #setValueMultiple(State)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueMultiple()
@@ -100,7 +107,9 @@ public interface PropertyDefinition extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Value Multiple</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Value Multiple</em>' attribute.
* @see #getValueMultiple()
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
index b7784a2e275..2f4d9149af1 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
@@ -28,9 +28,9 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -42,6 +42,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getElements()
* @generated
* @ordered
@@ -52,6 +53,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getProperties()
* @generated
* @ordered
@@ -62,6 +64,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -72,6 +75,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -81,6 +85,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ContextElementImpl() {
@@ -90,6 +95,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -100,6 +106,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ContextElement> getElements() {
@@ -112,6 +119,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<PropertyDefinition> getProperties() {
@@ -124,6 +132,7 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -133,27 +142,30 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.CONTEXT_ELEMENT__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return ((InternalEList<?>)getProperties()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return ((InternalEList<?>) getElements()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return ((InternalEList<?>) getProperties()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -161,17 +173,18 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return getElements();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return getProperties();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return getName();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return getElements();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return getProperties();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ return getName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -179,23 +192,24 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- getElements().addAll((Collection<? extends ContextElement>)newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- getProperties().addAll((Collection<? extends PropertyDefinition>)newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName((String)newValue);
- return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ getElements().clear();
+ getElements().addAll((Collection<? extends ContextElement>) newValue);
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ getProperties().clear();
+ getProperties().addAll((Collection<? extends PropertyDefinition>) newValue);
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ setName((String) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -203,20 +217,21 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ getElements().clear();
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ getProperties().clear();
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -224,17 +239,18 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return elements != null && !elements.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return properties != null && !properties.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return elements != null && !elements.isEmpty();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
@@ -242,11 +258,14 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- 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: ");
@@ -255,4 +274,4 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
return result.toString();
}
-} //ContextElementImpl
+} // ContextElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
index b50ec82357b..3f31b0f8904 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
@@ -24,6 +24,7 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSelectionFactory {
@@ -32,16 +33,16 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static FieldSelectionFactory init() {
try {
- FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
+ FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
if (theFieldSelectionFactory != null) {
return theFieldSelectionFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FieldSelectionFactoryImpl();
@@ -51,6 +52,7 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelectionFactoryImpl() {
@@ -60,52 +62,59 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case FieldSelectionPackage.FIELD_SELECTION: return createFieldSelection();
- case FieldSelectionPackage.PROPERTY_DEFINITION: return createPropertyDefinition();
- case FieldSelectionPackage.CONTEXT_ELEMENT: return createContextElement();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case FieldSelectionPackage.FIELD_SELECTION:
+ return createFieldSelection();
+ case FieldSelectionPackage.PROPERTY_DEFINITION:
+ return createPropertyDefinition();
+ case FieldSelectionPackage.CONTEXT_ELEMENT:
+ return createContextElement();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
switch (eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return createValueFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FieldSelectionPackage.VALUE:
+ return createValueFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
switch (eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return convertValueToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ case FieldSelectionPackage.VALUE:
+ return convertValueToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelection createFieldSelection() {
@@ -116,6 +125,7 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PropertyDefinition createPropertyDefinition() {
@@ -126,6 +136,7 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public ContextElement createContextElement() {
@@ -136,15 +147,17 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public State createValueFromString(EDataType eDataType, String initialValue) {
- return (State)super.createFromString(eDataType, initialValue);
+ return (State) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String convertValueToString(EDataType eDataType, Object instanceValue) {
@@ -154,15 +167,17 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelectionPackage getFieldSelectionPackage() {
- return (FieldSelectionPackage)getEPackage();
+ return (FieldSelectionPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -171,4 +186,4 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
return FieldSelectionPackage.eINSTANCE;
}
-} //FieldSelectionFactoryImpl
+} // FieldSelectionFactoryImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
index d17bb45e72d..0de6551bf86 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
@@ -27,8 +27,8 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
* </ul>
* </p>
*
@@ -40,6 +40,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
* The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFields()
* @generated
* @ordered
@@ -50,6 +51,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
* The cached value of the '{@link #getContextElements() <em>Context Elements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getContextElements()
* @generated
* @ordered
@@ -59,6 +61,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FieldSelectionImpl() {
@@ -68,6 +71,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -78,6 +82,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<PropertyDefinition> getFields() {
@@ -90,6 +95,7 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EList<ContextElement> getContextElements() {
@@ -102,15 +108,16 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return ((InternalEList<?>)getContextElements()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return ((InternalEList<?>) getFields()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return ((InternalEList<?>) getContextElements()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -118,15 +125,16 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return getFields();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return getContextElements();
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return getFields();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return getContextElements();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -134,20 +142,21 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- getFields().addAll((Collection<? extends PropertyDefinition>)newValue);
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- getContextElements().addAll((Collection<? extends ContextElement>)newValue);
- return;
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ getFields().clear();
+ getFields().addAll((Collection<? extends PropertyDefinition>) newValue);
+ return;
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ getContextElements().clear();
+ getContextElements().addAll((Collection<? extends ContextElement>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -155,17 +164,18 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- return;
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ getFields().clear();
+ return;
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ getContextElements().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -173,17 +183,18 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return fields != null && !fields.isEmpty();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return contextElements != null && !contextElements.isEmpty();
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return fields != null && !fields.isEmpty();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return contextElements != null && !contextElements.isEmpty();
}
return super.eIsSet(featureID);
}
-} //FieldSelectionImpl
+} // FieldSelectionImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
index e7d47b0e850..9f855d71590 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
@@ -24,6 +24,7 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSelectionPackage {
@@ -31,6 +32,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass fieldSelectionEClass = null;
@@ -38,6 +40,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass propertyDefinitionEClass = null;
@@ -45,6 +48,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass contextElementEClass = null;
@@ -52,19 +56,17 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EDataType valueEDataType = 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.generation.fieldselection.FieldSelectionPackage#eNS_URI
* @see #init()
@@ -77,26 +79,30 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- 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 FieldSelectionPackage#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 FieldSelectionPackage#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 FieldSelectionPackage init() {
- if (isInited) return (FieldSelectionPackage)EPackage.Registry.INSTANCE.getEPackage(FieldSelectionPackage.eNS_URI);
+ if (isInited) {
+ return (FieldSelectionPackage) EPackage.Registry.INSTANCE.getEPackage(FieldSelectionPackage.eNS_URI);
+ }
// Obtain or create and register package
- FieldSelectionPackageImpl theFieldSelectionPackage = (FieldSelectionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FieldSelectionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FieldSelectionPackageImpl());
+ FieldSelectionPackageImpl theFieldSelectionPackage = (FieldSelectionPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FieldSelectionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FieldSelectionPackageImpl());
isInited = true;
@@ -109,7 +115,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
// Mark meta-data to indicate it can't be changed
theFieldSelectionPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(FieldSelectionPackage.eNS_URI, theFieldSelectionPackage);
return theFieldSelectionPackage;
@@ -118,6 +124,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getFieldSelection() {
@@ -127,24 +134,27 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getFieldSelection_Fields() {
- return (EReference)fieldSelectionEClass.getEStructuralFeatures().get(0);
+ return (EReference) fieldSelectionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getFieldSelection_ContextElements() {
- return (EReference)fieldSelectionEClass.getEStructuralFeatures().get(1);
+ return (EReference) fieldSelectionEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getPropertyDefinition() {
@@ -154,33 +164,37 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPropertyDefinition_Name() {
- return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPropertyDefinition_ValueSingle() {
- return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getPropertyDefinition_ValueMultiple() {
- return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getContextElement() {
@@ -190,33 +204,37 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getContextElement_Elements() {
- return (EReference)contextElementEClass.getEStructuralFeatures().get(0);
+ return (EReference) contextElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getContextElement_Properties() {
- return (EReference)contextElementEClass.getEStructuralFeatures().get(1);
+ return (EReference) contextElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getContextElement_Name() {
- return (EAttribute)contextElementEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) contextElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EDataType getValue() {
@@ -226,28 +244,33 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelectionFactory getFieldSelectionFactory() {
- return (FieldSelectionFactory)getEFactoryInstance();
+ return (FieldSelectionFactory) 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
@@ -272,19 +295,23 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- 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
@@ -300,8 +327,10 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
// Initialize classes and features; add operations and parameters
initEClass(fieldSelectionEClass, FieldSelection.class, "FieldSelection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFieldSelection_Fields(), this.getPropertyDefinition(), null, "fields", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFieldSelection_ContextElements(), this.getContextElement(), null, "contextElements", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFieldSelection_Fields(), this.getPropertyDefinition(), null, "fields", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getFieldSelection_ContextElements(), this.getContextElement(), null, "contextElements", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(propertyDefinitionEClass, PropertyDefinition.class, "PropertyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getPropertyDefinition_Name(), ecorePackage.getEString(), "name", null, 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -309,8 +338,10 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
initEAttribute(getPropertyDefinition_ValueMultiple(), this.getValue(), "valueMultiple", "DEFAULT", 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(contextElementEClass, ContextElement.class, "ContextElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getContextElement_Elements(), this.getContextElement(), null, "elements", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getContextElement_Properties(), this.getPropertyDefinition(), null, "properties", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getContextElement_Elements(), this.getContextElement(), null, "elements", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getContextElement_Properties(), this.getPropertyDefinition(), null, "properties", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEAttribute(getContextElement_Name(), ecorePackage.getEString(), "name", null, 1, 1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize data types
@@ -320,4 +351,4 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
createResource(eNS_URI);
}
-} //FieldSelectionPackageImpl
+} // FieldSelectionPackageImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
index 754e3aff874..9bead7b1bef 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
@@ -23,9 +23,9 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
* </ul>
* </p>
*
@@ -37,6 +37,7 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -47,6 +48,7 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -57,16 +59,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValueSingle()
* @generated
* @ordered
*/
- protected static final State VALUE_SINGLE_EDEFAULT = (State)FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
+ protected static final State VALUE_SINGLE_EDEFAULT = (State) FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
/**
* The cached value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValueSingle()
* @generated
* @ordered
@@ -77,16 +81,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValueMultiple()
* @generated
* @ordered
*/
- protected static final State VALUE_MULTIPLE_EDEFAULT = (State)FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
+ protected static final State VALUE_MULTIPLE_EDEFAULT = (State) FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
/**
* The cached value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValueMultiple()
* @generated
* @ordered
@@ -96,6 +102,7 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PropertyDefinitionImpl() {
@@ -105,6 +112,7 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -115,6 +123,7 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -124,18 +133,21 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public State getValueSingle() {
@@ -145,18 +157,21 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setValueSingle(State newValueSingle) {
State oldValueSingle = valueSingle;
valueSingle = newValueSingle;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE, oldValueSingle, valueSingle));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public State getValueMultiple() {
@@ -166,29 +181,32 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setValueMultiple(State newValueMultiple) {
State oldValueMultiple = valueMultiple;
valueMultiple = newValueMultiple;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE, oldValueMultiple, valueMultiple));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return getName();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return getValueSingle();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return getValueMultiple();
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ return getName();
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ return getValueSingle();
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ return getValueMultiple();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -196,20 +214,21 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName((String)newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle((State)newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple((State)newValue);
- return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ setName((String) newValue);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ setValueSingle((State) newValue);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ setValueMultiple((State) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -217,20 +236,21 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle(VALUE_SINGLE_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple(VALUE_MULTIPLE_EDEFAULT);
- return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ setValueSingle(VALUE_SINGLE_EDEFAULT);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ setValueMultiple(VALUE_MULTIPLE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -238,17 +258,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return VALUE_SINGLE_EDEFAULT == null ? valueSingle != null : !VALUE_SINGLE_EDEFAULT.equals(valueSingle);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return VALUE_MULTIPLE_EDEFAULT == null ? valueMultiple != null : !VALUE_MULTIPLE_EDEFAULT.equals(valueMultiple);
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ return VALUE_SINGLE_EDEFAULT == null ? valueSingle != null : !VALUE_SINGLE_EDEFAULT.equals(valueSingle);
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ return VALUE_MULTIPLE_EDEFAULT == null ? valueMultiple != null : !VALUE_MULTIPLE_EDEFAULT.equals(valueMultiple);
}
return super.eIsSet(featureID);
}
@@ -256,11 +277,14 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- 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 +297,4 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
return result.toString();
}
-} //PropertyDefinitionImpl
+} // PropertyDefinitionImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
index 9204c24e039..c7cf1b7908e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
@@ -20,6 +20,7 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* 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.generation.fieldselection.FieldSelectionPackage
* @generated
*/
@@ -29,6 +30,7 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -37,6 +39,7 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelectionAdapterFactory() {
@@ -50,6 +53,7 @@ public class FieldSelectionAdapterFactory 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
*/
@@ -59,7 +63,7 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -68,38 +72,44 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FieldSelectionSwitch<Adapter> modelSwitch = new FieldSelectionSwitch<Adapter>() {
- @Override
- public Adapter caseFieldSelection(FieldSelection object) {
- return createFieldSelectionAdapter();
- }
- @Override
- public Adapter casePropertyDefinition(PropertyDefinition object) {
- return createPropertyDefinitionAdapter();
- }
- @Override
- public Adapter caseContextElement(ContextElement object) {
- return createContextElementAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseFieldSelection(FieldSelection object) {
+ return createFieldSelectionAdapter();
+ }
+
+ @Override
+ public Adapter casePropertyDefinition(PropertyDefinition object) {
+ return createPropertyDefinitionAdapter();
+ }
+
+ @Override
+ public Adapter caseContextElement(ContextElement object) {
+ return createContextElementAdapter();
+ }
+
+ @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);
}
@@ -109,6 +119,7 @@ public class FieldSelectionAdapterFactory 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.generation.fieldselection.FieldSelection
* @generated
@@ -123,6 +134,7 @@ public class FieldSelectionAdapterFactory 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.generation.fieldselection.PropertyDefinition
* @generated
@@ -137,6 +149,7 @@ public class FieldSelectionAdapterFactory 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.generation.fieldselection.ContextElement
* @generated
@@ -150,6 +163,7 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -157,4 +171,4 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //FieldSelectionAdapterFactory
+} // FieldSelectionAdapterFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
index 4eef47e2de0..dda26c2a29d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
@@ -23,16 +23,18 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
* @generated
*/
-public class FieldSelectionSwitch<T> extends
-Switch<T> {
+public class FieldSelectionSwitch<T> extends
+ Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -41,6 +43,7 @@ Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public FieldSelectionSwitch() {
@@ -53,6 +56,7 @@ 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
@@ -66,31 +70,39 @@ 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 FieldSelectionPackage.FIELD_SELECTION: {
- FieldSelection fieldSelection = (FieldSelection)theEObject;
- T result = caseFieldSelection(fieldSelection);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case FieldSelectionPackage.FIELD_SELECTION: {
+ FieldSelection fieldSelection = (FieldSelection) theEObject;
+ T result = caseFieldSelection(fieldSelection);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case FieldSelectionPackage.PROPERTY_DEFINITION: {
- PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject;
- T result = casePropertyDefinition(propertyDefinition);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case FieldSelectionPackage.PROPERTY_DEFINITION: {
+ PropertyDefinition propertyDefinition = (PropertyDefinition) theEObject;
+ T result = casePropertyDefinition(propertyDefinition);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case FieldSelectionPackage.CONTEXT_ELEMENT: {
- ContextElement contextElement = (ContextElement)theEObject;
- T result = caseContextElement(contextElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case FieldSelectionPackage.CONTEXT_ELEMENT: {
+ ContextElement contextElement = (ContextElement) theEObject;
+ T result = caseContextElement(contextElement);
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -100,7 +112,9 @@ 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>Field Selection</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -115,7 +129,9 @@ 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>Property Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -130,7 +146,9 @@ 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>Context Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -145,7 +163,9 @@ 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
@@ -155,4 +175,4 @@ Switch<T> {
return null;
}
-} //FieldSelectionSwitch
+} // FieldSelectionSwitch

Back to the top