diff options
Diffstat (limited to 'extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java')
-rw-r--r-- | extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java b/extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java index bbb3c07ac27..9c8a47837ca 100644 --- a/extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java +++ b/extraplugins/layers/org.eclipse.papyrus.layers.stackmodel/src/org/eclipse/papyrus/layers/stackmodel/layers/impl/TypeInstanceImpl.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Cedric Dumoulin - cedric.dumoulin@lifl.fr ******************************************************************************/ @@ -35,6 +35,7 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ protected TypeInstanceImpl() { @@ -44,6 +45,7 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override @@ -54,8 +56,10 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated NOT */ + @Override public TypeInstance getCmdValue() throws LayersException { // By default, we return the instance itself, as there // is nothing more to compute. @@ -65,8 +69,10 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ + @Override public void setValueFromString(String value) { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -76,8 +82,10 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ + @Override public void setValueFromInstance(TypeInstance value) { // TODO: implement this method // Ensure that you remove @generated or mark it @generated NOT @@ -87,26 +95,26 @@ public abstract class TypeInstanceImpl extends MinimalEObjectImpl.Container impl /** * <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @generated */ @Override public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { switch (operationID) { - case LayersPackage.TYPE_INSTANCE___GET_CMD_VALUE: - try { - return getCmdValue(); - } - catch (Throwable throwable) { - throw new InvocationTargetException(throwable); - } - case LayersPackage.TYPE_INSTANCE___SET_VALUE_FROM_STRING__STRING: - setValueFromString((String)arguments.get(0)); - return null; - case LayersPackage.TYPE_INSTANCE___SET_VALUE_FROM_INSTANCE__TYPEINSTANCE: - setValueFromInstance((TypeInstance)arguments.get(0)); - return null; + case LayersPackage.TYPE_INSTANCE___GET_CMD_VALUE: + try { + return getCmdValue(); + } catch (Throwable throwable) { + throw new InvocationTargetException(throwable); + } + case LayersPackage.TYPE_INSTANCE___SET_VALUE_FROM_STRING__STRING: + setValueFromString((String) arguments.get(0)); + return null; + case LayersPackage.TYPE_INSTANCE___SET_VALUE_FROM_INSTANCE__TYPEINSTANCE: + setValueFromInstance((TypeInstance) arguments.get(0)); + return null; } return super.eInvoke(operationID, arguments); } -} //TypeInstanceImpl +} // TypeInstanceImpl |