Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 11:43:07 +0000
committerCamille Letavernier2014-08-21 13:50:25 +0000
commitdbc038b44bcbb890ae256d15eb09eb285512f020 (patch)
tree757e736583eea3ae352ad9ac91a81df7e59b79ff /plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf
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/infra/org.eclipse.papyrus.infra.extendedtypes.emf')
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfiguration.java6
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationFactory.java7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationPackage.java48
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/ViewToDisplay.java10
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationFactoryImpl.java30
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationImpl.java40
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationPackageImpl.java74
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/ViewToDisplayImpl.java50
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationAdapterFactory.java78
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceFactoryImpl.java5
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceImpl.java7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationSwitch.java73
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationXMLProcessor.java7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ConstantValue.java10
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureToSet.java20
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ListValue.java6
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfiguration.java6
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationFactory.java10
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationPackage.java72
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ConstantValueImpl.java64
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/DynamicValueImpl.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureToSetImpl.java100
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureValueImpl.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ListValueImpl.java40
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/QueryExecutionValueImpl.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationFactoryImpl.java45
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationImpl.java40
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationPackageImpl.java106
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationAdapterFactory.java128
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceFactoryImpl.java5
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceImpl.java7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationSwitch.java173
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationXMLProcessor.java7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/Activator.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterNotfoundException.java12
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterRegistry.java148
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToBooleanConverter.java13
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToIntegerConverter.java13
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToBooleanConverter.java5
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEENumConverter.java44
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEnumerationConverter.java13
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToIntegerConverter.java5
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToStringConverter.java5
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationModelCreation.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionCreationElementValidator.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionEditHelperAdvice.java26
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureValueUtils.java65
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationModelCreation.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionCreationElementValidator.java4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionEditHelperAdvice.java80
50 files changed, 1103 insertions, 632 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfiguration.java
index 37ebf59c221..8dfda61c686 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfiguration.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfiguration.java
@@ -14,7 +14,7 @@ import org.eclipse.papyrus.infra.extendedtypes.SemanticActionConfiguration;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration#getViewsToDisplay <em>Views To Display</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration#getViewsToDisplay <em>Views To Display</em>}</li>
* </ul>
* </p>
*
@@ -28,10 +28,10 @@ public interface RuntimeValuesEditionActionConfiguration extends SemanticActionC
* The list contents are of type {@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Views To Display</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Views To Display</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>Views To Display</em>' containment reference list.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage#getRuntimeValuesEditionActionConfiguration_ViewsToDisplay()
* @model containment="true"
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationFactory.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationFactory.java
index 274c916db74..19bffbfad7b 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationFactory.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationFactory.java
@@ -9,6 +9,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.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage
* @generated
*/
@@ -17,6 +18,7 @@ public interface RuntimeValuesEditionActionConfigurationFactory extends EFactory
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
RuntimeValuesEditionActionConfigurationFactory eINSTANCE = org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationFactoryImpl.init();
@@ -25,6 +27,7 @@ public interface RuntimeValuesEditionActionConfigurationFactory extends EFactory
* Returns a new object of class '<em>Runtime Values Edition Action Configuration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Runtime Values Edition Action Configuration</em>'.
* @generated
*/
@@ -34,6 +37,7 @@ public interface RuntimeValuesEditionActionConfigurationFactory extends EFactory
* Returns a new object of class '<em>View To Display</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>View To Display</em>'.
* @generated
*/
@@ -43,9 +47,10 @@ public interface RuntimeValuesEditionActionConfigurationFactory extends EFactory
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
RuntimeValuesEditionActionConfigurationPackage getRuntimeValuesEditionActionConfigurationPackage();
-} //RuntimeValuesEditionActionConfigurationFactory
+} // RuntimeValuesEditionActionConfigurationFactory
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationPackage.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationPackage.java
index e363f20c8f7..373381300bd 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationPackage.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationPackage.java
@@ -13,13 +13,14 @@ import org.eclipse.papyrus.infra.extendedtypes.ExtendedtypesPackage;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationFactory
* @model kind="package"
* @generated
@@ -29,6 +30,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "runtimevalueseditionactionconfiguration";
@@ -37,6 +39,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/infra/extendedtypes/emf/runtimevalueseditionaction/1.0";
@@ -45,6 +48,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "runtimevalueseditionactionconfiguration";
@@ -53,6 +57,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
RuntimeValuesEditionActionConfigurationPackage eINSTANCE = org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationPackageImpl.init();
@@ -61,6 +66,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl <em>Runtime Values Edition Action Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationPackageImpl#getRuntimeValuesEditionActionConfiguration()
* @generated
@@ -71,6 +77,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -80,6 +87,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -89,6 +97,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>Identifier</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -98,6 +107,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>Icon Entry</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -107,6 +117,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>Views To Display</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -116,6 +127,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The number of structural features of the '<em>Runtime Values Edition Action Configuration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -125,6 +137,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl <em>View To Display</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationPackageImpl#getViewToDisplay()
* @generated
@@ -135,6 +148,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The feature id for the '<em><b>View</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -144,6 +158,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The number of structural features of the '<em>View To Display</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -153,6 +168,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The number of operations of the '<em>View To Display</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -163,6 +179,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration <em>Runtime Values Edition Action Configuration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Runtime Values Edition Action Configuration</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration
* @generated
@@ -173,6 +190,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration#getViewsToDisplay <em>Views To Display</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Views To Display</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration#getViewsToDisplay()
* @see #getRuntimeValuesEditionActionConfiguration()
@@ -184,6 +202,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay <em>View To Display</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>View To Display</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay
* @generated
@@ -194,6 +213,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay#getView <em>View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>View</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay#getView()
* @see #getViewToDisplay()
@@ -205,6 +225,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage 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
*/
@@ -214,13 +235,14 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each operation of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals {
@@ -228,6 +250,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl <em>Runtime Values Edition Action Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationPackageImpl#getRuntimeValuesEditionActionConfiguration()
* @generated
@@ -238,6 +261,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object literal for the '<em><b>Views To Display</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY = eINSTANCE.getRuntimeValuesEditionActionConfiguration_ViewsToDisplay();
@@ -246,6 +270,7 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl <em>View To Display</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationPackageImpl#getViewToDisplay()
* @generated
@@ -256,10 +281,11 @@ public interface RuntimeValuesEditionActionConfigurationPackage extends EPackage
* The meta object literal for the '<em><b>View</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference VIEW_TO_DISPLAY__VIEW = eINSTANCE.getViewToDisplay_View();
}
-} //RuntimeValuesEditionActionConfigurationPackage
+} // RuntimeValuesEditionActionConfigurationPackage
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/ViewToDisplay.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/ViewToDisplay.java
index 55daa423e7b..23dbec2c11e 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/ViewToDisplay.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/ViewToDisplay.java
@@ -14,7 +14,7 @@ import org.eclipse.papyrus.views.properties.contexts.View;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay#getView <em>View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay#getView <em>View</em>}</li>
* </ul>
* </p>
*
@@ -27,10 +27,10 @@ public interface ViewToDisplay extends EObject {
* Returns the value of the '<em><b>View</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>View</em>' reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>View</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>View</em>' reference.
* @see #setView(View)
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage#getViewToDisplay_View()
@@ -43,7 +43,9 @@ public interface ViewToDisplay extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay#getView <em>View</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>View</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>View</em>' reference.
* @see #getView()
* @generated
*/
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationFactoryImpl.java
index 61dfd3cfee4..f26a2b5a814 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationFactoryImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationFactoryImpl.java
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactioncon
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactoryImpl implements RuntimeValuesEditionActionConfigurationFactory {
@@ -23,16 +24,16 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static RuntimeValuesEditionActionConfigurationFactory init() {
try {
- RuntimeValuesEditionActionConfigurationFactory theRuntimeValuesEditionActionConfigurationFactory = (RuntimeValuesEditionActionConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(RuntimeValuesEditionActionConfigurationPackage.eNS_URI);
+ RuntimeValuesEditionActionConfigurationFactory theRuntimeValuesEditionActionConfigurationFactory = (RuntimeValuesEditionActionConfigurationFactory) EPackage.Registry.INSTANCE.getEFactory(RuntimeValuesEditionActionConfigurationPackage.eNS_URI);
if (theRuntimeValuesEditionActionConfigurationFactory != null) {
return theRuntimeValuesEditionActionConfigurationFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new RuntimeValuesEditionActionConfigurationFactoryImpl();
@@ -42,6 +43,7 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuntimeValuesEditionActionConfigurationFactoryImpl() {
@@ -51,23 +53,28 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION: return createRuntimeValuesEditionActionConfiguration();
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY: return createViewToDisplay();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION:
+ return createRuntimeValuesEditionActionConfiguration();
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY:
+ return createViewToDisplay();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public RuntimeValuesEditionActionConfiguration createRuntimeValuesEditionActionConfiguration() {
RuntimeValuesEditionActionConfigurationImpl runtimeValuesEditionActionConfiguration = new RuntimeValuesEditionActionConfigurationImpl();
return runtimeValuesEditionActionConfiguration;
@@ -76,8 +83,10 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ViewToDisplay createViewToDisplay() {
ViewToDisplayImpl viewToDisplay = new ViewToDisplayImpl();
return viewToDisplay;
@@ -86,15 +95,18 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public RuntimeValuesEditionActionConfigurationPackage getRuntimeValuesEditionActionConfigurationPackage() {
- return (RuntimeValuesEditionActionConfigurationPackage)getEPackage();
+ return (RuntimeValuesEditionActionConfigurationPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -103,4 +115,4 @@ public class RuntimeValuesEditionActionConfigurationFactoryImpl extends EFactory
return RuntimeValuesEditionActionConfigurationPackage.eINSTANCE;
}
-} //RuntimeValuesEditionActionConfigurationFactoryImpl
+} // RuntimeValuesEditionActionConfigurationFactoryImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationImpl.java
index 76a899fb04a..19d8688a3c2 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationImpl.java
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.infra.extendedtypes.impl.SemanticActionConfigurationI
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl#getViewsToDisplay <em>Views To Display</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.RuntimeValuesEditionActionConfigurationImpl#getViewsToDisplay <em>Views To Display</em>}</li>
* </ul>
* </p>
*
@@ -38,6 +38,7 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
* The cached value of the '{@link #getViewsToDisplay() <em>Views To Display</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getViewsToDisplay()
* @generated
* @ordered
@@ -47,6 +48,7 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected RuntimeValuesEditionActionConfigurationImpl() {
@@ -56,6 +58,7 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -66,8 +69,10 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<ViewToDisplay> getViewsToDisplay() {
if (viewsToDisplay == null) {
viewsToDisplay = new EObjectContainmentEList<ViewToDisplay>(ViewToDisplay.class, this, RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY);
@@ -78,13 +83,14 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
- return ((InternalEList<?>)getViewsToDisplay()).basicRemove(otherEnd, msgs);
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
+ return ((InternalEList<?>) getViewsToDisplay()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -92,13 +98,14 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
- return getViewsToDisplay();
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
+ return getViewsToDisplay();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -106,16 +113,17 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
- getViewsToDisplay().clear();
- getViewsToDisplay().addAll((Collection<? extends ViewToDisplay>)newValue);
- return;
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
+ getViewsToDisplay().clear();
+ getViewsToDisplay().addAll((Collection<? extends ViewToDisplay>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -123,14 +131,15 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
- getViewsToDisplay().clear();
- return;
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
+ getViewsToDisplay().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -138,15 +147,16 @@ public class RuntimeValuesEditionActionConfigurationImpl extends SemanticActionC
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
- return viewsToDisplay != null && !viewsToDisplay.isEmpty();
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION__VIEWS_TO_DISPLAY:
+ return viewsToDisplay != null && !viewsToDisplay.isEmpty();
}
return super.eIsSet(featureID);
}
-} //RuntimeValuesEditionActionConfigurationImpl
+} // RuntimeValuesEditionActionConfigurationImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationPackageImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationPackageImpl.java
index 745276f1ed8..4b812236b1b 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationPackageImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/RuntimeValuesEditionActionConfigurationPackageImpl.java
@@ -25,12 +25,14 @@ import org.eclipse.papyrus.views.properties.ui.UiPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackageImpl implements RuntimeValuesEditionActionConfigurationPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass runtimeValuesEditionActionConfigurationEClass = null;
@@ -38,20 +40,17 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass viewToDisplayEClass = 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.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage#eNS_URI
* @see #init()
@@ -64,27 +63,31 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- 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 RuntimeValuesEditionActionConfigurationPackage#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 RuntimeValuesEditionActionConfigurationPackage#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 RuntimeValuesEditionActionConfigurationPackage init() {
- if (isInited) return (RuntimeValuesEditionActionConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(RuntimeValuesEditionActionConfigurationPackage.eNS_URI);
+ if (isInited) {
+ return (RuntimeValuesEditionActionConfigurationPackage) EPackage.Registry.INSTANCE.getEPackage(RuntimeValuesEditionActionConfigurationPackage.eNS_URI);
+ }
// Obtain or create and register package
- RuntimeValuesEditionActionConfigurationPackageImpl theRuntimeValuesEditionActionConfigurationPackage = (RuntimeValuesEditionActionConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RuntimeValuesEditionActionConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RuntimeValuesEditionActionConfigurationPackageImpl());
+ RuntimeValuesEditionActionConfigurationPackageImpl theRuntimeValuesEditionActionConfigurationPackage = (RuntimeValuesEditionActionConfigurationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RuntimeValuesEditionActionConfigurationPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new RuntimeValuesEditionActionConfigurationPackageImpl());
isInited = true;
@@ -103,7 +106,7 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
// Mark meta-data to indicate it can't be changed
theRuntimeValuesEditionActionConfigurationPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(RuntimeValuesEditionActionConfigurationPackage.eNS_URI, theRuntimeValuesEditionActionConfigurationPackage);
return theRuntimeValuesEditionActionConfigurationPackage;
@@ -112,8 +115,10 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getRuntimeValuesEditionActionConfiguration() {
return runtimeValuesEditionActionConfigurationEClass;
}
@@ -121,17 +126,21 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getRuntimeValuesEditionActionConfiguration_ViewsToDisplay() {
- return (EReference)runtimeValuesEditionActionConfigurationEClass.getEStructuralFeatures().get(0);
+ return (EReference) runtimeValuesEditionActionConfigurationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getViewToDisplay() {
return viewToDisplayEClass;
}
@@ -139,37 +148,45 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getViewToDisplay_View() {
- return (EReference)viewToDisplayEClass.getEStructuralFeatures().get(0);
+ return (EReference) viewToDisplayEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public RuntimeValuesEditionActionConfigurationFactory getRuntimeValuesEditionActionConfigurationFactory() {
- return (RuntimeValuesEditionActionConfigurationFactory)getEFactoryInstance();
+ return (RuntimeValuesEditionActionConfigurationFactory) 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
@@ -183,19 +200,23 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
/**
* <!-- 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
@@ -204,8 +225,8 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
setNsURI(eNS_URI);
// Obtain other dependent packages
- ExtendedtypesPackage theExtendedtypesPackage = (ExtendedtypesPackage)EPackage.Registry.INSTANCE.getEPackage(ExtendedtypesPackage.eNS_URI);
- ContextsPackage theContextsPackage = (ContextsPackage)EPackage.Registry.INSTANCE.getEPackage(ContextsPackage.eNS_URI);
+ ExtendedtypesPackage theExtendedtypesPackage = (ExtendedtypesPackage) EPackage.Registry.INSTANCE.getEPackage(ExtendedtypesPackage.eNS_URI);
+ ContextsPackage theContextsPackage = (ContextsPackage) EPackage.Registry.INSTANCE.getEPackage(ContextsPackage.eNS_URI);
// Create type parameters
@@ -216,7 +237,8 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
// Initialize classes, features, and operations; add parameters
initEClass(runtimeValuesEditionActionConfigurationEClass, RuntimeValuesEditionActionConfiguration.class, "RuntimeValuesEditionActionConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRuntimeValuesEditionActionConfiguration_ViewsToDisplay(), this.getViewToDisplay(), null, "viewsToDisplay", null, 0, -1, RuntimeValuesEditionActionConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRuntimeValuesEditionActionConfiguration_ViewsToDisplay(), this.getViewToDisplay(), null, "viewsToDisplay", null, 0, -1, RuntimeValuesEditionActionConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(viewToDisplayEClass, ViewToDisplay.class, "ViewToDisplay", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getViewToDisplay_View(), theContextsPackage.getView(), null, "view", null, 1, 1, ViewToDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -225,4 +247,4 @@ public class RuntimeValuesEditionActionConfigurationPackageImpl extends EPackage
createResource(eNS_URI);
}
-} //RuntimeValuesEditionActionConfigurationPackageImpl
+} // RuntimeValuesEditionActionConfigurationPackageImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/ViewToDisplayImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/ViewToDisplayImpl.java
index 6c4a1e2686b..63cacb8adaa 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/ViewToDisplayImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/impl/ViewToDisplayImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.papyrus.views.properties.contexts.View;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl#getView <em>View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.impl.ViewToDisplayImpl#getView <em>View</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
* The cached value of the '{@link #getView() <em>View</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getView()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ViewToDisplayImpl() {
@@ -51,6 +53,7 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,15 +64,18 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public View getView() {
if (view != null && view.eIsProxy()) {
- InternalEObject oldView = (InternalEObject)view;
- view = (View)eResolveProxy(oldView);
+ InternalEObject oldView = (InternalEObject) view;
+ view = (View) eResolveProxy(oldView);
if (view != oldView) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW, oldView, view));
+ }
}
}
return view;
@@ -78,6 +84,7 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public View basicGetView() {
@@ -87,26 +94,32 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setView(View newView) {
View oldView = view;
view = newView;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW, oldView, view));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
- if (resolve) return getView();
- return basicGetView();
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
+ if (resolve) {
+ return getView();
+ }
+ return basicGetView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,14 +127,15 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
- setView((View)newValue);
- return;
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
+ setView((View) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -129,14 +143,15 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
- setView((View)null);
- return;
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
+ setView((View) null);
+ return;
}
super.eUnset(featureID);
}
@@ -144,15 +159,16 @@ public class ViewToDisplayImpl extends MinimalEObjectImpl.Container implements V
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
- return view != null;
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY__VIEW:
+ return view != null;
}
return super.eIsSet(featureID);
}
-} //ViewToDisplayImpl
+} // ViewToDisplayImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationAdapterFactory.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationAdapterFactory.java
index bb153d91131..c524a9db52f 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationAdapterFactory.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationAdapterFactory.java
@@ -20,6 +20,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactioncon
* 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.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage
* @generated
*/
@@ -28,6 +29,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static RuntimeValuesEditionActionConfigurationPackage modelPackage;
@@ -36,6 +38,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuntimeValuesEditionActionConfigurationAdapterFactory() {
@@ -49,6 +52,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* <!-- 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
*/
@@ -58,7 +62,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -67,47 +71,55 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected RuntimeValuesEditionActionConfigurationSwitch<Adapter> modelSwitch =
- new RuntimeValuesEditionActionConfigurationSwitch<Adapter>() {
- @Override
- public Adapter caseRuntimeValuesEditionActionConfiguration(RuntimeValuesEditionActionConfiguration object) {
- return createRuntimeValuesEditionActionConfigurationAdapter();
- }
- @Override
- public Adapter caseViewToDisplay(ViewToDisplay object) {
- return createViewToDisplayAdapter();
- }
- @Override
- public Adapter caseConfigurationElement(ConfigurationElement object) {
- return createConfigurationElementAdapter();
- }
- @Override
- public Adapter caseActionConfiguration(ActionConfiguration object) {
- return createActionConfigurationAdapter();
- }
- @Override
- public Adapter caseSemanticActionConfiguration(SemanticActionConfiguration object) {
- return createSemanticActionConfigurationAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new RuntimeValuesEditionActionConfigurationSwitch<Adapter>() {
+ @Override
+ public Adapter caseRuntimeValuesEditionActionConfiguration(RuntimeValuesEditionActionConfiguration object) {
+ return createRuntimeValuesEditionActionConfigurationAdapter();
+ }
+
+ @Override
+ public Adapter caseViewToDisplay(ViewToDisplay object) {
+ return createViewToDisplayAdapter();
+ }
+
+ @Override
+ public Adapter caseConfigurationElement(ConfigurationElement object) {
+ return createConfigurationElementAdapter();
+ }
+
+ @Override
+ public Adapter caseActionConfiguration(ActionConfiguration object) {
+ return createActionConfigurationAdapter();
+ }
+
+ @Override
+ public Adapter caseSemanticActionConfiguration(SemanticActionConfiguration object) {
+ return createSemanticActionConfigurationAdapter();
+ }
+
+ @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);
}
@@ -117,6 +129,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* 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.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfiguration
* @generated
@@ -131,6 +144,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* 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.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.ViewToDisplay
* @generated
@@ -145,6 +159,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* 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.infra.extendedtypes.ConfigurationElement
* @generated
@@ -159,6 +174,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* 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.infra.extendedtypes.ActionConfiguration
* @generated
@@ -173,6 +189,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* 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.infra.extendedtypes.SemanticActionConfiguration
* @generated
@@ -186,6 +203,7 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -193,4 +211,4 @@ public class RuntimeValuesEditionActionConfigurationAdapterFactory extends Adapt
return null;
}
-} //RuntimeValuesEditionActionConfigurationAdapterFactory
+} // RuntimeValuesEditionActionConfigurationAdapterFactory
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceFactoryImpl.java
index 39ee50b765d..8b1b92ac661 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceFactoryImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceFactoryImpl.java
@@ -12,6 +12,7 @@ import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
* <!-- begin-user-doc -->
* The <b>Resource Factory</b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.util.RuntimeValuesEditionActionConfigurationResourceImpl
* @generated
*/
@@ -20,6 +21,7 @@ public class RuntimeValuesEditionActionConfigurationResourceFactoryImpl extends
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuntimeValuesEditionActionConfigurationResourceFactoryImpl() {
@@ -30,6 +32,7 @@ public class RuntimeValuesEditionActionConfigurationResourceFactoryImpl extends
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -38,4 +41,4 @@ public class RuntimeValuesEditionActionConfigurationResourceFactoryImpl extends
return result;
}
-} //RuntimeValuesEditionActionConfigurationResourceFactoryImpl
+} // RuntimeValuesEditionActionConfigurationResourceFactoryImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceImpl.java
index 49df6d9c773..1f2358d9b87 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationResourceImpl.java
@@ -10,6 +10,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
* <!-- begin-user-doc -->
* The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.util.RuntimeValuesEditionActionConfigurationResourceFactoryImpl
* @generated
*/
@@ -18,11 +19,13 @@ public class RuntimeValuesEditionActionConfigurationResourceImpl extends XMLReso
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public RuntimeValuesEditionActionConfigurationResourceImpl(URI uri) {
super(uri);
}
-} //RuntimeValuesEditionActionConfigurationResourceImpl
+} // RuntimeValuesEditionActionConfigurationResourceImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationSwitch.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationSwitch.java
index ff18e23310b..70d49af2b6d 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationSwitch.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationSwitch.java
@@ -16,13 +16,13 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactioncon
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactionconfiguration.RuntimeValuesEditionActionConfigurationPackage
* @generated
*/
@@ -31,6 +31,7 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static RuntimeValuesEditionActionConfigurationPackage modelPackage;
@@ -39,6 +40,7 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuntimeValuesEditionActionConfigurationSwitch() {
@@ -51,6 +53,7 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -64,28 +67,40 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION: {
- RuntimeValuesEditionActionConfiguration runtimeValuesEditionActionConfiguration = (RuntimeValuesEditionActionConfiguration)theEObject;
- T result = caseRuntimeValuesEditionActionConfiguration(runtimeValuesEditionActionConfiguration);
- if (result == null) result = caseSemanticActionConfiguration(runtimeValuesEditionActionConfiguration);
- if (result == null) result = caseActionConfiguration(runtimeValuesEditionActionConfiguration);
- if (result == null) result = caseConfigurationElement(runtimeValuesEditionActionConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case RuntimeValuesEditionActionConfigurationPackage.RUNTIME_VALUES_EDITION_ACTION_CONFIGURATION: {
+ RuntimeValuesEditionActionConfiguration runtimeValuesEditionActionConfiguration = (RuntimeValuesEditionActionConfiguration) theEObject;
+ T result = caseRuntimeValuesEditionActionConfiguration(runtimeValuesEditionActionConfiguration);
+ if (result == null) {
+ result = caseSemanticActionConfiguration(runtimeValuesEditionActionConfiguration);
}
- case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY: {
- ViewToDisplay viewToDisplay = (ViewToDisplay)theEObject;
- T result = caseViewToDisplay(viewToDisplay);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseActionConfiguration(runtimeValuesEditionActionConfiguration);
}
- default: return defaultCase(theEObject);
+ if (result == null) {
+ result = caseConfigurationElement(runtimeValuesEditionActionConfiguration);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case RuntimeValuesEditionActionConfigurationPackage.VIEW_TO_DISPLAY: {
+ ViewToDisplay viewToDisplay = (ViewToDisplay) theEObject;
+ T result = caseViewToDisplay(viewToDisplay);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -95,7 +110,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Runtime Values Edition Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -110,7 +127,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>View To Display</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -125,7 +144,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Configuration Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -140,7 +161,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -155,7 +178,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Semantic Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -170,7 +195,9 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -180,4 +207,4 @@ public class RuntimeValuesEditionActionConfigurationSwitch<T> extends Switch<T>
return null;
}
-} //RuntimeValuesEditionActionConfigurationSwitch
+} // RuntimeValuesEditionActionConfigurationSwitch
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationXMLProcessor.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationXMLProcessor.java
index 56b197b16bb..f73f710d8b4 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationXMLProcessor.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/util/RuntimeValuesEditionActionConfigurationXMLProcessor.java
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.runtimevalueseditionactioncon
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class RuntimeValuesEditionActionConfigurationXMLProcessor extends XMLProcessor {
@@ -24,17 +25,19 @@ public class RuntimeValuesEditionActionConfigurationXMLProcessor extends XMLProc
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public RuntimeValuesEditionActionConfigurationXMLProcessor() {
super((EPackage.Registry.INSTANCE));
RuntimeValuesEditionActionConfigurationPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the RuntimeValuesEditionActionConfigurationResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -47,4 +50,4 @@ public class RuntimeValuesEditionActionConfigurationXMLProcessor extends XMLProc
return registrations;
}
-} //RuntimeValuesEditionActionConfigurationXMLProcessor
+} // RuntimeValuesEditionActionConfigurationXMLProcessor
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ConstantValue.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ConstantValue.java
index fd8648e9488..1d5b2cc4ad0 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ConstantValue.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ConstantValue.java
@@ -12,7 +12,7 @@ import org.eclipse.uml2.uml.ValueSpecification;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue#getValueInstance <em>Value Instance</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue#getValueInstance <em>Value Instance</em>}</li>
* </ul>
* </p>
*
@@ -25,10 +25,10 @@ public interface ConstantValue extends FeatureValue {
* Returns the value of the '<em><b>Value Instance</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Value Instance</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Value Instance</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Value Instance</em>' containment reference.
* @see #setValueInstance(ValueSpecification)
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#getConstantValue_ValueInstance()
@@ -41,7 +41,9 @@ public interface ConstantValue extends FeatureValue {
* Sets the value of the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue#getValueInstance <em>Value Instance</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Value Instance</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Value Instance</em>' containment reference.
* @see #getValueInstance()
* @generated
*/
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureToSet.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureToSet.java
index 4256ca2f085..3b40208d9af 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureToSet.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureToSet.java
@@ -12,8 +12,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getFeatureName <em>Feature Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getFeatureName <em>Feature Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -26,10 +26,10 @@ public interface FeatureToSet extends EObject {
* Returns the value of the '<em><b>Feature Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Feature Name</em>' attribute isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Feature 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>Feature Name</em>' attribute.
* @see #setFeatureName(String)
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#getFeatureToSet_FeatureName()
@@ -42,7 +42,9 @@ public interface FeatureToSet extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getFeatureName <em>Feature Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature Name</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Feature Name</em>' attribute.
* @see #getFeatureName()
* @generated
*/
@@ -52,10 +54,10 @@ public interface FeatureToSet extends EObject {
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Value</em>' containment reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Value</em>' containment reference.
* @see #setValue(FeatureValue)
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#getFeatureToSet_Value()
@@ -68,7 +70,9 @@ public interface FeatureToSet extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getValue <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' containment reference.
+ *
+ * @param value
+ * the new value of the '<em>Value</em>' containment reference.
* @see #getValue()
* @generated
*/
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ListValue.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ListValue.java
index d9afe038250..f74c36b4438 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ListValue.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/ListValue.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.common.util.EList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue#getValues <em>Values</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue#getValues <em>Values</em>}</li>
* </ul>
* </p>
*
@@ -26,10 +26,10 @@ public interface ListValue extends FeatureValue {
* The list contents are of type {@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureValue}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Values</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>Values</em>' containment reference list.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#getListValue_Values()
* @model containment="true"
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfiguration.java
index 01c438dd26b..38185b1cfaa 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfiguration.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfiguration.java
@@ -14,7 +14,7 @@ import org.eclipse.papyrus.infra.extendedtypes.SemanticActionConfiguration;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration#getFeaturesToSet <em>Features To Set</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration#getFeaturesToSet <em>Features To Set</em>}</li>
* </ul>
* </p>
*
@@ -28,10 +28,10 @@ public interface SetValuesActionConfiguration extends SemanticActionConfiguratio
* The list contents are of type {@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Features To Set</em>' containment reference list isn't clear,
- * there really should be more of a description here...
+ * If the meaning of the '<em>Features To Set</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>Features To Set</em>' containment reference list.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#getSetValuesActionConfiguration_FeaturesToSet()
* @model containment="true"
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationFactory.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationFactory.java
index 14d12ca24b8..b89871c12b4 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationFactory.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationFactory.java
@@ -9,6 +9,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.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage
* @generated
*/
@@ -17,6 +18,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
SetValuesActionConfigurationFactory eINSTANCE = org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationFactoryImpl.init();
@@ -25,6 +27,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Set Values Action Configuration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Set Values Action Configuration</em>'.
* @generated
*/
@@ -34,6 +37,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Feature To Set</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Feature To Set</em>'.
* @generated
*/
@@ -43,6 +47,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Constant Value</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Constant Value</em>'.
* @generated
*/
@@ -52,6 +57,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns a new object of class '<em>List Value</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>List Value</em>'.
* @generated
*/
@@ -61,6 +67,7 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns a new object of class '<em>Query Execution Value</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Query Execution Value</em>'.
* @generated
*/
@@ -70,9 +77,10 @@ public interface SetValuesActionConfigurationFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the package supported by this factory.
* @generated
*/
SetValuesActionConfigurationPackage getSetValuesActionConfigurationPackage();
-} //SetValuesActionConfigurationFactory
+} // SetValuesActionConfigurationFactory
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationPackage.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationPackage.java
index e00b481a62c..2af9e527556 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationPackage.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationPackage.java
@@ -14,12 +14,13 @@ import org.eclipse.papyrus.infra.extendedtypes.ExtendedtypesPackage;
* 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>
+ * <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.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationFactory
* @model kind="package"
* @generated
@@ -29,6 +30,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "setvaluesactionconfiguration";
@@ -37,6 +39,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/infra/extendedtypes/emf/setvaluesaction/1.0";
@@ -45,6 +48,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "setvaluesactionconfiguration";
@@ -53,6 +57,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
SetValuesActionConfigurationPackage eINSTANCE = org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl.init();
@@ -61,6 +66,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl <em>Set Values Action Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getSetValuesActionConfiguration()
* @generated
@@ -71,6 +77,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -80,6 +87,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -89,6 +97,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Identifier</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -98,6 +107,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Icon Entry</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -107,6 +117,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Features To Set</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -116,6 +127,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Set Values Action Configuration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -125,6 +137,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl <em>Feature To Set</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getFeatureToSet()
* @generated
@@ -135,6 +148,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Feature Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -144,6 +158,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -153,6 +168,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Feature To Set</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -162,6 +178,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureValueImpl <em>Feature Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getFeatureValue()
* @generated
@@ -172,6 +189,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Feature Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -181,6 +199,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.DynamicValueImpl <em>Dynamic Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.DynamicValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getDynamicValue()
* @generated
@@ -191,6 +210,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Dynamic Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -200,6 +220,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl <em>Constant Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getConstantValue()
* @generated
@@ -210,6 +231,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Value Instance</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -219,6 +241,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Constant Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -228,6 +251,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl <em>List Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getListValue()
* @generated
@@ -238,6 +262,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The feature id for the '<em><b>Values</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -247,6 +272,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>List Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -256,6 +282,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.QueryExecutionValueImpl <em>Query Execution Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.QueryExecutionValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getQueryExecutionValue()
* @generated
@@ -266,6 +293,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The number of structural features of the '<em>Query Execution Value</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -276,6 +304,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration <em>Set Values Action Configuration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Set Values Action Configuration</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration
* @generated
@@ -286,6 +315,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration#getFeaturesToSet <em>Features To Set</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Features To Set</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration#getFeaturesToSet()
* @see #getSetValuesActionConfiguration()
@@ -297,6 +327,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet <em>Feature To Set</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature To Set</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet
* @generated
@@ -307,6 +338,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getFeatureName <em>Feature Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Feature Name</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getFeatureName()
* @see #getFeatureToSet()
@@ -318,6 +350,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getValue <em>Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet#getValue()
* @see #getFeatureToSet()
@@ -329,6 +362,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureValue <em>Feature Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Feature Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureValue
* @generated
@@ -339,6 +373,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.DynamicValue <em>Dynamic Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Dynamic Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.DynamicValue
* @generated
@@ -349,6 +384,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue <em>Constant Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Constant Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue
* @generated
@@ -359,6 +395,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue#getValueInstance <em>Value Instance</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference '<em>Value Instance</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue#getValueInstance()
* @see #getConstantValue()
@@ -370,6 +407,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue <em>List Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>List Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue
* @generated
@@ -380,6 +418,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue#getValues <em>Values</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Values</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue#getValues()
* @see #getListValue()
@@ -391,6 +430,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.QueryExecutionValue <em>Query Execution Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Query Execution Value</em>'.
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.QueryExecutionValue
* @generated
@@ -401,6 +441,7 @@ public interface SetValuesActionConfigurationPackage 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
*/
@@ -410,12 +451,13 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <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 {
@@ -423,6 +465,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl <em>Set Values Action Configuration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getSetValuesActionConfiguration()
* @generated
@@ -433,6 +476,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Features To Set</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET = eINSTANCE.getSetValuesActionConfiguration_FeaturesToSet();
@@ -441,6 +485,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl <em>Feature To Set</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getFeatureToSet()
* @generated
@@ -451,6 +496,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Feature Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EAttribute FEATURE_TO_SET__FEATURE_NAME = eINSTANCE.getFeatureToSet_FeatureName();
@@ -459,6 +505,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference FEATURE_TO_SET__VALUE = eINSTANCE.getFeatureToSet_Value();
@@ -467,6 +514,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureValueImpl <em>Feature Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getFeatureValue()
* @generated
@@ -477,6 +525,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.DynamicValueImpl <em>Dynamic Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.DynamicValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getDynamicValue()
* @generated
@@ -487,6 +536,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl <em>Constant Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getConstantValue()
* @generated
@@ -497,6 +547,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Value Instance</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference CONSTANT_VALUE__VALUE_INSTANCE = eINSTANCE.getConstantValue_ValueInstance();
@@ -505,6 +556,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl <em>List Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getListValue()
* @generated
@@ -515,6 +567,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
EReference LIST_VALUE__VALUES = eINSTANCE.getListValue_Values();
@@ -523,6 +576,7 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.QueryExecutionValueImpl <em>Query Execution Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.QueryExecutionValueImpl
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationPackageImpl#getQueryExecutionValue()
* @generated
@@ -531,4 +585,4 @@ public interface SetValuesActionConfigurationPackage extends EPackage {
}
-} //SetValuesActionConfigurationPackage
+} // SetValuesActionConfigurationPackage
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ConstantValueImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ConstantValueImpl.java
index eef24525fd9..4d66e61973b 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ConstantValueImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ConstantValueImpl.java
@@ -22,7 +22,7 @@ import org.eclipse.uml2.uml.ValueSpecification;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl#getValueInstance <em>Value Instance</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ConstantValueImpl#getValueInstance <em>Value Instance</em>}</li>
* </ul>
* </p>
*
@@ -33,6 +33,7 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
* The cached value of the '{@link #getValueInstance() <em>Value Instance</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValueInstance()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ConstantValueImpl() {
@@ -51,6 +53,7 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,8 +64,10 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ValueSpecification getValueInstance() {
return valueInstance;
}
@@ -70,6 +75,7 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetValueInstance(ValueSpecification newValueInstance, NotificationChain msgs) {
@@ -77,7 +83,11 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
valueInstance = newValueInstance;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, oldValueInstance, newValueInstance);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -85,32 +95,40 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setValueInstance(ValueSpecification newValueInstance) {
if (newValueInstance != valueInstance) {
NotificationChain msgs = null;
- if (valueInstance != null)
- msgs = ((InternalEObject)valueInstance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, null, msgs);
- if (newValueInstance != null)
- msgs = ((InternalEObject)newValueInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, null, msgs);
+ if (valueInstance != null) {
+ msgs = ((InternalEObject) valueInstance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, null, msgs);
+ }
+ if (newValueInstance != null) {
+ msgs = ((InternalEObject) newValueInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, null, msgs);
+ }
msgs = basicSetValueInstance(newValueInstance, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE, newValueInstance, newValueInstance));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
- return basicSetValueInstance(null, msgs);
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
+ return basicSetValueInstance(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -118,13 +136,14 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
- return getValueInstance();
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
+ return getValueInstance();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -132,14 +151,15 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
- setValueInstance((ValueSpecification)newValue);
- return;
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
+ setValueInstance((ValueSpecification) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -147,14 +167,15 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
- setValueInstance((ValueSpecification)null);
- return;
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
+ setValueInstance((ValueSpecification) null);
+ return;
}
super.eUnset(featureID);
}
@@ -162,15 +183,16 @@ public class ConstantValueImpl extends FeatureValueImpl implements ConstantValue
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
- return valueInstance != null;
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE:
+ return valueInstance != null;
}
return super.eIsSet(featureID);
}
-} //ConstantValueImpl
+} // ConstantValueImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/DynamicValueImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/DynamicValueImpl.java
index 691b14c942b..6f7542f3aad 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/DynamicValueImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/DynamicValueImpl.java
@@ -20,6 +20,7 @@ public abstract class DynamicValueImpl extends FeatureValueImpl implements Dynam
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected DynamicValueImpl() {
@@ -29,6 +30,7 @@ public abstract class DynamicValueImpl extends FeatureValueImpl implements Dynam
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -36,4 +38,4 @@ public abstract class DynamicValueImpl extends FeatureValueImpl implements Dynam
return SetValuesActionConfigurationPackage.Literals.DYNAMIC_VALUE;
}
-} //DynamicValueImpl
+} // DynamicValueImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureToSetImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureToSetImpl.java
index 3d8730ef73c..7ac3348d87c 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureToSetImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureToSetImpl.java
@@ -22,8 +22,8 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl#getFeatureName <em>Feature Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl#getFeatureName <em>Feature Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.FeatureToSetImpl#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -34,6 +34,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
* The default value of the '{@link #getFeatureName() <em>Feature Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFeatureName()
* @generated
* @ordered
@@ -44,6 +45,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
* The cached value of the '{@link #getFeatureName() <em>Feature Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFeatureName()
* @generated
* @ordered
@@ -54,6 +56,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
* The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValue()
* @generated
* @ordered
@@ -63,6 +66,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureToSetImpl() {
@@ -72,6 +76,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -82,8 +87,10 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public String getFeatureName() {
return featureName;
}
@@ -91,20 +98,25 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setFeatureName(String newFeatureName) {
String oldFeatureName = featureName;
featureName = newFeatureName;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME, oldFeatureName, featureName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureValue getValue() {
return value;
}
@@ -112,6 +124,7 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetValue(FeatureValue newValue, NotificationChain msgs) {
@@ -119,7 +132,11 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
value = newValue;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, oldValue, newValue);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if (msgs == null) {
+ msgs = notification;
+ } else {
+ msgs.add(notification);
+ }
}
return msgs;
}
@@ -127,32 +144,40 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setValue(FeatureValue newValue) {
if (newValue != value) {
NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, null, msgs);
+ if (value != null) {
+ msgs = ((InternalEObject) value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, null, msgs);
+ }
+ if (newValue != null) {
+ msgs = ((InternalEObject) newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, null, msgs);
+ }
msgs = basicSetValue(newValue, msgs);
- if (msgs != null) msgs.dispatch();
+ if (msgs != null) {
+ msgs.dispatch();
+ }
}
- else if (eNotificationRequired())
+ else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE, newValue, newValue));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
- return basicSetValue(null, msgs);
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
+ return basicSetValue(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -160,15 +185,16 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
- return getFeatureName();
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
- return getValue();
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
+ return getFeatureName();
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
+ return getValue();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,17 +202,18 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
- setFeatureName((String)newValue);
- return;
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
- setValue((FeatureValue)newValue);
- return;
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
+ setFeatureName((String) newValue);
+ return;
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
+ setValue((FeatureValue) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -194,17 +221,18 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
- setFeatureName(FEATURE_NAME_EDEFAULT);
- return;
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
- setValue((FeatureValue)null);
- return;
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
+ setFeatureName(FEATURE_NAME_EDEFAULT);
+ return;
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
+ setValue((FeatureValue) null);
+ return;
}
super.eUnset(featureID);
}
@@ -212,15 +240,16 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
- return FEATURE_NAME_EDEFAULT == null ? featureName != null : !FEATURE_NAME_EDEFAULT.equals(featureName);
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
- return value != null;
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME:
+ return FEATURE_NAME_EDEFAULT == null ? featureName != null : !FEATURE_NAME_EDEFAULT.equals(featureName);
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE:
+ return value != null;
}
return super.eIsSet(featureID);
}
@@ -228,11 +257,14 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
/**
* <!-- 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(" (featureName: ");
@@ -241,4 +273,4 @@ public class FeatureToSetImpl extends EObjectImpl implements FeatureToSet {
return result.toString();
}
-} //FeatureToSetImpl
+} // FeatureToSetImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureValueImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureValueImpl.java
index 1898a58e8ce..c410f593d6a 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureValueImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/FeatureValueImpl.java
@@ -22,6 +22,7 @@ public abstract class FeatureValueImpl extends EObjectImpl implements FeatureVal
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected FeatureValueImpl() {
@@ -31,6 +32,7 @@ public abstract class FeatureValueImpl extends EObjectImpl implements FeatureVal
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -38,4 +40,4 @@ public abstract class FeatureValueImpl extends EObjectImpl implements FeatureVal
return SetValuesActionConfigurationPackage.Literals.FEATURE_VALUE;
}
-} //FeatureValueImpl
+} // FeatureValueImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ListValueImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ListValueImpl.java
index 589bb198a93..00e2534e2e3 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ListValueImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/ListValueImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl#getValues <em>Values</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.ListValueImpl#getValues <em>Values</em>}</li>
* </ul>
* </p>
*
@@ -36,6 +36,7 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
* The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getValues()
* @generated
* @ordered
@@ -45,6 +46,7 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected ListValueImpl() {
@@ -54,6 +56,7 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -64,8 +67,10 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<FeatureValue> getValues() {
if (values == null) {
values = new EObjectContainmentEList<FeatureValue>(FeatureValue.class, this, SetValuesActionConfigurationPackage.LIST_VALUE__VALUES);
@@ -76,13 +81,14 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
- return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs);
+ case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
+ return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -90,13 +96,14 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
- return getValues();
+ case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
+ return getValues();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -104,16 +111,17 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends FeatureValue>)newValue);
- return;
+ case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
+ getValues().clear();
+ getValues().addAll((Collection<? extends FeatureValue>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -121,14 +129,15 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
- getValues().clear();
- return;
+ case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
+ getValues().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -136,15 +145,16 @@ public class ListValueImpl extends FeatureValueImpl implements ListValue {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
- return values != null && !values.isEmpty();
+ case SetValuesActionConfigurationPackage.LIST_VALUE__VALUES:
+ return values != null && !values.isEmpty();
}
return super.eIsSet(featureID);
}
-} //ListValueImpl
+} // ListValueImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/QueryExecutionValueImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/QueryExecutionValueImpl.java
index eadffb5b66b..74d6c02c5a5 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/QueryExecutionValueImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/QueryExecutionValueImpl.java
@@ -20,6 +20,7 @@ public class QueryExecutionValueImpl extends DynamicValueImpl implements QueryEx
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected QueryExecutionValueImpl() {
@@ -29,6 +30,7 @@ public class QueryExecutionValueImpl extends DynamicValueImpl implements QueryEx
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -36,4 +38,4 @@ public class QueryExecutionValueImpl extends DynamicValueImpl implements QueryEx
return SetValuesActionConfigurationPackage.Literals.QUERY_EXECUTION_VALUE;
}
-} //QueryExecutionValueImpl
+} // QueryExecutionValueImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationFactoryImpl.java
index af7395a0f7a..514ecf66813 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationFactoryImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationFactoryImpl.java
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implements SetValuesActionConfigurationFactory {
@@ -23,16 +24,16 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static SetValuesActionConfigurationFactory init() {
try {
- SetValuesActionConfigurationFactory theSetValuesActionConfigurationFactory = (SetValuesActionConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(SetValuesActionConfigurationPackage.eNS_URI);
+ SetValuesActionConfigurationFactory theSetValuesActionConfigurationFactory = (SetValuesActionConfigurationFactory) EPackage.Registry.INSTANCE.getEFactory(SetValuesActionConfigurationPackage.eNS_URI);
if (theSetValuesActionConfigurationFactory != null) {
return theSetValuesActionConfigurationFactory;
}
- }
- catch (Exception exception) {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new SetValuesActionConfigurationFactoryImpl();
@@ -42,6 +43,7 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SetValuesActionConfigurationFactoryImpl() {
@@ -51,26 +53,34 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION: return createSetValuesActionConfiguration();
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET: return createFeatureToSet();
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE: return createConstantValue();
- case SetValuesActionConfigurationPackage.LIST_VALUE: return createListValue();
- case SetValuesActionConfigurationPackage.QUERY_EXECUTION_VALUE: return createQueryExecutionValue();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION:
+ return createSetValuesActionConfiguration();
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET:
+ return createFeatureToSet();
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE:
+ return createConstantValue();
+ case SetValuesActionConfigurationPackage.LIST_VALUE:
+ return createListValue();
+ case SetValuesActionConfigurationPackage.QUERY_EXECUTION_VALUE:
+ return createQueryExecutionValue();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SetValuesActionConfiguration createSetValuesActionConfiguration() {
SetValuesActionConfigurationImpl setValuesActionConfiguration = new SetValuesActionConfigurationImpl();
return setValuesActionConfiguration;
@@ -79,8 +89,10 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public FeatureToSet createFeatureToSet() {
FeatureToSetImpl featureToSet = new FeatureToSetImpl();
return featureToSet;
@@ -89,8 +101,10 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ConstantValue createConstantValue() {
ConstantValueImpl constantValue = new ConstantValueImpl();
return constantValue;
@@ -99,8 +113,10 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public ListValue createListValue() {
ListValueImpl listValue = new ListValueImpl();
return listValue;
@@ -109,8 +125,10 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public QueryExecutionValue createQueryExecutionValue() {
QueryExecutionValueImpl queryExecutionValue = new QueryExecutionValueImpl();
return queryExecutionValue;
@@ -119,15 +137,18 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SetValuesActionConfigurationPackage getSetValuesActionConfigurationPackage() {
- return (SetValuesActionConfigurationPackage)getEPackage();
+ return (SetValuesActionConfigurationPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @deprecated
* @generated
*/
@@ -136,4 +157,4 @@ public class SetValuesActionConfigurationFactoryImpl extends EFactoryImpl implem
return SetValuesActionConfigurationPackage.eINSTANCE;
}
-} //SetValuesActionConfigurationFactoryImpl
+} // SetValuesActionConfigurationFactoryImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationImpl.java
index bbdb00879e5..d0bbd1f249b 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationImpl.java
@@ -27,7 +27,7 @@ import org.eclipse.papyrus.infra.extendedtypes.impl.SemanticActionConfigurationI
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl#getFeaturesToSet <em>Features To Set</em>}</li>
+ * <li>{@link org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.impl.SetValuesActionConfigurationImpl#getFeaturesToSet <em>Features To Set</em>}</li>
* </ul>
* </p>
*
@@ -38,6 +38,7 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
* The cached value of the '{@link #getFeaturesToSet() <em>Features To Set</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getFeaturesToSet()
* @generated
* @ordered
@@ -47,6 +48,7 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SetValuesActionConfigurationImpl() {
@@ -56,6 +58,7 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -66,8 +69,10 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EList<FeatureToSet> getFeaturesToSet() {
if (featuresToSet == null) {
featuresToSet = new EObjectContainmentEList<FeatureToSet>(FeatureToSet.class, this, SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET);
@@ -78,13 +83,14 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
- return ((InternalEList<?>)getFeaturesToSet()).basicRemove(otherEnd, msgs);
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
+ return ((InternalEList<?>) getFeaturesToSet()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -92,13 +98,14 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
- return getFeaturesToSet();
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
+ return getFeaturesToSet();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -106,16 +113,17 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
- getFeaturesToSet().clear();
- getFeaturesToSet().addAll((Collection<? extends FeatureToSet>)newValue);
- return;
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
+ getFeaturesToSet().clear();
+ getFeaturesToSet().addAll((Collection<? extends FeatureToSet>) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -123,14 +131,15 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
- getFeaturesToSet().clear();
- return;
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
+ getFeaturesToSet().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -138,15 +147,16 @@ public class SetValuesActionConfigurationImpl extends SemanticActionConfiguratio
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
- return featuresToSet != null && !featuresToSet.isEmpty();
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET:
+ return featuresToSet != null && !featuresToSet.isEmpty();
}
return super.eIsSet(featureID);
}
-} //SetValuesActionConfigurationImpl
+} // SetValuesActionConfigurationImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationPackageImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationPackageImpl.java
index 9c1cfe5c701..d8d11c8b5cd 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationPackageImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/impl/SetValuesActionConfigurationPackageImpl.java
@@ -28,12 +28,14 @@ import org.eclipse.uml2.uml.UMLPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implements SetValuesActionConfigurationPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass setValuesActionConfigurationEClass = null;
@@ -41,6 +43,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureToSetEClass = null;
@@ -48,6 +51,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass featureValueEClass = null;
@@ -55,6 +59,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass dynamicValueEClass = null;
@@ -62,6 +67,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass constantValueEClass = null;
@@ -69,6 +75,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass listValueEClass = null;
@@ -76,20 +83,17 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EClass queryExecutionValueEClass = 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.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage#eNS_URI
* @see #init()
@@ -102,27 +106,31 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- 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 SetValuesActionConfigurationPackage#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 SetValuesActionConfigurationPackage#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 SetValuesActionConfigurationPackage init() {
- if (isInited) return (SetValuesActionConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(SetValuesActionConfigurationPackage.eNS_URI);
+ if (isInited) {
+ return (SetValuesActionConfigurationPackage) EPackage.Registry.INSTANCE.getEPackage(SetValuesActionConfigurationPackage.eNS_URI);
+ }
// Obtain or create and register package
- SetValuesActionConfigurationPackageImpl theSetValuesActionConfigurationPackage = (SetValuesActionConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SetValuesActionConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SetValuesActionConfigurationPackageImpl());
+ SetValuesActionConfigurationPackageImpl theSetValuesActionConfigurationPackage = (SetValuesActionConfigurationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SetValuesActionConfigurationPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new SetValuesActionConfigurationPackageImpl());
isInited = true;
@@ -139,7 +147,7 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
// Mark meta-data to indicate it can't be changed
theSetValuesActionConfigurationPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(SetValuesActionConfigurationPackage.eNS_URI, theSetValuesActionConfigurationPackage);
return theSetValuesActionConfigurationPackage;
@@ -148,8 +156,10 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getSetValuesActionConfiguration() {
return setValuesActionConfigurationEClass;
}
@@ -157,17 +167,21 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getSetValuesActionConfiguration_FeaturesToSet() {
- return (EReference)setValuesActionConfigurationEClass.getEStructuralFeatures().get(0);
+ return (EReference) setValuesActionConfigurationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureToSet() {
return featureToSetEClass;
}
@@ -175,26 +189,32 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EAttribute getFeatureToSet_FeatureName() {
- return (EAttribute)featureToSetEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) featureToSetEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getFeatureToSet_Value() {
- return (EReference)featureToSetEClass.getEStructuralFeatures().get(1);
+ return (EReference) featureToSetEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getFeatureValue() {
return featureValueEClass;
}
@@ -202,8 +222,10 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getDynamicValue() {
return dynamicValueEClass;
}
@@ -211,8 +233,10 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getConstantValue() {
return constantValueEClass;
}
@@ -220,17 +244,21 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getConstantValue_ValueInstance() {
- return (EReference)constantValueEClass.getEStructuralFeatures().get(0);
+ return (EReference) constantValueEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getListValue() {
return listValueEClass;
}
@@ -238,17 +266,21 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EReference getListValue_Values() {
- return (EReference)listValueEClass.getEStructuralFeatures().get(0);
+ return (EReference) listValueEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public EClass getQueryExecutionValue() {
return queryExecutionValueEClass;
}
@@ -256,28 +288,34 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public SetValuesActionConfigurationFactory getSetValuesActionConfigurationFactory() {
- return (SetValuesActionConfigurationFactory)getEFactoryInstance();
+ return (SetValuesActionConfigurationFactory) 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
@@ -304,19 +342,23 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
/**
* <!-- 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
@@ -325,9 +367,9 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
setNsURI(eNS_URI);
// Obtain other dependent packages
- ExtendedtypesPackage theExtendedtypesPackage = (ExtendedtypesPackage)EPackage.Registry.INSTANCE.getEPackage(ExtendedtypesPackage.eNS_URI);
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+ ExtendedtypesPackage theExtendedtypesPackage = (ExtendedtypesPackage) EPackage.Registry.INSTANCE.getEPackage(ExtendedtypesPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
// Create type parameters
@@ -342,7 +384,8 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
// Initialize classes and features; add operations and parameters
initEClass(setValuesActionConfigurationEClass, SetValuesActionConfiguration.class, "SetValuesActionConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSetValuesActionConfiguration_FeaturesToSet(), this.getFeatureToSet(), null, "featuresToSet", null, 0, -1, SetValuesActionConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSetValuesActionConfiguration_FeaturesToSet(), this.getFeatureToSet(), null, "featuresToSet", null, 0, -1, SetValuesActionConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(featureToSetEClass, FeatureToSet.class, "FeatureToSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getFeatureToSet_FeatureName(), theEcorePackage.getEString(), "featureName", null, 1, 1, FeatureToSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -353,7 +396,8 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
initEClass(dynamicValueEClass, DynamicValue.class, "DynamicValue", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(constantValueEClass, ConstantValue.class, "ConstantValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConstantValue_ValueInstance(), theUMLPackage.getValueSpecification(), null, "valueInstance", null, 0, 1, ConstantValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConstantValue_ValueInstance(), theUMLPackage.getValueSpecification(), null, "valueInstance", null, 0, 1, ConstantValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(listValueEClass, ListValue.class, "ListValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getListValue_Values(), this.getFeatureValue(), null, "values", null, 0, -1, ListValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -364,4 +408,4 @@ public class SetValuesActionConfigurationPackageImpl extends EPackageImpl implem
createResource(eNS_URI);
}
-} //SetValuesActionConfigurationPackageImpl
+} // SetValuesActionConfigurationPackageImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationAdapterFactory.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationAdapterFactory.java
index 636f23e3581..f59550299af 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationAdapterFactory.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationAdapterFactory.java
@@ -20,6 +20,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage
* @generated
*/
@@ -28,6 +29,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static SetValuesActionConfigurationPackage modelPackage;
@@ -36,6 +38,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SetValuesActionConfigurationAdapterFactory() {
@@ -49,6 +52,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* <!-- 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
*/
@@ -58,7 +62,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
return true;
}
if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -67,67 +71,80 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected SetValuesActionConfigurationSwitch<Adapter> modelSwitch =
- new SetValuesActionConfigurationSwitch<Adapter>() {
- @Override
- public Adapter caseSetValuesActionConfiguration(SetValuesActionConfiguration object) {
- return createSetValuesActionConfigurationAdapter();
- }
- @Override
- public Adapter caseFeatureToSet(FeatureToSet object) {
- return createFeatureToSetAdapter();
- }
- @Override
- public Adapter caseFeatureValue(FeatureValue object) {
- return createFeatureValueAdapter();
- }
- @Override
- public Adapter caseDynamicValue(DynamicValue object) {
- return createDynamicValueAdapter();
- }
- @Override
- public Adapter caseConstantValue(ConstantValue object) {
- return createConstantValueAdapter();
- }
- @Override
- public Adapter caseListValue(ListValue object) {
- return createListValueAdapter();
- }
- @Override
- public Adapter caseQueryExecutionValue(QueryExecutionValue object) {
- return createQueryExecutionValueAdapter();
- }
- @Override
- public Adapter caseConfigurationElement(ConfigurationElement object) {
- return createConfigurationElementAdapter();
- }
- @Override
- public Adapter caseActionConfiguration(ActionConfiguration object) {
- return createActionConfigurationAdapter();
- }
- @Override
- public Adapter caseSemanticActionConfiguration(SemanticActionConfiguration object) {
- return createSemanticActionConfigurationAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new SetValuesActionConfigurationSwitch<Adapter>() {
+ @Override
+ public Adapter caseSetValuesActionConfiguration(SetValuesActionConfiguration object) {
+ return createSetValuesActionConfigurationAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureToSet(FeatureToSet object) {
+ return createFeatureToSetAdapter();
+ }
+
+ @Override
+ public Adapter caseFeatureValue(FeatureValue object) {
+ return createFeatureValueAdapter();
+ }
+
+ @Override
+ public Adapter caseDynamicValue(DynamicValue object) {
+ return createDynamicValueAdapter();
+ }
+
+ @Override
+ public Adapter caseConstantValue(ConstantValue object) {
+ return createConstantValueAdapter();
+ }
+
+ @Override
+ public Adapter caseListValue(ListValue object) {
+ return createListValueAdapter();
+ }
+
+ @Override
+ public Adapter caseQueryExecutionValue(QueryExecutionValue object) {
+ return createQueryExecutionValueAdapter();
+ }
+
+ @Override
+ public Adapter caseConfigurationElement(ConfigurationElement object) {
+ return createConfigurationElementAdapter();
+ }
+
+ @Override
+ public Adapter caseActionConfiguration(ActionConfiguration object) {
+ return createActionConfigurationAdapter();
+ }
+
+ @Override
+ public Adapter caseSemanticActionConfiguration(SemanticActionConfiguration object) {
+ return createSemanticActionConfigurationAdapter();
+ }
+
+ @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);
}
@@ -137,6 +154,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfiguration
* @generated
@@ -151,6 +169,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureToSet
* @generated
@@ -165,6 +184,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.FeatureValue
* @generated
@@ -179,6 +199,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.DynamicValue
* @generated
@@ -193,6 +214,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.ConstantValue
* @generated
@@ -207,6 +229,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.ListValue
* @generated
@@ -221,6 +244,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.emf.setvaluesactionconfiguration.QueryExecutionValue
* @generated
@@ -235,6 +259,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.ConfigurationElement
* @generated
@@ -249,6 +274,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.ActionConfiguration
* @generated
@@ -263,6 +289,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* 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.infra.extendedtypes.SemanticActionConfiguration
* @generated
@@ -276,6 +303,7 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/
@@ -283,4 +311,4 @@ public class SetValuesActionConfigurationAdapterFactory extends AdapterFactoryIm
return null;
}
-} //SetValuesActionConfigurationAdapterFactory
+} // SetValuesActionConfigurationAdapterFactory
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceFactoryImpl.java
index 3341457baaf..ac03292b6d9 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceFactoryImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceFactoryImpl.java
@@ -14,6 +14,7 @@ import org.eclipse.emf.ecore.xmi.XMLResource;
* <!-- begin-user-doc -->
* The <b>Resource Factory</b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.util.SetValuesActionConfigurationResourceImpl
* @generated
*/
@@ -22,6 +23,7 @@ public class SetValuesActionConfigurationResourceFactoryImpl extends ResourceFac
* Creates an instance of the resource factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SetValuesActionConfigurationResourceFactoryImpl() {
@@ -32,6 +34,7 @@ public class SetValuesActionConfigurationResourceFactoryImpl extends ResourceFac
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -49,4 +52,4 @@ public class SetValuesActionConfigurationResourceFactoryImpl extends ResourceFac
return result;
}
-} //SetValuesActionConfigurationResourceFactoryImpl
+} // SetValuesActionConfigurationResourceFactoryImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceImpl.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceImpl.java
index 1128b718b84..d76927db29b 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceImpl.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationResourceImpl.java
@@ -10,6 +10,7 @@ import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
* <!-- begin-user-doc -->
* The <b>Resource </b> associated with the package.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.util.SetValuesActionConfigurationResourceFactoryImpl
* @generated
*/
@@ -18,11 +19,13 @@ public class SetValuesActionConfigurationResourceImpl extends XMLResourceImpl {
* Creates an instance of the resource.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param uri the URI of the new resource.
+ *
+ * @param uri
+ * the URI of the new resource.
* @generated
*/
public SetValuesActionConfigurationResourceImpl(URI uri) {
super(uri);
}
-} //SetValuesActionConfigurationResourceImpl
+} // SetValuesActionConfigurationResourceImpl
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationSwitch.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationSwitch.java
index 7d8927760d1..5124a5bff15 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationSwitch.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationSwitch.java
@@ -16,13 +16,13 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.SetValuesActionConfigurationPackage
* @generated
*/
@@ -31,6 +31,7 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static SetValuesActionConfigurationPackage modelPackage;
@@ -39,6 +40,7 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SetValuesActionConfigurationSwitch() {
@@ -51,6 +53,7 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @parameter ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
@@ -64,63 +67,95 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
- case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION: {
- SetValuesActionConfiguration setValuesActionConfiguration = (SetValuesActionConfiguration)theEObject;
- T result = caseSetValuesActionConfiguration(setValuesActionConfiguration);
- if (result == null) result = caseSemanticActionConfiguration(setValuesActionConfiguration);
- if (result == null) result = caseActionConfiguration(setValuesActionConfiguration);
- if (result == null) result = caseConfigurationElement(setValuesActionConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ case SetValuesActionConfigurationPackage.SET_VALUES_ACTION_CONFIGURATION: {
+ SetValuesActionConfiguration setValuesActionConfiguration = (SetValuesActionConfiguration) theEObject;
+ T result = caseSetValuesActionConfiguration(setValuesActionConfiguration);
+ if (result == null) {
+ result = caseSemanticActionConfiguration(setValuesActionConfiguration);
}
- case SetValuesActionConfigurationPackage.FEATURE_TO_SET: {
- FeatureToSet featureToSet = (FeatureToSet)theEObject;
- T result = caseFeatureToSet(featureToSet);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseActionConfiguration(setValuesActionConfiguration);
}
- case SetValuesActionConfigurationPackage.FEATURE_VALUE: {
- FeatureValue featureValue = (FeatureValue)theEObject;
- T result = caseFeatureValue(featureValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = caseConfigurationElement(setValuesActionConfiguration);
}
- case SetValuesActionConfigurationPackage.DYNAMIC_VALUE: {
- DynamicValue dynamicValue = (DynamicValue)theEObject;
- T result = caseDynamicValue(dynamicValue);
- if (result == null) result = caseFeatureValue(dynamicValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case SetValuesActionConfigurationPackage.CONSTANT_VALUE: {
- ConstantValue constantValue = (ConstantValue)theEObject;
- T result = caseConstantValue(constantValue);
- if (result == null) result = caseFeatureValue(constantValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.FEATURE_TO_SET: {
+ FeatureToSet featureToSet = (FeatureToSet) theEObject;
+ T result = caseFeatureToSet(featureToSet);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.FEATURE_VALUE: {
+ FeatureValue featureValue = (FeatureValue) theEObject;
+ T result = caseFeatureValue(featureValue);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.DYNAMIC_VALUE: {
+ DynamicValue dynamicValue = (DynamicValue) theEObject;
+ T result = caseDynamicValue(dynamicValue);
+ if (result == null) {
+ result = caseFeatureValue(dynamicValue);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- case SetValuesActionConfigurationPackage.LIST_VALUE: {
- ListValue listValue = (ListValue)theEObject;
- T result = caseListValue(listValue);
- if (result == null) result = caseFeatureValue(listValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.CONSTANT_VALUE: {
+ ConstantValue constantValue = (ConstantValue) theEObject;
+ T result = caseConstantValue(constantValue);
+ if (result == null) {
+ result = caseFeatureValue(constantValue);
}
- case SetValuesActionConfigurationPackage.QUERY_EXECUTION_VALUE: {
- QueryExecutionValue queryExecutionValue = (QueryExecutionValue)theEObject;
- T result = caseQueryExecutionValue(queryExecutionValue);
- if (result == null) result = caseDynamicValue(queryExecutionValue);
- if (result == null) result = caseFeatureValue(queryExecutionValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
+ if (result == null) {
+ result = defaultCase(theEObject);
}
- default: return defaultCase(theEObject);
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.LIST_VALUE: {
+ ListValue listValue = (ListValue) theEObject;
+ T result = caseListValue(listValue);
+ if (result == null) {
+ result = caseFeatureValue(listValue);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case SetValuesActionConfigurationPackage.QUERY_EXECUTION_VALUE: {
+ QueryExecutionValue queryExecutionValue = (QueryExecutionValue) theEObject;
+ T result = caseQueryExecutionValue(queryExecutionValue);
+ if (result == null) {
+ result = caseDynamicValue(queryExecutionValue);
+ }
+ if (result == null) {
+ result = caseFeatureValue(queryExecutionValue);
+ }
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
}
}
@@ -130,7 +165,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Set Values Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -145,7 +182,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature To Set</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -160,7 +199,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Feature Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -175,7 +216,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Dynamic Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -190,7 +233,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Constant Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -205,7 +250,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>List Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -220,7 +267,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Query Execution Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -235,7 +284,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Configuration Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -250,7 +301,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -265,7 +318,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Semantic Action Configuration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -280,7 +335,9 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- * @param object the target of the switch.
+ *
+ * @param object
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
@@ -290,4 +347,4 @@ public class SetValuesActionConfigurationSwitch<T> extends Switch<T> {
return null;
}
-} //SetValuesActionConfigurationSwitch
+} // SetValuesActionConfigurationSwitch
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationXMLProcessor.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationXMLProcessor.java
index ddfb5916c90..f77e034eec1 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationXMLProcessor.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src-gen/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/util/SetValuesActionConfigurationXMLProcessor.java
@@ -16,6 +16,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.
* This class contains helper methods to serialize and deserialize XML documents
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public class SetValuesActionConfigurationXMLProcessor extends XMLProcessor {
@@ -24,17 +25,19 @@ public class SetValuesActionConfigurationXMLProcessor extends XMLProcessor {
* Public constructor to instantiate the helper.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public SetValuesActionConfigurationXMLProcessor() {
super((EPackage.Registry.INSTANCE));
SetValuesActionConfigurationPackage.eINSTANCE.eClass();
}
-
+
/**
* Register for "*" and "xml" file extensions the SetValuesActionConfigurationResourceFactoryImpl factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -47,4 +50,4 @@ public class SetValuesActionConfigurationXMLProcessor extends XMLProcessor {
return registrations;
}
-} //SetValuesActionConfigurationXMLProcessor
+} // SetValuesActionConfigurationXMLProcessor
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/Activator.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/Activator.java
index 58b7983bcf3..6ece2d1748d 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/Activator.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/Activator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2014 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,6 +38,7 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
@Override
@@ -49,6 +50,7 @@ public class Activator extends AbstractUIPlugin {
/*
* (non-Javadoc)
+ *
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
@Override
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterNotfoundException.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterNotfoundException.java
index b98c371da72..09ccf5237bc 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterNotfoundException.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterNotfoundException.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,11 +30,11 @@ public class ConverterNotfoundException extends Exception {
/**
* Creates a new {@link ConverterNotfoundException}.
- *
+ *
* @param parameterType
- * the target type of the value
+ * the target type of the value
* @param valueInstance
- * the value specification defining the entering value and type
+ * the value specification defining the entering value and type
*/
public ConverterNotfoundException(Class<?> parameterType, ValueSpecification valueInstance) {
this.parameterType = parameterType;
@@ -43,7 +43,7 @@ public class ConverterNotfoundException extends Exception {
/**
* Returns the target parameter type
- *
+ *
* @return the target parameter type
*/
public Class<?> getParameterType() {
@@ -52,7 +52,7 @@ public class ConverterNotfoundException extends Exception {
/**
* Returns the value specification defining the entering value and type
- *
+ *
* @return the value specification defining the entering value and type
*/
public ValueSpecification getValueInstance() {
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterRegistry.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterRegistry.java
index d6e61859cad..bdca51a8a42 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterRegistry.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ConverterRegistry.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,11 +38,11 @@ public class ConverterRegistry {
/**
* Returns the single instance of this registry
- *
+ *
* @return the single instance of this registry
*/
public static synchronized ConverterRegistry getSingleton() {
- if(instance == null) {
+ if (instance == null) {
instance = new ConverterRegistry();
instance.initializeRegistry();
}
@@ -62,10 +62,10 @@ public class ConverterRegistry {
/**
* Returns the converter for the convenient type, from an {@link Object}
- *
+ *
* @param toType
- * the class into which the element should be transformed
- *
+ * the class into which the element should be transformed
+ *
* @return the converter for the convenient type
*/
public IConverter getConverter(Class<?> toType) {
@@ -76,78 +76,78 @@ public class ConverterRegistry {
// retrieve the converter
IConverter converter = getConverter(parameterType);
- if(converter != null) {
+ if (converter != null) {
return converter.convert(valueInstance);
} else {
throw new ConverterNotfoundException(parameterType, valueInstance);
}
}
-// /**
-// * Converts a parameter value into a list of values
-// *
-// * @param context
-// * the context of the evaluation of the query
-// * @param parameterType
-// * the type of the list
-// * @param parameterValue
-// * the parameter value to transform into a list
-// * @return the list of values contained by the parameter value
-// */
-// public List<?> convertToList(final EObject context, final Class<?> parameterType, final ParameterValue parameterValue) {
-// return new ConfigurationSwitch<List<?>>() {
-//
-// /**
-// * {@inheritDoc}
-// */
-// @Override
-// public java.util.List<?> caseConstantParameterValue(ConstantParameterValue constantParameterValue) {
-// IConverter converter = getConverter(parameterType);
-//
-// if(converter != null) {
-// return Arrays.asList(converter.convert(constantParameterValue.getValueInstance()));
-// } else {
-// Activator.log.error("Impossible to find a converter for type: " + parameterType, null);
-// return Collections.emptyList();
-// }
-// };
-//
-// /**
-// * {@inheritDoc}
-// */
-// @Override
-// public java.util.List<?> caseQueryExecutionValue(QueryExecutionValue queryExecutionValue) {
-// // if query returns a list, returns it, else creates an array of one element
-// QueryConfiguration queryConfiguration = queryExecutionValue.getConfiguration();
-// if(!(queryConfiguration instanceof ModiscoQueryConfiguration)) {
-// throw new RuntimeException("List conversion not implemented for this type of configuration. " + queryConfiguration.eClass().getName());
-// }
-// Object executionResult = null;
-// try {
-// executionResult = QueryUtil.evaluateBooleanQuery(context, queryConfiguration);
-// } catch (Exception e) {
-// Activator.log.error(e);
-// }
-// int upperBound = ((ModiscoQueryConfiguration)queryConfiguration).getQuery().getUpperBound();
-// if(upperBound == 1) {
-// return Arrays.asList(executionResult);
-// } else {
-// return (List<?>)executionResult;
-// }
-// };
-//
-// /**
-// * {@inheritDoc}
-// */
-// @Override
-// public java.util.List<?> caseListParameterValue(ListParameterValue listParameterValue) {
-// List<Object> values = new ArrayList<Object>();
-// for(ParameterValue parameterValue : listParameterValue.getValues()) {
-// values.addAll(convertToList(context, parameterType, parameterValue));
-// }
-// return values;
-// };
-//
-// }.doSwitch(parameterValue);
-// }
+ // /**
+ // * Converts a parameter value into a list of values
+ // *
+ // * @param context
+ // * the context of the evaluation of the query
+ // * @param parameterType
+ // * the type of the list
+ // * @param parameterValue
+ // * the parameter value to transform into a list
+ // * @return the list of values contained by the parameter value
+ // */
+ // public List<?> convertToList(final EObject context, final Class<?> parameterType, final ParameterValue parameterValue) {
+ // return new ConfigurationSwitch<List<?>>() {
+ //
+ // /**
+ // * {@inheritDoc}
+ // */
+ // @Override
+ // public java.util.List<?> caseConstantParameterValue(ConstantParameterValue constantParameterValue) {
+ // IConverter converter = getConverter(parameterType);
+ //
+ // if(converter != null) {
+ // return Arrays.asList(converter.convert(constantParameterValue.getValueInstance()));
+ // } else {
+ // Activator.log.error("Impossible to find a converter for type: " + parameterType, null);
+ // return Collections.emptyList();
+ // }
+ // };
+ //
+ // /**
+ // * {@inheritDoc}
+ // */
+ // @Override
+ // public java.util.List<?> caseQueryExecutionValue(QueryExecutionValue queryExecutionValue) {
+ // // if query returns a list, returns it, else creates an array of one element
+ // QueryConfiguration queryConfiguration = queryExecutionValue.getConfiguration();
+ // if(!(queryConfiguration instanceof ModiscoQueryConfiguration)) {
+ // throw new RuntimeException("List conversion not implemented for this type of configuration. " + queryConfiguration.eClass().getName());
+ // }
+ // Object executionResult = null;
+ // try {
+ // executionResult = QueryUtil.evaluateBooleanQuery(context, queryConfiguration);
+ // } catch (Exception e) {
+ // Activator.log.error(e);
+ // }
+ // int upperBound = ((ModiscoQueryConfiguration)queryConfiguration).getQuery().getUpperBound();
+ // if(upperBound == 1) {
+ // return Arrays.asList(executionResult);
+ // } else {
+ // return (List<?>)executionResult;
+ // }
+ // };
+ //
+ // /**
+ // * {@inheritDoc}
+ // */
+ // @Override
+ // public java.util.List<?> caseListParameterValue(ListParameterValue listParameterValue) {
+ // List<Object> values = new ArrayList<Object>();
+ // for(ParameterValue parameterValue : listParameterValue.getValues()) {
+ // values.addAll(convertToList(context, parameterType, parameterValue));
+ // }
+ // return values;
+ // };
+ //
+ // }.doSwitch(parameterValue);
+ // }
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToBooleanConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToBooleanConverter.java
index d5253cba6b9..50bf410e853 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToBooleanConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToBooleanConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,17 +30,18 @@ public class ObjectToBooleanConverter extends Converter implements IConverter {
/**
* {@inheritDoc}
*/
+ @Override
public Boolean convert(Object fromObject) {
- if(fromObject == null) {
+ if (fromObject == null) {
return null;
}
- if(fromObject instanceof Boolean) {
- return ((Boolean)fromObject);
+ if (fromObject instanceof Boolean) {
+ return ((Boolean) fromObject);
}
- if(fromObject instanceof String) {
- return Boolean.valueOf((String)fromObject);
+ if (fromObject instanceof String) {
+ return Boolean.valueOf((String) fromObject);
}
return null;
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToIntegerConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToIntegerConverter.java
index 795d3bcff06..e10febbdd80 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToIntegerConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ObjectToIntegerConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,17 +29,18 @@ public class ObjectToIntegerConverter extends Converter implements IConverter {
/**
* {@inheritDoc}
*/
+ @Override
public Integer convert(Object fromObject) {
- if(fromObject == null) {
+ if (fromObject == null) {
return null;
}
- if(fromObject instanceof Integer) {
- return (Integer)fromObject;
+ if (fromObject instanceof Integer) {
+ return (Integer) fromObject;
}
- if(fromObject instanceof String) {
- return Integer.parseInt((String)fromObject);
+ if (fromObject instanceof String) {
+ return Integer.parseInt((String) fromObject);
}
return null;
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToBooleanConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToBooleanConverter.java
index 316c55b4b97..c50b45f486f 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToBooleanConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToBooleanConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,8 +30,9 @@ public class ValueSpecificationToBooleanConverter extends Converter implements I
/**
* {@inheritDoc}
*/
+ @Override
public Object convert(Object fromObject) {
- return ((ValueSpecification)fromObject).booleanValue();
+ return ((ValueSpecification) fromObject).booleanValue();
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEENumConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEENumConverter.java
index 5e69b4d8e44..d569df6f7b8 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEENumConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEENumConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,34 +38,34 @@ public class ValueSpecificationToEENumConverter extends Converter implements ICo
/**
* {@inheritDoc}
*/
+ @Override
public Object convert(Object fromObject) {
- if(fromObject instanceof InstanceValue) {
- InstanceSpecification instanceSpecification = ((InstanceValue)fromObject).getInstance();
- if(instanceSpecification instanceof EnumerationLiteral) {
-
+ if (fromObject instanceof InstanceValue) {
+ InstanceSpecification instanceSpecification = ((InstanceValue) fromObject).getInstance();
+ if (instanceSpecification instanceof EnumerationLiteral) {
+
System.err.println(VisibilityKind.PRIVATE_LITERAL);
- Class<?> eclass = ((EnumerationLiteral)instanceSpecification).getEnumeration().eClass().getInstanceClass();
+ Class<?> eclass = ((EnumerationLiteral) instanceSpecification).getEnumeration().eClass().getInstanceClass();
System.err.println(eclass.getEnumConstants());
System.err.println(eclass);
-
-
-
-
-
-
-// final EEnumLiteral literal = eenum.getEEnumLiteral(umlLiteral.getName());
-// if(literal != null) {
-// return literal.getInstance();
-// }
-// return null;
-//
+
+
+
+
+
+ // final EEnumLiteral literal = eenum.getEEnumLiteral(umlLiteral.getName());
+ // if(literal != null) {
+ // return literal.getInstance();
+ // }
+ // return null;
+ //
System.err.println(instanceSpecification);
-
-
- //return ((EnumerationLiteral)instanceSpecification).;
+
+
+ // return ((EnumerationLiteral)instanceSpecification).;
}
}
-
+
return fromObject;
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEnumerationConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEnumerationConverter.java
index 92f5e460d44..e7bbeef7d31 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEnumerationConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToEnumerationConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -37,14 +37,15 @@ public class ValueSpecificationToEnumerationConverter extends Converter implemen
/**
* {@inheritDoc}
*/
+ @Override
public Object convert(Object fromObject) {
- if(fromObject instanceof InstanceValue) {
- InstanceSpecification instanceSpecification = ((InstanceValue)fromObject).getInstance();
- if(instanceSpecification instanceof EnumerationLiteral) {
- return ((EnumerationLiteral)instanceSpecification);
+ if (fromObject instanceof InstanceValue) {
+ InstanceSpecification instanceSpecification = ((InstanceValue) fromObject).getInstance();
+ if (instanceSpecification instanceof EnumerationLiteral) {
+ return (instanceSpecification);
}
}
-
+
return fromObject;
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToIntegerConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToIntegerConverter.java
index 084de0ece78..98df4ae9388 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToIntegerConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToIntegerConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,7 +30,8 @@ public class ValueSpecificationToIntegerConverter extends Converter implements I
/**
* {@inheritDoc}
*/
+ @Override
public Object convert(Object fromObject) {
- return ((ValueSpecification)fromObject).integerValue();
+ return ((ValueSpecification) fromObject).integerValue();
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToStringConverter.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToStringConverter.java
index 12222332688..1323d2233f9 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToStringConverter.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/converter/ValueSpecificationToStringConverter.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2010 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,8 +30,9 @@ public class ValueSpecificationToStringConverter extends Converter implements IC
/**
* {@inheritDoc}
*/
+ @Override
public Object convert(Object fromObject) {
- return ((ValueSpecification)fromObject).stringValue();
+ return ((ValueSpecification) fromObject).stringValue();
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationModelCreation.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationModelCreation.java
index d709ce447ee..5768bbd0993 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationModelCreation.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionConfigurationModelCreation.java
@@ -1,7 +1,6 @@
-
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,6 +22,7 @@ public class RuntimeValuesEditionActionConfigurationModelCreation implements IAc
/**
* {@inheritDoc}
*/
+ @Override
public RuntimeValuesEditionActionConfiguration createConfigurationModel() {
return RuntimeValuesEditionActionConfigurationFactory.eINSTANCE.createRuntimeValuesEditionActionConfiguration();
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionCreationElementValidator.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionCreationElementValidator.java
index 6e0279917f3..2840e67579a 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionCreationElementValidator.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionCreationElementValidator.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,6 +24,7 @@ public class RuntimeValuesEditionActionCreationElementValidator implements IActi
/**
* {@inheritDoc}
*/
+ @Override
public boolean canCreate(CreateElementRequest request) {
return true;
}
@@ -31,6 +32,7 @@ public class RuntimeValuesEditionActionCreationElementValidator implements IActi
/**
* {@inheritDoc}
*/
+ @Override
public void init(RuntimeValuesEditionActionConfiguration configuration) {
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionEditHelperAdvice.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionEditHelperAdvice.java
index 5a9b8495d47..5dfe294d9f2 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionEditHelperAdvice.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/runtimevalueseditionactionconfiguration/RuntimeValuesEditionActionEditHelperAdvice.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -46,12 +46,13 @@ public class RuntimeValuesEditionActionEditHelperAdvice extends AbstractEditHelp
/**
* {@inheritDoc}
*/
+ @Override
public void init(RuntimeValuesEditionActionConfiguration configuration) {
viewsToDisplay = new HashSet<View>();
- for(ViewToDisplay display : configuration.getViewsToDisplay()) {
+ for (ViewToDisplay display : configuration.getViewsToDisplay()) {
View view = display.getView();
- if(view!=null) {
- viewsToDisplay.add(view);
+ if (view != null) {
+ viewsToDisplay.add(view);
}
}
}
@@ -65,6 +66,7 @@ public class RuntimeValuesEditionActionEditHelperAdvice extends AbstractEditHelp
/**
* {@inheritDoc}
*/
+ @Override
public boolean approveRequest(IEditCommandRequest request) {
return super.approveRequest(request);
}
@@ -99,22 +101,22 @@ public class RuntimeValuesEditionActionEditHelperAdvice extends AbstractEditHelp
@Override
protected ICommand getAfterConfigureCommand(final ConfigureRequest request) {
final EObject elementToConfigure = request.getElementToConfigure();
- if(elementToConfigure==null) {
+ if (elementToConfigure == null) {
return null;
}
-
- return new AbstractTransactionalCommand(request.getEditingDomain(), "Editing "+EMFCoreUtil.getName(elementToConfigure), Collections.singletonList(WorkspaceSynchronizer.getFile((elementToConfigure.eResource())))) {
+
+ return new AbstractTransactionalCommand(request.getEditingDomain(), "Editing " + EMFCoreUtil.getName(elementToConfigure), Collections.singletonList(WorkspaceSynchronizer.getFile((elementToConfigure.eResource())))) {
/**
* {@inheritDoc}
*/
@Override
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
Set<View> viewsToDisplay = getViewsToDisplay();
- if(!viewsToDisplay.isEmpty()) {
+ if (!viewsToDisplay.isEmpty()) {
EditionDialog dialog = new EditionDialog(Display.getCurrent().getActiveShell()) {
-
+
};
- dialog.setTitle("Edit "+EMFCoreUtil.getName(elementToConfigure));
+ dialog.setTitle("Edit " + EMFCoreUtil.getName(elementToConfigure));
dialog.setViews(viewsToDisplay);
dialog.setInput(elementToConfigure);
@@ -124,10 +126,10 @@ public class RuntimeValuesEditionActionEditHelperAdvice extends AbstractEditHelp
return CommandResult.newOKCommandResult(elementToConfigure);
}
};
-
+
}
-
+
/**
* @return the viewsToDisplay
*/
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureValueUtils.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureValueUtils.java
index d26a56ddcd4..99770da1d53 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureValueUtils.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/FeatureValueUtils.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,10 +25,7 @@ import org.eclipse.papyrus.infra.extendedtypes.emf.converter.ConverterNotfoundEx
import org.eclipse.papyrus.infra.extendedtypes.emf.converter.ConverterRegistry;
import org.eclipse.papyrus.infra.extendedtypes.emf.setvaluesactionconfiguration.util.SetValuesActionConfigurationSwitch;
import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Enumeration;
-import org.eclipse.uml2.uml.InstanceSpecification;
import org.eclipse.uml2.uml.InstanceValue;
-import org.eclipse.uml2.uml.PrimitiveType;
import org.eclipse.uml2.uml.ValueSpecification;
@@ -42,14 +39,18 @@ public class FeatureValueUtils {
}
/**
- * Returns the value to set for a given feature of a given element
- * @param elementToConfigure eobject for which feature is set. This must not be <code>null</code>
- * @param feature {@link EStructuralFeature} to set. This must not be <code>null</code>
- * @param valueModel configuration of the value, stored in the model
+ * Returns the value to set for a given feature of a given element
+ *
+ * @param elementToConfigure
+ * eobject for which feature is set. This must not be <code>null</code>
+ * @param feature
+ * {@link EStructuralFeature} to set. This must not be <code>null</code>
+ * @param valueModel
+ * configuration of the value, stored in the model
* @return the real value that will be set to the object or <code>null</code> if none could be computed
*/
public static Object getValue(final EObject elementToConfigure, final EStructuralFeature feature, final FeatureValue featureValue) {
-
+
Object result = new SetValuesActionConfigurationSwitch<Object>() {
/**
* {@inheritDoc}
@@ -57,43 +58,43 @@ public class FeatureValueUtils {
@Override
public Object caseConstantValue(ConstantValue object) {
ValueSpecification valueSpecification = object.getValueInstance();
-
- if(valueSpecification==null) {
+
+ if (valueSpecification == null) {
return null;
}
try {
EClassifier type = feature.getEType();
- if(type instanceof EEnum) {
- String value = ((InstanceValue)valueSpecification).getInstance().getName();
- return ((EEnum)type).getEEnumLiteral(value).getInstance();
+ if (type instanceof EEnum) {
+ String value = ((InstanceValue) valueSpecification).getInstance().getName();
+ return ((EEnum) type).getEEnumLiteral(value).getInstance();
// return ConverterRegistry.getSingleton().convert(EEnum.class, valueSpecification);
- } else if(type instanceof EDataType) {
- final EDataType pType = (EDataType)type;
+ } else if (type instanceof EDataType) {
+ final EDataType pType = (EDataType) type;
final String name = pType.getName();
- if("Boolean".equals(name)) {
+ if ("Boolean".equals(name)) {
return ConverterRegistry.getSingleton().convert(boolean.class, valueSpecification);
- } else if("Integer".equals(name)) {
+ } else if ("Integer".equals(name)) {
return ConverterRegistry.getSingleton().convert(int.class, valueSpecification);
- } else if("Real".equals(name)) {
+ } else if ("Real".equals(name)) {
return ConverterRegistry.getSingleton().convert(double.class, valueSpecification);
- } else if("String".equals(name)) {
+ } else if ("String".equals(name)) {
return ConverterRegistry.getSingleton().convert(String.class, valueSpecification);
- } else if("UnlimitedNatural".equals(name)) {
+ } else if ("UnlimitedNatural".equals(name)) {
return ConverterRegistry.getSingleton().convert(int.class, valueSpecification);
- } else { //custom PrimitiveType
+ } else { // custom PrimitiveType
return ConverterRegistry.getSingleton().convert(String.class, valueSpecification);
}
- } else if(type instanceof DataType) {//FIXME manage the data type
+ } else if (type instanceof DataType) {// FIXME manage the data type
return ConverterRegistry.getSingleton().convert(String.class, valueSpecification);
- }
+ }
return ConverterRegistry.getSingleton().convert(feature.getEType().getInstanceClass(), valueSpecification);
} catch (ConverterNotfoundException e) {
- Activator.log.error("Impossible to convert "+valueSpecification+ " to fit feature type :"+feature, e);
+ Activator.log.error("Impossible to convert " + valueSpecification + " to fit feature type :" + feature, e);
}
return super.caseConstantValue(object);
}
-
+
/**
* {@inheritDoc}
*/
@@ -101,7 +102,7 @@ public class FeatureValueUtils {
public Object caseQueryExecutionValue(QueryExecutionValue object) {
throw new UnsupportedOperationException("Query execution values resolution has not been implemented yet");
};
-
+
/**
* {@inheritDoc}
*/
@@ -109,7 +110,7 @@ public class FeatureValueUtils {
public Object caseDynamicValue(DynamicValue object) {
throw new UnsupportedOperationException("Dynamic values resolution has not been implemented yet");
};
-
+
/**
* {@inheritDoc}
*/
@@ -117,16 +118,16 @@ public class FeatureValueUtils {
public Object caseListValue(ListValue object) {
// resolve one by one all features in the values list of this listvalue
List<Object> results = new ArrayList<Object>();
- for(FeatureValue value : object.getValues()) {
+ for (FeatureValue value : object.getValues()) {
Object singleResult = getValue(elementToConfigure, feature, value);
results.add(singleResult);
}
return results;
};
-
+
}.doSwitch(featureValue);
return result;
}
-
-
+
+
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationModelCreation.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationModelCreation.java
index d74773cccba..5af9e6fcb2a 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationModelCreation.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionConfigurationModelCreation.java
@@ -1,7 +1,6 @@
-
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -23,6 +22,7 @@ public class SetValuesActionConfigurationModelCreation implements IActionConfigu
/**
* {@inheritDoc}
*/
+ @Override
public SetValuesActionConfiguration createConfigurationModel() {
return SetValuesActionConfigurationFactory.eINSTANCE.createSetValuesActionConfiguration();
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionCreationElementValidator.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionCreationElementValidator.java
index bd969c6452c..9495c16b42a 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionCreationElementValidator.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionCreationElementValidator.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -24,6 +24,7 @@ public class SetValuesActionCreationElementValidator implements IActionCreationE
/**
* {@inheritDoc}
*/
+ @Override
public boolean canCreate(CreateElementRequest request) {
return true;
}
@@ -31,6 +32,7 @@ public class SetValuesActionCreationElementValidator implements IActionCreationE
/**
* {@inheritDoc}
*/
+ @Override
public void init(SetValuesActionConfiguration configuration) {
}
}
diff --git a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionEditHelperAdvice.java b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionEditHelperAdvice.java
index e27e08a6e78..3a34685e377 100644
--- a/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionEditHelperAdvice.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.extendedtypes.emf/src/org/eclipse/papyrus/infra/extendedtypes/emf/setvaluesactionconfiguration/SetValuesActionEditHelperAdvice.java
@@ -1,6 +1,6 @@
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,9 +35,9 @@ import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
public class SetValuesActionEditHelperAdvice extends AbstractEditHelperAdvice implements IActionEditHelperAdvice<SetValuesActionConfiguration> {
/** list of the features to set */
- //protected Map<String, FeatureValue> featuresToValues = null;
+ // protected Map<String, FeatureValue> featuresToValues = null;
/** list of runtime defined features */
- //protected Map<String, FeatureValue> featuresToRuntimeDefinitions = null;
+ // protected Map<String, FeatureValue> featuresToRuntimeDefinitions = null;
/** list of static defined features */
protected Map<String, FeatureValue> featuresToStaticDefinitions = null;
@@ -45,14 +45,15 @@ public class SetValuesActionEditHelperAdvice extends AbstractEditHelperAdvice im
/**
* {@inheritDoc}
*/
+ @Override
public void init(SetValuesActionConfiguration configuration) {
- //featuresToRuntimeDefinitions = new HashMap<String, FeatureValue>();
+ // featuresToRuntimeDefinitions = new HashMap<String, FeatureValue>();
featuresToStaticDefinitions = new HashMap<String, FeatureValue>();
- if(configuration == null) {
+ if (configuration == null) {
return;
}
- for(FeatureToSet featureToSet : configuration.getFeaturesToSet()) {
- featuresToStaticDefinitions.put(featureToSet.getFeatureName(), featureToSet.getValue());
+ for (FeatureToSet featureToSet : configuration.getFeaturesToSet()) {
+ featuresToStaticDefinitions.put(featureToSet.getFeatureName(), featureToSet.getValue());
}
}
@@ -65,6 +66,7 @@ public class SetValuesActionEditHelperAdvice extends AbstractEditHelperAdvice im
/**
* {@inheritDoc}
*/
+ @Override
public boolean approveRequest(IEditCommandRequest request) {
return super.approveRequest(request);
}
@@ -99,72 +101,72 @@ public class SetValuesActionEditHelperAdvice extends AbstractEditHelperAdvice im
@Override
protected ICommand getAfterConfigureCommand(ConfigureRequest request) {
ICommand resultCommand = null;
-
- // retrieve eobject
+
+ // retrieve eobject
EObject elementToConfigure = request.getElementToConfigure();
- if(elementToConfigure==null) {
+ if (elementToConfigure == null) {
return null;
}
// retrieve edit service to get features from configure command
IElementEditService service = ElementEditServiceUtils.getCommandProvider(elementToConfigure);
- if(service == null) {
- Activator.log.error("Impossible to get edit service from element: "+elementToConfigure, null);
+ if (service == null) {
+ Activator.log.error("Impossible to get edit service from element: " + elementToConfigure, null);
return null;
}
-
- for(Entry<String, FeatureValue> featureEntry: featuresToStaticDefinitions.entrySet()) {
+
+ for (Entry<String, FeatureValue> featureEntry : featuresToStaticDefinitions.entrySet()) {
// retrieve feature value
ICommand command = getSetFeatureValueCommand(elementToConfigure, featureEntry.getKey(), featureEntry.getValue(), service, request);
- if(command !=null) {
- if(resultCommand == null) {
- resultCommand = command;
+ if (command != null) {
+ if (resultCommand == null) {
+ resultCommand = command;
} else {
resultCommand = resultCommand.compose(command);
}
}
}
-
-// if(!featuresToRuntimeDefinitions.isEmpty()) {
-// ICommand command = getDynamicSetFeatureValueCommand(elementToConfigure, featuresToRuntimeDefinitions, service, request);
-// if(command !=null) {
-// if(resultCommand == null) {
-// resultCommand = command;
-// } else {
-// resultCommand = resultCommand.compose(command);
-// }
-// }
-// }
-
-
- if(resultCommand!=null) {
+
+ // if(!featuresToRuntimeDefinitions.isEmpty()) {
+ // ICommand command = getDynamicSetFeatureValueCommand(elementToConfigure, featuresToRuntimeDefinitions, service, request);
+ // if(command !=null) {
+ // if(resultCommand == null) {
+ // resultCommand = command;
+ // } else {
+ // resultCommand = resultCommand.compose(command);
+ // }
+ // }
+ // }
+
+
+ if (resultCommand != null) {
return resultCommand.reduce();
}
-
-
+
+
return super.getAfterConfigureCommand(request);
}
/**
* @param elementToConfigure
- * the eobject to configure
+ * the eobject to configure
* @param name
- * the name of the feature to set
+ * the name of the feature to set
* @param value
- * the new value of the feature
+ * the new value of the feature
*/
protected ICommand getSetFeatureValueCommand(EObject elementToConfigure, String name, FeatureValue featureValue, IElementEditService service, ConfigureRequest configureRequest) {
- if(name == null) {
+ if (name == null) {
Activator.log.debug("No feature name has been set.");
return null;
}
- if(elementToConfigure.eClass() == null) {
+ if (elementToConfigure.eClass() == null) {
Activator.log.error("Impossible to find EClass from EObject: " + elementToConfigure, null);
return null;
}
// retrieve structural feature for the element to configure
EStructuralFeature feature = elementToConfigure.eClass().getEStructuralFeature(name);
- if(feature == null) {
+ if (feature == null) {
Activator.log.error("Impossible to find feature " + name + " for eobject " + elementToConfigure, null);
return null;
}

Back to the top