Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/org.eclipse.papyrus.properties.generation/src-gen')
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/ContextElement.java93
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelection.java64
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionFactory.java71
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionPackage.java523
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/PropertyDefinition.java121
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/ContextElementImpl.java280
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java188
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionImpl.java205
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java351
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java299
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java178
-rw-r--r--sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionSwitch.java189
12 files changed, 2562 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/ContextElement.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/ContextElement.java
new file mode 100644
index 00000000000..7309e1bd063
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/ContextElement.java
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Context Element</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#getContextElement()
+ * @model
+ * @generated
+ */
+public interface ContextElement extends EObject {
+
+ /**
+ * Returns the value of the '<em><b>Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Elements()
+ * @model containment="true"
+ * @generated
+ */
+ EList<ContextElement> getElements();
+
+ /**
+ * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Properties()
+ * @model containment="true"
+ * @generated
+ */
+ EList<PropertyDefinition> getProperties();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Name()
+ * @model required="true"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.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.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // ContextElement
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelection.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelection.java
new file mode 100644
index 00000000000..8dd41ef8757
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelection.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Field Selection</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection()
+ * @model
+ * @generated
+ */
+public interface FieldSelection extends EObject {
+
+ /**
+ * Returns the value of the '<em><b>Fields</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_Fields()
+ * @model containment="true"
+ * @generated
+ */
+ EList<PropertyDefinition> getFields();
+
+ /**
+ * Returns the value of the '<em><b>Context Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_ContextElements()
+ * @model containment="true"
+ * @generated
+ */
+ EList<ContextElement> getContextElements();
+
+} // FieldSelection
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionFactory.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionFactory.java
new file mode 100644
index 00000000000..24135acb07d
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionFactory.java
@@ -0,0 +1,71 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage
+ * @generated
+ */
+public interface FieldSelectionFactory extends EFactory {
+
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ FieldSelectionFactory eINSTANCE = org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionFactoryImpl.init();
+
+ /**
+ * 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
+ */
+ FieldSelection createFieldSelection();
+
+ /**
+ * 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
+ */
+ PropertyDefinition createPropertyDefinition();
+
+ /**
+ * 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
+ */
+ ContextElement createContextElement();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ FieldSelectionPackage getFieldSelectionPackage();
+
+} //FieldSelectionFactory
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionPackage.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionPackage.java
new file mode 100644
index 00000000000..b004bed48cc
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/FieldSelectionPackage.java
@@ -0,0 +1,523 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface FieldSelectionPackage extends EPackage {
+
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "fieldselection";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/properties/fieldSelection";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "fs";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ FieldSelectionPackage eINSTANCE = org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}'
+ * class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
+ * @generated
+ */
+ int FIELD_SELECTION = 0;
+
+ /**
+ * The feature id for the '<em><b>Fields</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int FIELD_SELECTION__FIELDS = 0;
+
+ /**
+ * The feature id for the '<em><b>Context Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int FIELD_SELECTION__CONTEXT_ELEMENTS = 1;
+
+ /**
+ * The number of structural features of the '<em>Field Selection</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int FIELD_SELECTION_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl
+ * <em>Property Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
+ * @generated
+ */
+ int PROPERTY_DEFINITION = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_DEFINITION__NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Value Single</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_DEFINITION__VALUE_SINGLE = 1;
+
+ /**
+ * The feature id for the '<em><b>Value Multiple</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_DEFINITION__VALUE_MULTIPLE = 2;
+
+ /**
+ * The number of structural features of the '<em>Property Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_DEFINITION_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}'
+ * class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
+ * @generated
+ */
+ int CONTEXT_ELEMENT = 2;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_ELEMENT__ELEMENTS = 0;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_ELEMENT__PROPERTIES = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_ELEMENT__NAME = 2;
+
+ /**
+ * The number of structural features of the '<em>Context Element</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONTEXT_ELEMENT_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '<em>Value</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
+ * @generated
+ */
+ int VALUE = 3;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.FieldSelection
+ * @generated
+ */
+ EClass getFieldSelection();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.papyrus.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.properties.generation.fieldselection.FieldSelection#getFields()
+ * @see #getFieldSelection()
+ * @generated
+ */
+ EReference getFieldSelection_Fields();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.papyrus.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.properties.generation.fieldselection.FieldSelection#getContextElements()
+ * @see #getFieldSelection()
+ * @generated
+ */
+ EReference getFieldSelection_ContextElements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.PropertyDefinition
+ * @generated
+ */
+ EClass getPropertyDefinition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.PropertyDefinition#getName()
+ * @see #getPropertyDefinition()
+ * @generated
+ */
+ EAttribute getPropertyDefinition_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.PropertyDefinition#getValueSingle()
+ * @see #getPropertyDefinition()
+ * @generated
+ */
+ EAttribute getPropertyDefinition_ValueSingle();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.PropertyDefinition#getValueMultiple()
+ * @see #getPropertyDefinition()
+ * @generated
+ */
+ EAttribute getPropertyDefinition_ValueMultiple();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.ContextElement
+ * @generated
+ */
+ EClass getContextElement();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.papyrus.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.properties.generation.fieldselection.ContextElement#getElements()
+ * @see #getContextElement()
+ * @generated
+ */
+ EReference getContextElement_Elements();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.papyrus.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.properties.generation.fieldselection.ContextElement#getProperties()
+ * @see #getContextElement()
+ * @generated
+ */
+ EReference getContextElement_Properties();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.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.properties.generation.fieldselection.ContextElement#getName()
+ * @see #getContextElement()
+ * @generated
+ */
+ EAttribute getContextElement_Name();
+
+ /**
+ * Returns the meta object for data type '{@link org.eclipse.papyrus.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.properties.generation.wizard.widget.TernaryButton.State
+ * @model instanceClass="org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State"
+ * @generated
+ */
+ EDataType getValue();
+
+ /**
+ * 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
+ */
+ FieldSelectionFactory getFieldSelectionFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ interface Literals {
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl
+ * <em>Field Selection</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
+ * @generated
+ */
+ EClass FIELD_SELECTION = eINSTANCE.getFieldSelection();
+
+ /**
+ * 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();
+
+ /**
+ * 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();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl
+ * <em>Property Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
+ * @generated
+ */
+ EClass PROPERTY_DEFINITION = eINSTANCE.getPropertyDefinition();
+
+ /**
+ * 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();
+
+ /**
+ * 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();
+
+ /**
+ * 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();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl
+ * <em>Context Element</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
+ * @generated
+ */
+ EClass CONTEXT_ELEMENT = eINSTANCE.getContextElement();
+
+ /**
+ * 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();
+
+ /**
+ * 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();
+
+ /**
+ * 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();
+
+ /**
+ * The meta object literal for the '<em>Value</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
+ * @generated
+ */
+ EDataType VALUE = eINSTANCE.getValue();
+
+ }
+
+} //FieldSelectionPackage
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/PropertyDefinition.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/PropertyDefinition.java
new file mode 100644
index 00000000000..067aa199721
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/PropertyDefinition.java
@@ -0,0 +1,121 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Property Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition()
+ * @model
+ * @generated
+ */
+public interface PropertyDefinition extends EObject {
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_Name()
+ * @model required="true"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.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.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Value Single</b></em>' attribute.
+ * The default value is <code>"DEFAULT"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueSingle()
+ * @model default="DEFAULT" dataType="org.eclipse.papyrus.properties.generation.fieldselection.Value" required="true"
+ * @generated
+ */
+ State getValueSingle();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.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.
+ * @see #getValueSingle()
+ * @generated
+ */
+ void setValueSingle(State value);
+
+ /**
+ * Returns the value of the '<em><b>Value Multiple</b></em>' attribute.
+ * The default value is <code>"DEFAULT"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * 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.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueMultiple()
+ * @model default="DEFAULT" dataType="org.eclipse.papyrus.properties.generation.fieldselection.Value" required="true"
+ * @generated
+ */
+ State getValueMultiple();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.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.
+ * @see #getValueMultiple()
+ * @generated
+ */
+ void setValueMultiple(State value);
+
+} // PropertyDefinition
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/ContextElementImpl.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/ContextElementImpl.java
new file mode 100644
index 00000000000..5e240f1f826
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/ContextElementImpl.java
@@ -0,0 +1,280 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.ContextElement;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage;
+import org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Context Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+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
+ */
+ protected EList<ContextElement> elements;
+
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected EList<PropertyDefinition> properties;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ContextElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FieldSelectionPackage.Literals.CONTEXT_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<ContextElement> getElements() {
+ if(elements == null) {
+ elements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS);
+ }
+ return elements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<PropertyDefinition> getProperties() {
+ if(properties == null) {
+ properties = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES);
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if(eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, 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);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch(featureID) {
+ case 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);
+ }
+
+ /**
+ * <!-- 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;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- 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;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- 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);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if(eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ContextElementImpl
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
new file mode 100644
index 00000000000..383ba58f160
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
@@ -0,0 +1,188 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.*;
+
+import org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSelectionFactory {
+
+ /**
+ * 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");
+ if(theFieldSelectionFactory != null) {
+ return theFieldSelectionFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new FieldSelectionFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelectionFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- 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");
+ }
+ }
+
+ /**
+ * <!-- 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");
+ }
+ }
+
+ /**
+ * <!-- 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");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelection createFieldSelection() {
+ FieldSelectionImpl fieldSelection = new FieldSelectionImpl();
+ return fieldSelection;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public PropertyDefinition createPropertyDefinition() {
+ PropertyDefinitionImpl propertyDefinition = new PropertyDefinitionImpl();
+ return propertyDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ContextElement createContextElement() {
+ ContextElementImpl contextElement = new ContextElementImpl();
+ return contextElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public State createValueFromString(EDataType eDataType, String initialValue) {
+ return (State)super.createFromString(eDataType, initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String convertValueToString(EDataType eDataType, Object instanceValue) {
+ return super.convertToString(eDataType, instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelectionPackage getFieldSelectionPackage() {
+ return (FieldSelectionPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static FieldSelectionPackage getPackage() {
+ return FieldSelectionPackage.eINSTANCE;
+ }
+
+} //FieldSelectionFactoryImpl
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionImpl.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionImpl.java
new file mode 100644
index 00000000000..10fe708f5b6
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionImpl.java
@@ -0,0 +1,205 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.ContextElement;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage;
+import org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Field Selection</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+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
+ */
+ protected EList<PropertyDefinition> fields;
+
+ /**
+ * The cached value of the '{@link #getContextElements() <em>Context Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getContextElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<ContextElement> contextElements;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected FieldSelectionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FieldSelectionPackage.Literals.FIELD_SELECTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<PropertyDefinition> getFields() {
+ if(fields == null) {
+ fields = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.FIELD_SELECTION__FIELDS);
+ }
+ return fields;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<ContextElement> getContextElements() {
+ if(contextElements == null) {
+ contextElements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS);
+ }
+ return contextElements;
+ }
+
+ /**
+ * <!-- 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);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch(featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return getFields();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return getContextElements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch(featureID) {
+ case 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);
+ }
+
+ /**
+ * <!-- 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;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- 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();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FieldSelectionImpl
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
new file mode 100644
index 00000000000..5126cda576c
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
@@ -0,0 +1,351 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.ContextElement;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionFactory;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage;
+import org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition;
+
+import org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSelectionPackage {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass fieldSelectionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass propertyDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass contextElementEClass = null;
+
+ /**
+ * <!-- 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
+ * package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
+ * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private FieldSelectionPackageImpl() {
+ super(eNS_URI, FieldSelectionFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link 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);
+
+ // 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());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ theFieldSelectionPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theFieldSelectionPackage.initializePackageContents();
+
+ // 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;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getFieldSelection() {
+ return fieldSelectionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getFieldSelection_Fields() {
+ return (EReference)fieldSelectionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getFieldSelection_ContextElements() {
+ return (EReference)fieldSelectionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getPropertyDefinition() {
+ return propertyDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPropertyDefinition_Name() {
+ return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPropertyDefinition_ValueSingle() {
+ return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPropertyDefinition_ValueMultiple() {
+ return (EAttribute)propertyDefinitionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getContextElement() {
+ return contextElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getContextElement_Elements() {
+ return (EReference)contextElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getContextElement_Properties() {
+ return (EReference)contextElementEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getContextElement_Name() {
+ return (EAttribute)contextElementEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EDataType getValue() {
+ return valueEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelectionFactory getFieldSelectionFactory() {
+ 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
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if(isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ fieldSelectionEClass = createEClass(FIELD_SELECTION);
+ createEReference(fieldSelectionEClass, FIELD_SELECTION__FIELDS);
+ createEReference(fieldSelectionEClass, FIELD_SELECTION__CONTEXT_ELEMENTS);
+
+ propertyDefinitionEClass = createEClass(PROPERTY_DEFINITION);
+ createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__NAME);
+ createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__VALUE_SINGLE);
+ createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__VALUE_MULTIPLE);
+
+ contextElementEClass = createEClass(CONTEXT_ELEMENT);
+ createEReference(contextElementEClass, CONTEXT_ELEMENT__ELEMENTS);
+ createEReference(contextElementEClass, CONTEXT_ELEMENT__PROPERTIES);
+ createEAttribute(contextElementEClass, CONTEXT_ELEMENT__NAME);
+
+ // Create data types
+ valueEDataType = createEDataType(VALUE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if(isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // 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);
+
+ 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);
+ initEAttribute(getPropertyDefinition_ValueSingle(), this.getValue(), "valueSingle", "DEFAULT", 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ 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);
+ 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
+ initEDataType(valueEDataType, State.class, "Value", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //FieldSelectionPackageImpl
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
new file mode 100644
index 00000000000..86aedfd62a7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
@@ -0,0 +1,299 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionFactory;
+import org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage;
+import org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition;
+
+import org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Property Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefinition {
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * 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");
+
+ /**
+ * The cached value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getValueSingle()
+ * @generated
+ * @ordered
+ */
+ protected State valueSingle = VALUE_SINGLE_EDEFAULT;
+
+ /**
+ * 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");
+
+ /**
+ * The cached value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getValueMultiple()
+ * @generated
+ * @ordered
+ */
+ protected State valueMultiple = VALUE_MULTIPLE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected PropertyDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FieldSelectionPackage.Literals.PROPERTY_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if(eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public State getValueSingle() {
+ return valueSingle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setValueSingle(State newValueSingle) {
+ State oldValueSingle = valueSingle;
+ valueSingle = newValueSingle;
+ 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() {
+ return valueMultiple;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setValueMultiple(State newValueMultiple) {
+ State oldValueMultiple = valueMultiple;
+ valueMultiple = newValueMultiple;
+ 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();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- 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;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- 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;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- 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);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if(eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", valueSingle: ");
+ result.append(valueSingle);
+ result.append(", valueMultiple: ");
+ result.append(valueMultiple);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PropertyDefinitionImpl
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
new file mode 100644
index 00000000000..7bcf4ad4248
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage
+ * @generated
+ */
+public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
+
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static FieldSelectionPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelectionAdapterFactory() {
+ if(modelPackage == null) {
+ modelPackage = FieldSelectionPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if(object == modelPackage) {
+ return true;
+ }
+ if(object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected 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();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection
+ * <em>Field Selection</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelection
+ * @generated
+ */
+ public Adapter createFieldSelectionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition
+ * <em>Property Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.PropertyDefinition
+ * @generated
+ */
+ public Adapter createPropertyDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.properties.generation.fieldselection.ContextElement
+ * <em>Context Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.ContextElement
+ * @generated
+ */
+ public Adapter createContextElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //FieldSelectionAdapterFactory
diff --git a/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionSwitch.java b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionSwitch.java
new file mode 100644
index 00000000000..654fe5d60f4
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.properties.generation/src-gen/org/eclipse/papyrus/properties/generation/fieldselection/util/FieldSelectionSwitch.java
@@ -0,0 +1,189 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.properties.generation.fieldselection.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.papyrus.properties.generation.fieldselection.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.properties.generation.fieldselection.FieldSelectionPackage
+ * @generated
+ */
+public class FieldSelectionSwitch<T> {
+
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static FieldSelectionPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public FieldSelectionSwitch() {
+ if(modelPackage == null) {
+ modelPackage = FieldSelectionPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * 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
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * 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
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if(theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ } else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * 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
+ */
+ 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.PROPERTY_DEFINITION:
+ {
+ PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject;
+ T result = casePropertyDefinition(propertyDefinition);
+ if(result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case FieldSelectionPackage.CONTEXT_ELEMENT:
+ {
+ ContextElement contextElement = (ContextElement)theEObject;
+ T result = caseContextElement(contextElement);
+ if(result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Field Selection</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Field Selection</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFieldSelection(FieldSelection object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Property Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Property Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePropertyDefinition(PropertyDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Context Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Context Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseContextElement(ContextElement object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //FieldSelectionSwitch

Back to the top