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/developer/org.eclipse.papyrus.domaincontextcodegen
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/developer/org.eclipse.papyrus.domaincontextcodegen')
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java4
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java16
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java6
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java36
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java554
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java15
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java44
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java12
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java31
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java97
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java95
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java38
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java71
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java307
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java65
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java440
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java121
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java89
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java123
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java42
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java50
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java149
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java81
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java73
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java254
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java745
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java745
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java4
52 files changed, 2595 insertions, 2471 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
index 2b6a5d440fc..20671a4e0c0 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddBindingsAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -31,7 +31,7 @@ public class AddBindingsAction implements IObjectActionDelegate {
ElementTypeBindings bindings = domain.getBindings().get(0);
Iterator<ElementType> it = eltTypes.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
ElementTypeBinding etb = DomaincontextcodegenFactory.eINSTANCE.createElementTypeBinding();
@@ -42,9 +42,9 @@ public class AddBindingsAction implements IObjectActionDelegate {
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof ElementTypes) {
- eltTypes = (ElementTypes)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof ElementTypes) {
+ eltTypes = (ElementTypes) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
index a9eedf1725b..3b3f288b12e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/AddVisibleCommandForChildrenAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -27,17 +27,17 @@ public class AddVisibleCommandForChildrenAction implements IObjectActionDelegate
public void run(IAction action) {
- DomainContext domain = (DomainContext)handlers.eContainer();
+ DomainContext domain = (DomainContext) handlers.eContainer();
ElementTypes types = domain.getElementTypes();
Iterator<ElementType> it = types.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
- if(elementType instanceof MetaClassType) {
- MetaClassType mClassType = (MetaClassType)elementType;
+ if (elementType instanceof MetaClassType) {
+ MetaClassType mClassType = (MetaClassType) elementType;
- if(!mClassType.getMetaClass().isAbstract()) {
+ if (!mClassType.getMetaClass().isAbstract()) {
handlers.getVisibleCreateChildHandlers().add(elementType);
}
}
@@ -45,9 +45,9 @@ public class AddVisibleCommandForChildrenAction implements IObjectActionDelegate
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof GenHandlers) {
- handlers = (GenHandlers)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof GenHandlers) {
+ handlers = (GenHandlers) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
index 15d43807e09..f429f977bd6 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/ElementTypeComparator.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -17,7 +17,7 @@ import java.util.Comparator;
/**
* Comparator for element type in order to sort them
- *
+ *
*/
public class ElementTypeComparator implements Comparator<ElementType> {
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
index c2ab43d652e..ce57de17756 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/GenerateElementTypeModelAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -27,10 +27,10 @@ import org.eclipse.ui.IWorkbenchPart;
/**
* <pre>
- *
+ *
* Automated generation of ElementTypes (in the domain model), an ElementType generated for
* each element of the domain model.
- *
+ *
* </pre>
*/
public class GenerateElementTypeModelAction implements IObjectActionDelegate {
@@ -45,16 +45,16 @@ public class GenerateElementTypeModelAction implements IObjectActionDelegate {
ElementTypes elementTypeList = DomaincontextcodegenFactory.eINSTANCE.createElementTypes();
selectedContext.setElementTypes(elementTypeList);
- if(selectedContext.getSpecializationOf() == null) {
- if(selectedContext.getMetamodel() != null) {
+ if (selectedContext.getSpecializationOf() == null) {
+ if (selectedContext.getMetamodel() != null) {
Iterator<EClassifier> iterClass = selectedContext.getMetamodel().getEClassifiers().iterator();
ArrayList<MetaClassType> result = new ArrayList<MetaClassType>();
- while(iterClass.hasNext()) {
- EClassifier eClassifier = (EClassifier)iterClass.next();
- if(eClassifier instanceof EClass) {
+ while (iterClass.hasNext()) {
+ EClassifier eClassifier = iterClass.next();
+ if (eClassifier instanceof EClass) {
MetaClassType elemenType = DomaincontextcodegenFactory.eINSTANCE.createMetaClassType();
- //elemenType.setHelper(selectedContext.getDefaultHelperPath());
- elemenType.setMetaClass((EClass)eClassifier);
+ // elemenType.setHelper(selectedContext.getDefaultHelperPath());
+ elemenType.setMetaClass((EClass) eClassifier);
elemenType.setIcon("platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/" + eClassifier.getName() + ".gif");
// Convert name to upper case with '_' separator between name parts e.g. NamedElement -> NAMED_ELEMENT
@@ -75,14 +75,14 @@ public class GenerateElementTypeModelAction implements IObjectActionDelegate {
}
}
- //to Do in the case of specialization with a profile
+ // to Do in the case of specialization with a profile
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof DomainContext) {
- selectedContext = (DomainContext)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof DomainContext) {
+ selectedContext = (DomainContext) ((IStructuredSelection) selection).getFirstElement();
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
index cffc723e95b..4110ae78123 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/actionsrc/org/eclipse/papyrus/domaincontextcodegen/SetUMLIconInElementTypesAction.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* 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
@@ -27,24 +27,24 @@ public class SetUMLIconInElementTypesAction implements IObjectActionDelegate {
public void run(IAction action) {
- DomainContext domain = (DomainContext)types.eContainer();
+ DomainContext domain = (DomainContext) types.eContainer();
ElementTypes types = domain.getElementTypes();
Iterator<ElementType> it = types.getTypes().iterator();
- while(it.hasNext()) {
+ while (it.hasNext()) {
ElementType elementType = it.next();
- if(elementType instanceof MetaClassType) {
- MetaClassType mClassType = (MetaClassType)elementType;
+ if (elementType instanceof MetaClassType) {
+ MetaClassType mClassType = (MetaClassType) elementType;
mClassType.setIcon("platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/" + mClassType.getName() + ".gif");
}
}
}
public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- if(((IStructuredSelection)selection).getFirstElement() instanceof ElementTypes) {
- types = (ElementTypes)((IStructuredSelection)selection).getFirstElement();
+ if (selection instanceof IStructuredSelection) {
+ if (((IStructuredSelection) selection).getFirstElement() instanceof ElementTypes) {
+ types = (ElementTypes) ((IStructuredSelection) selection).getFirstElement();
}
}
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
index 0618599ee1c..50c2fc11b19 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Advice.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Advice</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -22,7 +22,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice()
* @model
* @generated
@@ -36,7 +36,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Advice ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Advice ID</em>' attribute.
* @see #setAdviceID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_AdviceID()
@@ -49,9 +49,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Advice ID</em>' attribute.
+ * the new value of the '<em>Advice ID</em>' attribute.
* @see #getAdviceID()
* @generated
*/
@@ -64,7 +64,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_Ref()
@@ -77,9 +77,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
@@ -92,7 +92,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Advice Path</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Advice Path</em>' attribute.
* @see #setAdvicePath(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdvice_AdvicePath()
@@ -105,9 +105,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Advice Path</em>' attribute.
+ * the new value of the '<em>Advice Path</em>' attribute.
* @see #getAdvicePath()
* @generated
*/
@@ -121,7 +121,7 @@ public interface Advice extends EObject {
* If the meaning of the '<em>Inheritance</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Inheritance</em>' attribute.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see #setInheritance(InheritanceKind)
@@ -135,9 +135,9 @@ public interface Advice extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Inheritance</em>' attribute.
+ * the new value of the '<em>Inheritance</em>' attribute.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see #getInheritance()
* @generated
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
index 40b4054eb0f..890959254dd 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/AdviceBinding.java
@@ -10,14 +10,14 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Advice Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdviceBinding()
* @model
* @generated
@@ -31,7 +31,7 @@ public interface AdviceBinding extends Binding {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(Advice)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getAdviceBinding_Ref()
@@ -44,9 +44,9 @@ public interface AdviceBinding extends Binding {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
index 30bc2bab622..260e6065e3d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Binding.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding()
* @model abstract="true"
* @generated
@@ -35,7 +35,7 @@ public interface Binding extends EObject {
* If the meaning of the '<em>Owner</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Owner</em>' container reference.
* @see #setOwner(ElementTypeBindings)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding_Owner()
@@ -49,9 +49,9 @@ public interface Binding extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner <em>Owner</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Owner</em>' container reference.
+ * the new value of the '<em>Owner</em>' container reference.
* @see #getOwner()
* @generated
*/
@@ -64,7 +64,7 @@ public interface Binding extends EObject {
* If the meaning of the '<em>Pattern</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Pattern</em>' attribute.
* @see #setPattern(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getBinding_Pattern()
@@ -77,9 +77,9 @@ public interface Binding extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Pattern</em>' attribute.
+ * the new value of the '<em>Pattern</em>' attribute.
* @see #getPattern()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
index 34d025f0cdb..66b6c8241f8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/Command.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Command</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface Command extends EObject {
* If the meaning of the '<em>Element Type</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type</em>' reference.
* @see #setElementType(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand_ElementType()
@@ -47,9 +47,9 @@ public interface Command extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getElementType <em>Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type</em>' reference.
+ * the new value of the '<em>Element Type</em>' reference.
* @see #getElementType()
* @generated
*/
@@ -62,7 +62,7 @@ public interface Command extends EObject {
* If the meaning of the '<em>Icon</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Icon</em>' attribute.
* @see #setIcon(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommand_Icon()
@@ -75,9 +75,9 @@ public interface Command extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Icon</em>' attribute.
+ * the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
index 53c334e7580..cb2eebd0c78 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/CommandDeclaration.java
@@ -13,14 +13,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Command Declaration</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommandDeclaration()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface CommandDeclaration extends EObject {
* If the meaning of the '<em>Commands</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>Commands</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getCommandDeclaration_Commands()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
index 6dc8f1de955..58f1fe5f643 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomainContext.java
@@ -14,7 +14,7 @@ import org.eclipse.emf.ecore.EPackage;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Domain Context</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -35,7 +35,7 @@ import org.eclipse.emf.ecore.EPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getCommand <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext()
* @model
* @generated
@@ -49,7 +49,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Type Project 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>Type Project Name</em>' attribute.
* @see #setTypeProjectName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_TypeProjectName()
@@ -62,9 +62,9 @@ public interface DomainContext extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getTypeProjectName <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Type Project Name</em>' attribute.
+ * the new value of the '<em>Type Project Name</em>' attribute.
* @see #getTypeProjectName()
* @generated
*/
@@ -77,7 +77,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Handler Project 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>Handler Project Name</em>' attribute.
* @see #setHandlerProjectName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_HandlerProjectName()
@@ -91,9 +91,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Handler Project Name</em>' attribute.
+ * the new value of the '<em>Handler Project Name</em>' attribute.
* @see #getHandlerProjectName()
* @generated
*/
@@ -106,7 +106,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>IClient Context ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>IClient Context ID</em>' attribute.
* @see #setIClientContextID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_IClientContextID()
@@ -120,9 +120,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>IClient Context ID</em>' attribute.
+ * the new value of the '<em>IClient Context ID</em>' attribute.
* @see #getIClientContextID()
* @generated
*/
@@ -135,7 +135,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Metamodel</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Metamodel</em>' reference.
* @see #setMetamodel(EPackage)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Metamodel()
@@ -148,9 +148,9 @@ public interface DomainContext extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Metamodel</em>' reference.
+ * the new value of the '<em>Metamodel</em>' reference.
* @see #getMetamodel()
* @generated
*/
@@ -163,7 +163,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Specialization Of</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Specialization Of</em>' reference.
* @see #setSpecializationOf(DomainContext)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_SpecializationOf()
@@ -177,9 +177,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Specialization Of</em>' reference.
+ * the new value of the '<em>Specialization Of</em>' reference.
* @see #getSpecializationOf()
* @generated
*/
@@ -192,7 +192,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Type ID Prefix</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type ID Prefix</em>' attribute.
* @see #setElementTypeIDPrefix(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypeIDPrefix()
@@ -206,9 +206,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type ID Prefix</em>' attribute.
+ * the new value of the '<em>Element Type ID Prefix</em>' attribute.
* @see #getElementTypeIDPrefix()
* @generated
*/
@@ -221,7 +221,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Type Name Prefix</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Name Prefix</em>' attribute.
* @see #setElementTypeNamePrefix(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypeNamePrefix()
@@ -235,9 +235,9 @@ public interface DomainContext extends EObject {
* <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Name Prefix</em>' attribute.
+ * the new value of the '<em>Element Type Name Prefix</em>' attribute.
* @see #getElementTypeNamePrefix()
* @generated
*/
@@ -251,7 +251,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Element Types</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>Element Types</em>' containment reference.
* @see #setElementTypes(ElementTypes)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_ElementTypes()
@@ -266,9 +266,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Types</em>' containment reference.
+ * the new value of the '<em>Element Types</em>' containment reference.
* @see #getElementTypes()
* @generated
*/
@@ -281,7 +281,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Default Helper Path</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Default Helper Path</em>' attribute.
* @see #setDefaultHelperPath(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_DefaultHelperPath()
@@ -295,9 +295,9 @@ public interface DomainContext extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Default Helper Path</em>' attribute.
+ * the new value of the '<em>Default Helper Path</em>' attribute.
* @see #getDefaultHelperPath()
* @generated
*/
@@ -311,7 +311,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Advices</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>Advices</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Advices()
* @model containment="true"
@@ -327,7 +327,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Bindings</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Bindings</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Bindings()
* @model containment="true"
@@ -342,7 +342,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Gen Handlers</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>Gen Handlers</em>' containment reference.
* @see #setGenHandlers(GenHandlers)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_GenHandlers()
@@ -356,9 +356,9 @@ public interface DomainContext extends EObject {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Handlers</em>' containment reference.
+ * the new value of the '<em>Gen Handlers</em>' containment reference.
* @see #getGenHandlers()
* @generated
*/
@@ -371,7 +371,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Generated Source Folder</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Generated Source Folder</em>' attribute.
* @see #setGeneratedSourceFolder(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_GeneratedSourceFolder()
@@ -381,13 +381,12 @@ public interface DomainContext extends EObject {
String getGeneratedSourceFolder();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder <em>Generated Source Folder</em>}
- * ' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder <em>Generated Source Folder</em>} ' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Generated Source Folder</em>' attribute.
+ * the new value of the '<em>Generated Source Folder</em>' attribute.
* @see #getGeneratedSourceFolder()
* @generated
*/
@@ -401,7 +400,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Menu</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>Menu</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Menu()
* @model containment="true"
@@ -417,7 +416,7 @@ public interface DomainContext extends EObject {
* If the meaning of the '<em>Command</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>Command</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getDomainContext_Command()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
index fb4c2f4ced8..28127e484c8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenFactory.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -23,7 +23,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
DomaincontextcodegenFactory eINSTANCE = org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenFactoryImpl.init();
@@ -32,7 +32,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Domain Context</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Domain Context</em>'.
* @generated
*/
@@ -42,7 +42,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Types</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Types</em>'.
* @generated
*/
@@ -52,7 +52,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Meta Class Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Meta Class Type</em>'.
* @generated
*/
@@ -62,7 +62,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Specialization Type</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specialization Type</em>'.
* @generated
*/
@@ -72,7 +72,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Advice</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Advice</em>'.
* @generated
*/
@@ -82,7 +82,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Type Bindings</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Type Bindings</em>'.
* @generated
*/
@@ -92,7 +92,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Element Type Binding</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Element Type Binding</em>'.
* @generated
*/
@@ -102,7 +102,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Advice Binding</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Advice Binding</em>'.
* @generated
*/
@@ -112,7 +112,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Gen Handlers</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Gen Handlers</em>'.
* @generated
*/
@@ -122,7 +122,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Stereotyped Element Matcher</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Stereotyped Element Matcher</em>'.
* @generated
*/
@@ -132,7 +132,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Stereotyped Element Helper</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Stereotyped Element Helper</em>'.
* @generated
*/
@@ -142,7 +142,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Menu Declaration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Menu Declaration</em>'.
* @generated
*/
@@ -152,7 +152,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Command Declaration</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Command Declaration</em>'.
* @generated
*/
@@ -162,7 +162,7 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns a new object of class '<em>Command</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Command</em>'.
* @generated
*/
@@ -172,10 +172,10 @@ public interface DomaincontextcodegenFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
DomaincontextcodegenPackage getDomaincontextcodegenPackage();
-} //DomaincontextcodegenFactory
+} // DomaincontextcodegenFactory
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
index 937b11a9770..489ce80081e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/DomaincontextcodegenPackage.java
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenFactory
* @model kind="package"
* @generated
@@ -34,7 +34,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "domaincontextcodegen";
@@ -43,7 +43,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/2010/domaincontextcodegen";
@@ -52,7 +52,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "domaincontextcodegen";
@@ -61,7 +61,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
DomaincontextcodegenPackage eINSTANCE = org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl.init();
@@ -70,7 +70,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl <em>Domain Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getDomainContext()
* @generated
@@ -81,7 +81,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Type Project Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -91,7 +91,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Handler Project Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -101,7 +101,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>IClient Context ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -111,7 +111,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Metamodel</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -121,7 +121,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Specialization Of</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -131,7 +131,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type ID Prefix</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -141,7 +141,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Name Prefix</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -151,7 +151,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Types</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -161,7 +161,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Default Helper Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -171,7 +171,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advices</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -181,7 +181,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Bindings</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -191,7 +191,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Handlers</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -201,7 +201,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Generated Source Folder</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -211,7 +211,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Menu</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -221,7 +221,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Command</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -231,7 +231,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Domain Context</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -241,7 +241,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl <em>Element Types</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypes()
* @generated
@@ -252,7 +252,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Types</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -262,7 +262,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Domain</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -272,7 +272,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Types</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -282,7 +282,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl <em>Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementType()
* @generated
@@ -293,7 +293,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -303,7 +303,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -313,7 +313,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -323,7 +323,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -333,7 +333,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -343,7 +343,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl <em>Meta Class Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMetaClassType()
* @generated
@@ -354,7 +354,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -364,7 +364,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -374,7 +374,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -384,7 +384,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -394,7 +394,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Meta Class</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -404,7 +404,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Meta Class Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -414,7 +414,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl <em>Specialization Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getSpecializationType()
* @generated
@@ -425,7 +425,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -435,7 +435,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Helper</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -445,7 +445,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -455,7 +455,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -465,7 +465,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -475,7 +475,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Matcher</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -485,7 +485,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Matcher</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -495,7 +495,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Gen Helper</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -505,7 +505,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Specialization Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -515,7 +515,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl <em>Advice</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdvice()
* @generated
@@ -526,7 +526,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advice ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -536,7 +536,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -546,7 +546,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Advice Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -556,7 +556,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Inheritance</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -566,7 +566,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Advice</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -577,7 +577,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBindings()
* @generated
@@ -588,7 +588,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Client Context ID</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -598,7 +598,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Bindings</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -608,7 +608,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type Bindings</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -618,7 +618,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl <em>Advice Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdviceBinding()
* @generated
@@ -629,7 +629,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl <em>Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getBinding()
* @generated
@@ -640,7 +640,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -650,7 +650,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -660,7 +660,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -670,7 +670,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBinding()
* @generated
@@ -681,7 +681,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -691,7 +691,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -701,7 +701,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -711,7 +711,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Element Type Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -721,7 +721,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Owner</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -731,7 +731,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Pattern</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -741,7 +741,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -751,7 +751,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Advice Binding</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -761,7 +761,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl <em>Gen Handlers</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHandlers()
* @generated
@@ -772,7 +772,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Handler Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -782,7 +782,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Super Class</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -792,7 +792,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Super Class Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -802,7 +802,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Enumerator</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -812,7 +812,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type Enumerator Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -822,7 +822,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Visible Create Child Handlers</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -832,7 +832,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Parent Domain Create Child</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -842,7 +842,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Create Child Menu Location URI</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -852,7 +852,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Handlers</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -862,7 +862,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl <em>Gen Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenMatcher()
* @generated
@@ -873,7 +873,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -883,7 +883,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Matcher</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -893,7 +893,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl <em>Gen Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHelper()
* @generated
@@ -904,7 +904,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -914,7 +914,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Gen Helper</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -925,7 +925,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementMatcher()
* @generated
@@ -936,7 +936,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -946,7 +946,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -956,7 +956,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -966,7 +966,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -976,7 +976,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -986,7 +986,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Stereotyped Element Matcher</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -997,7 +997,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementHelper()
* @generated
@@ -1008,7 +1008,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1018,7 +1018,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1028,7 +1028,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Stereotype Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1038,7 +1038,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1048,7 +1048,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Base Element Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1058,7 +1058,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Stereotyped Element Helper</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1068,7 +1068,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl <em>Menu Declaration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMenuDeclaration()
* @generated
@@ -1079,7 +1079,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Location URI</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1089,7 +1089,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Commands</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1099,7 +1099,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Menu Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1109,7 +1109,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl <em>Command Declaration</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommandDeclaration()
* @generated
@@ -1120,7 +1120,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Commands</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1130,7 +1130,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Command Declaration</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1140,7 +1140,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl <em>Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommand()
* @generated
@@ -1151,7 +1151,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Element Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1161,7 +1161,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The feature id for the '<em><b>Icon</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1171,7 +1171,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The number of structural features of the '<em>Command</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1181,7 +1181,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getInheritanceKind()
* @generated
@@ -1192,7 +1192,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext <em>Domain Context</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Domain Context</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext
* @generated
@@ -1204,7 +1204,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Type Project Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Type Project Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getTypeProjectName()
* @see #getDomainContext()
@@ -1217,7 +1217,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Handler Project Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Handler Project Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getHandlerProjectName()
* @see #getDomainContext()
@@ -1230,7 +1230,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>IClient Context ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>IClient Context ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getIClientContextID()
* @see #getDomainContext()
@@ -1242,7 +1242,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel <em>Metamodel</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Metamodel</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMetamodel()
* @see #getDomainContext()
@@ -1255,7 +1255,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Specialization Of</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Specialization Of</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getSpecializationOf()
* @see #getDomainContext()
@@ -1268,7 +1268,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type ID Prefix</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type ID Prefix</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypeIDPrefix()
* @see #getDomainContext()
@@ -1281,7 +1281,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Name Prefix</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Name Prefix</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypeNamePrefix()
* @see #getDomainContext()
@@ -1294,7 +1294,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Element Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes()
* @see #getDomainContext()
@@ -1307,7 +1307,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Default Helper Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Default Helper Path</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getDefaultHelperPath()
* @see #getDomainContext()
@@ -1320,7 +1320,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Advices</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Advices</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getAdvices()
* @see #getDomainContext()
@@ -1333,7 +1333,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getBindings()
* @see #getDomainContext()
@@ -1346,7 +1346,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGenHandlers()
* @see #getDomainContext()
@@ -1359,7 +1359,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Generated Source Folder</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Generated Source Folder</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getGeneratedSourceFolder()
* @see #getDomainContext()
@@ -1372,7 +1372,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Menu</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Menu</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getMenu()
* @see #getDomainContext()
@@ -1385,7 +1385,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Command</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext#getCommand()
* @see #getDomainContext()
@@ -1397,7 +1397,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes <em>Element Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes
* @generated
@@ -1409,7 +1409,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Types</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getTypes()
* @see #getElementTypes()
@@ -1421,7 +1421,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Domain</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain()
* @see #getElementTypes()
@@ -1433,7 +1433,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType <em>Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType
* @generated
@@ -1444,7 +1444,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getName()
* @see #getElementType()
@@ -1456,7 +1456,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper <em>Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper()
* @see #getElementType()
@@ -1468,7 +1468,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner <em>Owner</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Owner</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner()
* @see #getElementType()
@@ -1480,7 +1480,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Icon</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon()
* @see #getElementType()
@@ -1492,7 +1492,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType <em>Meta Class Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Meta Class Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType
* @generated
@@ -1503,7 +1503,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Meta Class</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass()
* @see #getMetaClassType()
@@ -1515,7 +1515,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specialization Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType
* @generated
@@ -1526,7 +1526,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef()
* @see #getSpecializationType()
@@ -1538,7 +1538,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher <em>Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher()
* @see #getSpecializationType()
@@ -1551,7 +1551,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenMatcher()
* @see #getSpecializationType()
@@ -1564,7 +1564,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Gen Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Gen Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenHelper()
* @see #getSpecializationType()
@@ -1576,7 +1576,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Advice <em>Advice</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Advice</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice
* @generated
@@ -1587,7 +1587,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID <em>Advice ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Advice ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getAdviceID()
* @see #getAdvice()
@@ -1599,7 +1599,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getRef()
* @see #getAdvice()
@@ -1611,7 +1611,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath <em>Advice Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Advice Path</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getAdvicePath()
* @see #getAdvice()
@@ -1623,7 +1623,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance <em>Inheritance</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Inheritance</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice#getInheritance()
* @see #getAdvice()
@@ -1635,7 +1635,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings <em>Element Type Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings
* @generated
@@ -1647,7 +1647,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Client Context ID</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Client Context ID</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getClientContextID()
* @see #getElementTypeBindings()
@@ -1660,7 +1660,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Bindings</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Bindings</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getBindings()
* @see #getElementTypeBindings()
@@ -1672,7 +1672,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding <em>Advice Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Advice Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding
* @generated
@@ -1683,7 +1683,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding#getRef()
* @see #getAdviceBinding()
@@ -1695,7 +1695,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Binding <em>Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding
* @generated
@@ -1706,7 +1706,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner <em>Owner</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the container reference '<em>Owner</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner()
* @see #getBinding()
@@ -1718,7 +1718,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern <em>Pattern</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Pattern</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getPattern()
* @see #getBinding()
@@ -1730,7 +1730,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Element Type Binding</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding
* @generated
@@ -1741,7 +1741,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Ref</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef()
* @see #getElementTypeBinding()
@@ -1753,7 +1753,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers <em>Gen Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers
* @generated
@@ -1765,7 +1765,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Handler Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Handler Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getHandlerPackage()
* @see #getGenHandlers()
@@ -1777,7 +1777,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass <em>Super Class</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Super Class</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass()
* @see #getGenHandlers()
@@ -1790,7 +1790,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Super Class Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Super Class Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClassPackage()
* @see #getGenHandlers()
@@ -1803,7 +1803,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Enumerator</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Enumerator</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getElementTypeEnumerator()
* @see #getGenHandlers()
@@ -1816,7 +1816,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Enumerator Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Element Type Enumerator Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getElementTypeEnumeratorPackage()
* @see #getGenHandlers()
@@ -1829,7 +1829,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Visible Create Child Handlers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Visible Create Child Handlers</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getVisibleCreateChildHandlers()
* @see #getGenHandlers()
@@ -1842,7 +1842,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Parent Domain Create Child</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Parent Domain Create Child</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getParentDomainCreateChild()
* @see #getGenHandlers()
@@ -1855,7 +1855,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Create Child Menu Location URI</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Create Child Menu Location URI</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getCreateChildMenuLocationURI()
* @see #getGenHandlers()
@@ -1867,7 +1867,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher <em>Gen Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher
* @generated
@@ -1878,7 +1878,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName()
* @see #getGenMatcher()
@@ -1890,7 +1890,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper <em>Gen Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper
* @generated
@@ -1901,7 +1901,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName()
* @see #getGenHelper()
@@ -1914,7 +1914,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Stereotyped Element Matcher</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher
* @generated
@@ -1926,7 +1926,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getStereotypeName()
* @see #getStereotypedElementMatcher()
@@ -1939,7 +1939,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getStereotypePackage()
* @see #getStereotypedElementMatcher()
@@ -1952,7 +1952,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName()
* @see #getStereotypedElementMatcher()
@@ -1965,7 +1965,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementPackage()
* @see #getStereotypedElementMatcher()
@@ -1978,7 +1978,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Stereotyped Element Helper</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper
* @generated
@@ -1990,7 +1990,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getStereotypeName()
* @see #getStereotypedElementHelper()
@@ -2003,7 +2003,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotype Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Stereotype Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getStereotypePackage()
* @see #getStereotypedElementHelper()
@@ -2016,7 +2016,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Name</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementName()
* @see #getStereotypedElementHelper()
@@ -2029,7 +2029,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Base Element Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Element Package</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementPackage()
* @see #getStereotypedElementHelper()
@@ -2041,7 +2041,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration <em>Menu Declaration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Menu Declaration</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration
* @generated
@@ -2053,7 +2053,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Location URI</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Location URI</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getLocationURI()
* @see #getMenuDeclaration()
@@ -2062,11 +2062,10 @@ public interface DomaincontextcodegenPackage extends EPackage {
EAttribute getMenuDeclaration_LocationURI();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>}
- * '.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>} '.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Commands</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands()
* @see #getMenuDeclaration()
@@ -2078,7 +2077,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Command Declaration</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration
* @generated
@@ -2090,7 +2089,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Commands</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Commands</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration#getCommands()
* @see #getCommandDeclaration()
@@ -2102,7 +2101,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.domaincontextcodegen.Command <em>Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Command</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command
* @generated
@@ -2113,7 +2112,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getElementType <em>Element Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Element Type</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command#getElementType()
* @see #getCommand()
@@ -2125,7 +2124,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.domaincontextcodegen.Command#getIcon <em>Icon</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Icon</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.Command#getIcon()
* @see #getCommand()
@@ -2137,7 +2136,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* Returns the meta object for enum '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for enum '<em>Inheritance Kind</em>'.
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @generated
@@ -2148,7 +2147,7 @@ public interface DomaincontextcodegenPackage 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
*/
@@ -2164,7 +2163,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
interface Literals {
@@ -2173,7 +2172,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl <em>Domain Context</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getDomainContext()
* @generated
@@ -2184,7 +2183,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Type Project Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__TYPE_PROJECT_NAME = eINSTANCE.getDomainContext_TypeProjectName();
@@ -2193,7 +2192,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Handler Project Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__HANDLER_PROJECT_NAME = eINSTANCE.getDomainContext_HandlerProjectName();
@@ -2202,7 +2201,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>IClient Context ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID = eINSTANCE.getDomainContext_IClientContextID();
@@ -2211,7 +2210,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Metamodel</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__METAMODEL = eINSTANCE.getDomainContext_Metamodel();
@@ -2220,7 +2219,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Specialization Of</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__SPECIALIZATION_OF = eINSTANCE.getDomainContext_SpecializationOf();
@@ -2229,7 +2228,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type ID Prefix</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX = eINSTANCE.getDomainContext_ElementTypeIDPrefix();
@@ -2238,7 +2237,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Name Prefix</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX = eINSTANCE.getDomainContext_ElementTypeNamePrefix();
@@ -2247,7 +2246,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Types</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__ELEMENT_TYPES = eINSTANCE.getDomainContext_ElementTypes();
@@ -2256,7 +2255,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Default Helper Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__DEFAULT_HELPER_PATH = eINSTANCE.getDomainContext_DefaultHelperPath();
@@ -2265,7 +2264,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advices</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__ADVICES = eINSTANCE.getDomainContext_Advices();
@@ -2274,7 +2273,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Bindings</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__BINDINGS = eINSTANCE.getDomainContext_Bindings();
@@ -2283,7 +2282,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Handlers</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__GEN_HANDLERS = eINSTANCE.getDomainContext_GenHandlers();
@@ -2292,7 +2291,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Generated Source Folder</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER = eINSTANCE.getDomainContext_GeneratedSourceFolder();
@@ -2301,7 +2300,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Menu</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__MENU = eINSTANCE.getDomainContext_Menu();
@@ -2310,7 +2309,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Command</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference DOMAIN_CONTEXT__COMMAND = eINSTANCE.getDomainContext_Command();
@@ -2319,7 +2318,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl <em>Element Types</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypes()
* @generated
@@ -2330,7 +2329,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Types</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPES__TYPES = eINSTANCE.getElementTypes_Types();
@@ -2339,7 +2338,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Domain</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPES__DOMAIN = eINSTANCE.getElementTypes_Domain();
@@ -2348,7 +2347,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl <em>Element Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementType()
* @generated
@@ -2359,7 +2358,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__NAME = eINSTANCE.getElementType_Name();
@@ -2368,7 +2367,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Helper</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__HELPER = eINSTANCE.getElementType_Helper();
@@ -2377,7 +2376,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Owner</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE__OWNER = eINSTANCE.getElementType_Owner();
@@ -2386,7 +2385,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE__ICON = eINSTANCE.getElementType_Icon();
@@ -2395,7 +2394,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl <em>Meta Class Type</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMetaClassType()
* @generated
@@ -2406,7 +2405,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Meta Class</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference META_CLASS_TYPE__META_CLASS = eINSTANCE.getMetaClassType_MetaClass();
@@ -2416,7 +2415,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getSpecializationType()
* @generated
@@ -2427,7 +2426,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__REF = eINSTANCE.getSpecializationType_Ref();
@@ -2436,7 +2435,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Matcher</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute SPECIALIZATION_TYPE__MATCHER = eINSTANCE.getSpecializationType_Matcher();
@@ -2445,7 +2444,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Matcher</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__GEN_MATCHER = eINSTANCE.getSpecializationType_GenMatcher();
@@ -2454,7 +2453,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Helper</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIALIZATION_TYPE__GEN_HELPER = eINSTANCE.getSpecializationType_GenHelper();
@@ -2463,7 +2462,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl <em>Advice</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdvice()
* @generated
@@ -2474,7 +2473,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advice ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__ADVICE_ID = eINSTANCE.getAdvice_AdviceID();
@@ -2483,7 +2482,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ADVICE__REF = eINSTANCE.getAdvice_Ref();
@@ -2492,7 +2491,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Advice Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__ADVICE_PATH = eINSTANCE.getAdvice_AdvicePath();
@@ -2501,7 +2500,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Inheritance</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADVICE__INHERITANCE = eINSTANCE.getAdvice_Inheritance();
@@ -2511,7 +2510,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Element Type Bindings</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBindings()
* @generated
@@ -2522,7 +2521,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Client Context ID</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID = eINSTANCE.getElementTypeBindings_ClientContextID();
@@ -2531,7 +2530,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Bindings</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE_BINDINGS__BINDINGS = eINSTANCE.getElementTypeBindings_Bindings();
@@ -2540,7 +2539,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl <em>Advice Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getAdviceBinding()
* @generated
@@ -2551,7 +2550,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ADVICE_BINDING__REF = eINSTANCE.getAdviceBinding_Ref();
@@ -2560,7 +2559,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl <em>Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getBinding()
* @generated
@@ -2571,7 +2570,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Owner</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference BINDING__OWNER = eINSTANCE.getBinding_Owner();
@@ -2580,17 +2579,16 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Pattern</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute BINDING__PATTERN = eINSTANCE.getBinding_Pattern();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>}
- * ' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl <em>Element Type Binding</em>} ' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getElementTypeBinding()
* @generated
@@ -2601,7 +2599,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Ref</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ELEMENT_TYPE_BINDING__REF = eINSTANCE.getElementTypeBinding_Ref();
@@ -2610,7 +2608,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl <em>Gen Handlers</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHandlers()
* @generated
@@ -2621,7 +2619,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Handler Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__HANDLER_PACKAGE = eINSTANCE.getGenHandlers_HandlerPackage();
@@ -2630,7 +2628,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Super Class</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__SUPER_CLASS = eINSTANCE.getGenHandlers_SuperClass();
@@ -2639,7 +2637,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Super Class Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__SUPER_CLASS_PACKAGE = eINSTANCE.getGenHandlers_SuperClassPackage();
@@ -2648,7 +2646,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Enumerator</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR = eINSTANCE.getGenHandlers_ElementTypeEnumerator();
@@ -2657,7 +2655,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type Enumerator Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE = eINSTANCE.getGenHandlers_ElementTypeEnumeratorPackage();
@@ -2666,7 +2664,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Visible Create Child Handlers</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS = eINSTANCE.getGenHandlers_VisibleCreateChildHandlers();
@@ -2675,7 +2673,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Parent Domain Create Child</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD = eINSTANCE.getGenHandlers_ParentDomainCreateChild();
@@ -2684,7 +2682,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Create Child Menu Location URI</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI = eINSTANCE.getGenHandlers_CreateChildMenuLocationURI();
@@ -2693,7 +2691,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl <em>Gen Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenMatcher()
* @generated
@@ -2704,7 +2702,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_MATCHER__NAME = eINSTANCE.getGenMatcher_Name();
@@ -2713,7 +2711,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl <em>Gen Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getGenHelper()
* @generated
@@ -2724,7 +2722,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_HELPER__NAME = eINSTANCE.getGenHelper_Name();
@@ -2734,7 +2732,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Matcher</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementMatcher()
* @generated
@@ -2745,7 +2743,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME = eINSTANCE.getStereotypedElementMatcher_StereotypeName();
@@ -2754,7 +2752,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE = eINSTANCE.getStereotypedElementMatcher_StereotypePackage();
@@ -2763,7 +2761,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME = eINSTANCE.getStereotypedElementMatcher_BaseElementName();
@@ -2772,7 +2770,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE = eINSTANCE.getStereotypedElementMatcher_BaseElementPackage();
@@ -2782,7 +2780,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* <em>Stereotyped Element Helper</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getStereotypedElementHelper()
* @generated
@@ -2793,7 +2791,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME = eINSTANCE.getStereotypedElementHelper_StereotypeName();
@@ -2802,7 +2800,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Stereotype Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE = eINSTANCE.getStereotypedElementHelper_StereotypePackage();
@@ -2811,7 +2809,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME = eINSTANCE.getStereotypedElementHelper_BaseElementName();
@@ -2820,7 +2818,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Base Element Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE = eINSTANCE.getStereotypedElementHelper_BaseElementPackage();
@@ -2830,7 +2828,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getMenuDeclaration()
* @generated
@@ -2841,7 +2839,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Location URI</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute MENU_DECLARATION__LOCATION_URI = eINSTANCE.getMenuDeclaration_LocationURI();
@@ -2850,7 +2848,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Commands</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference MENU_DECLARATION__COMMANDS = eINSTANCE.getMenuDeclaration_Commands();
@@ -2860,7 +2858,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommandDeclaration()
* @generated
@@ -2871,7 +2869,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Commands</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMMAND_DECLARATION__COMMANDS = eINSTANCE.getCommandDeclaration_Commands();
@@ -2880,7 +2878,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl <em>Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getCommand()
* @generated
@@ -2891,7 +2889,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Element Type</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMMAND__ELEMENT_TYPE = eINSTANCE.getCommand_ElementType();
@@ -2900,7 +2898,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute COMMAND__ICON = eINSTANCE.getCommand_Icon();
@@ -2909,7 +2907,7 @@ public interface DomaincontextcodegenPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.domaincontextcodegen.InheritanceKind <em>Inheritance Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.InheritanceKind
* @see org.eclipse.papyrus.domaincontextcodegen.impl.DomaincontextcodegenPackageImpl#getInheritanceKind()
* @generated
@@ -2918,4 +2916,4 @@ public interface DomaincontextcodegenPackage extends EPackage {
}
-} //DomaincontextcodegenPackage
+} // DomaincontextcodegenPackage
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
index 8d42e23698f..30d76b594dc 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementType.java
@@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -22,7 +22,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType()
* @model abstract="true"
* @generated
@@ -36,7 +36,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Name()
@@ -49,9 +49,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -64,7 +64,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Helper</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Helper</em>' attribute.
* @see #setHelper(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Helper()
@@ -77,9 +77,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getHelper <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Helper</em>' attribute.
+ * the new value of the '<em>Helper</em>' attribute.
* @see #getHelper()
* @generated
*/
@@ -93,7 +93,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Owner</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Owner</em>' container reference.
* @see #setOwner(ElementTypes)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Owner()
@@ -107,9 +107,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner <em>Owner</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Owner</em>' container reference.
+ * the new value of the '<em>Owner</em>' container reference.
* @see #getOwner()
* @generated
*/
@@ -122,7 +122,7 @@ public interface ElementType extends EObject {
* If the meaning of the '<em>Icon</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Icon</em>' attribute.
* @see #setIcon(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementType_Icon()
@@ -135,9 +135,9 @@ public interface ElementType extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementType#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Icon</em>' attribute.
+ * the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
index a89f734c158..5a7fb9bfe10 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBinding.java
@@ -10,14 +10,14 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type Binding</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBinding()
* @model
* @generated
@@ -31,7 +31,7 @@ public interface ElementTypeBinding extends Binding {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBinding_Ref()
@@ -44,9 +44,9 @@ public interface ElementTypeBinding extends Binding {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
index 0184a6522f7..0d260a86c7f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypeBindings.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Type Bindings</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings#getBindings <em>Bindings</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface ElementTypeBindings extends EObject {
* If the meaning of the '<em>Client Context ID</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Client Context ID</em>' attribute.
* @see #setClientContextID(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings_ClientContextID()
@@ -49,9 +49,9 @@ public interface ElementTypeBindings extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Client Context ID</em>' attribute.
+ * the new value of the '<em>Client Context ID</em>' attribute.
* @see #getClientContextID()
* @generated
*/
@@ -66,7 +66,7 @@ public interface ElementTypeBindings extends EObject {
* If the meaning of the '<em>Bindings</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>Bindings</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypeBindings_Bindings()
* @see org.eclipse.papyrus.domaincontextcodegen.Binding#getOwner
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
index 4b89dae0f5e..e5dff54c901 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/ElementTypes.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Types</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes()
* @model
* @generated
@@ -37,7 +37,7 @@ public interface ElementTypes extends EObject {
* If the meaning of the '<em>Types</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>Types</em>' containment reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes_Types()
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType#getOwner
@@ -48,14 +48,13 @@ public interface ElementTypes extends EObject {
/**
* Returns the value of the '<em><b>Domain</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes <em>Element Types</em>}
- * '.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.domaincontextcodegen.DomainContext#getElementTypes <em>Element Types</em>} '.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Domain</em>' container reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Domain</em>' container reference.
* @see #setDomain(DomainContext)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getElementTypes_Domain()
@@ -69,9 +68,9 @@ public interface ElementTypes extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypes#getDomain <em>Domain</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Domain</em>' container reference.
+ * the new value of the '<em>Domain</em>' container reference.
* @see #getDomain()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
index 58c6aebb46f..28e682f4520 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHandlers.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Handlers</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getCreateChildMenuLocationURI <em>Create Child Menu Location URI</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers()
* @model
* @generated
@@ -41,7 +41,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Handler Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Handler Package</em>' attribute.
* @see #setHandlerPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_HandlerPackage()
@@ -54,9 +54,9 @@ public interface GenHandlers extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getHandlerPackage <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Handler Package</em>' attribute.
+ * the new value of the '<em>Handler Package</em>' attribute.
* @see #getHandlerPackage()
* @generated
*/
@@ -69,7 +69,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Super Class</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Super Class</em>' attribute.
* @see #setSuperClass(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_SuperClass()
@@ -82,9 +82,9 @@ public interface GenHandlers extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHandlers#getSuperClass <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Super Class</em>' attribute.
+ * the new value of the '<em>Super Class</em>' attribute.
* @see #getSuperClass()
* @generated
*/
@@ -97,7 +97,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Super Class Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Super Class Package</em>' attribute.
* @see #setSuperClassPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_SuperClassPackage()
@@ -111,9 +111,9 @@ public interface GenHandlers extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Super Class Package</em>' attribute.
+ * the new value of the '<em>Super Class Package</em>' attribute.
* @see #getSuperClassPackage()
* @generated
*/
@@ -126,7 +126,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Element Type Enumerator</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Enumerator</em>' attribute.
* @see #setElementTypeEnumerator(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ElementTypeEnumerator()
@@ -140,9 +140,9 @@ public interface GenHandlers extends EObject {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Enumerator</em>' attribute.
+ * the new value of the '<em>Element Type Enumerator</em>' attribute.
* @see #getElementTypeEnumerator()
* @generated
*/
@@ -155,7 +155,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Element Type Enumerator Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Element Type Enumerator Package</em>' attribute.
* @see #setElementTypeEnumeratorPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ElementTypeEnumeratorPackage()
@@ -169,9 +169,9 @@ public interface GenHandlers extends EObject {
* <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Element Type Enumerator Package</em>' attribute.
+ * the new value of the '<em>Element Type Enumerator Package</em>' attribute.
* @see #getElementTypeEnumeratorPackage()
* @generated
*/
@@ -185,7 +185,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Visible Create Child Handlers</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Visible Create Child Handlers</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_VisibleCreateChildHandlers()
* @model
@@ -201,7 +201,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Parent Domain Create Child</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Parent Domain Create Child</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_ParentDomainCreateChild()
* @model
@@ -216,7 +216,7 @@ public interface GenHandlers extends EObject {
* If the meaning of the '<em>Create Child Menu Location URI</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Create Child Menu Location URI</em>' attribute.
* @see #setCreateChildMenuLocationURI(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHandlers_CreateChildMenuLocationURI()
@@ -230,9 +230,9 @@ public interface GenHandlers extends EObject {
* <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Create Child Menu Location URI</em>' attribute.
+ * the new value of the '<em>Create Child Menu Location URI</em>' attribute.
* @see #getCreateChildMenuLocationURI()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
index 72defc734f9..c068f707c9f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenHelper.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Helper</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHelper()
* @model abstract="true"
* @generated
@@ -33,7 +33,7 @@ public interface GenHelper extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenHelper_Name()
@@ -46,9 +46,9 @@ public interface GenHelper extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenHelper#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
index 8814df5b960..2ab54bace1c 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/GenMatcher.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Gen Matcher</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenMatcher()
* @model abstract="true"
* @generated
@@ -33,7 +33,7 @@ public interface GenMatcher extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getGenMatcher_Name()
@@ -46,9 +46,9 @@ public interface GenMatcher extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.GenMatcher#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Name</em>' attribute.
+ * the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
index 601dff850f8..139856940f2 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/InheritanceKind.java
@@ -17,7 +17,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Inheritance Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getInheritanceKind()
* @model
* @generated
@@ -27,7 +27,7 @@ public enum InheritanceKind implements Enumerator {
* The '<em><b>None</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #NONE_VALUE
* @generated
* @ordered
@@ -36,7 +36,7 @@ public enum InheritanceKind implements Enumerator {
* The '<em><b>All</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #ALL_VALUE
* @generated
* @ordered
@@ -50,7 +50,7 @@ public enum InheritanceKind implements Enumerator {
* If the meaning of '<em><b>None</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #NONE
* @model name="none"
* @generated
@@ -65,7 +65,7 @@ public enum InheritanceKind implements Enumerator {
* If the meaning of '<em><b>All</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #ALL
* @model name="all"
* @generated
@@ -77,16 +77,16 @@ public enum InheritanceKind implements Enumerator {
* An array of all the '<em><b>Inheritance Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private static final InheritanceKind[] VALUES_ARRAY = new InheritanceKind[]{ NONE, ALL, };
+ private static final InheritanceKind[] VALUES_ARRAY = new InheritanceKind[] { NONE, ALL, };
/**
* A public read-only list of all the '<em><b>Inheritance Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<InheritanceKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -95,13 +95,13 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind get(String literal) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
InheritanceKind result = VALUES_ARRAY[i];
- if(result.toString().equals(literal)) {
+ if (result.toString().equals(literal)) {
return result;
}
}
@@ -112,13 +112,13 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind getByName(String name) {
- for(int i = 0; i < VALUES_ARRAY.length; ++i) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
InheritanceKind result = VALUES_ARRAY[i];
- if(result.getName().equals(name)) {
+ if (result.getName().equals(name)) {
return result;
}
}
@@ -129,11 +129,11 @@ public enum InheritanceKind implements Enumerator {
* Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static InheritanceKind get(int value) {
- switch(value) {
+ switch (value) {
case NONE_VALUE:
return NONE;
case ALL_VALUE:
@@ -145,7 +145,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final int value;
@@ -153,7 +153,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String name;
@@ -161,7 +161,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String literal;
@@ -170,7 +170,7 @@ public enum InheritanceKind implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private InheritanceKind(int value, String name, String literal) {
@@ -182,7 +182,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public int getValue() {
@@ -192,7 +192,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -202,7 +202,7 @@ public enum InheritanceKind implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLiteral() {
@@ -213,7 +213,7 @@ public enum InheritanceKind implements Enumerator {
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -221,4 +221,4 @@ public enum InheritanceKind implements Enumerator {
return literal;
}
-} //InheritanceKind
+} // InheritanceKind
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
index c9222c74a45..e22d724225f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MenuDeclaration.java
@@ -13,7 +13,7 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Menu Declaration</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration()
* @model
* @generated
@@ -35,7 +35,7 @@ public interface MenuDeclaration extends EObject {
* If the meaning of the '<em>Location URI</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Location URI</em>' attribute.
* @see #setLocationURI(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration_LocationURI()
@@ -48,9 +48,9 @@ public interface MenuDeclaration extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration#getLocationURI <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Location URI</em>' attribute.
+ * the new value of the '<em>Location URI</em>' attribute.
* @see #getLocationURI()
* @generated
*/
@@ -64,7 +64,7 @@ public interface MenuDeclaration extends EObject {
* If the meaning of the '<em>Commands</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Commands</em>' reference list.
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMenuDeclaration_Commands()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
index 814872a62e3..4477d07698e 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/MetaClassType.java
@@ -12,14 +12,14 @@ import org.eclipse.emf.ecore.EClass;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Meta Class Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMetaClassType()
* @model
* @generated
@@ -33,7 +33,7 @@ public interface MetaClassType extends ElementType {
* If the meaning of the '<em>Meta Class</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Meta Class</em>' reference.
* @see #setMetaClass(EClass)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getMetaClassType_MetaClass()
@@ -46,9 +46,9 @@ public interface MetaClassType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.MetaClassType#getMetaClass <em>Meta Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Meta Class</em>' reference.
+ * the new value of the '<em>Meta Class</em>' reference.
* @see #getMetaClass()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
index fae5f6d3519..3b87ce43a85 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/SpecializationType.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Specialization Type</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getGenHelper <em>Gen Helper</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Ref</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Ref</em>' reference.
* @see #setRef(ElementType)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_Ref()
@@ -47,9 +47,9 @@ public interface SpecializationType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getRef <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Ref</em>' reference.
+ * the new value of the '<em>Ref</em>' reference.
* @see #getRef()
* @generated
*/
@@ -62,7 +62,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Matcher</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Matcher</em>' attribute.
* @see #setMatcher(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_Matcher()
@@ -75,9 +75,9 @@ public interface SpecializationType extends ElementType {
* Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType#getMatcher <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Matcher</em>' attribute.
+ * the new value of the '<em>Matcher</em>' attribute.
* @see #getMatcher()
* @generated
*/
@@ -90,7 +90,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Gen Matcher</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>Gen Matcher</em>' containment reference.
* @see #setGenMatcher(GenMatcher)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_GenMatcher()
@@ -104,9 +104,9 @@ public interface SpecializationType extends ElementType {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Matcher</em>' containment reference.
+ * the new value of the '<em>Gen Matcher</em>' containment reference.
* @see #getGenMatcher()
* @generated
*/
@@ -119,7 +119,7 @@ public interface SpecializationType extends ElementType {
* If the meaning of the '<em>Gen Helper</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>Gen Helper</em>' containment reference.
* @see #setGenHelper(GenHelper)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getSpecializationType_GenHelper()
@@ -133,9 +133,9 @@ public interface SpecializationType extends ElementType {
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Gen Helper</em>' containment reference.
+ * the new value of the '<em>Gen Helper</em>' containment reference.
* @see #getGenHelper()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
index 1ee8a53df29..6c862546f77 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementHelper.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Stereotyped Element Helper</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Stereotype 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>Stereotype Name</em>' attribute.
* @see #setStereotypeName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_StereotypeName()
@@ -48,9 +48,9 @@ public interface StereotypedElementHelper extends GenHelper {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Name</em>' attribute.
+ * the new value of the '<em>Stereotype Name</em>' attribute.
* @see #getStereotypeName()
* @generated
*/
@@ -63,7 +63,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Stereotype Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Package</em>' attribute.
* @see #setStereotypePackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_StereotypePackage()
@@ -77,9 +77,9 @@ public interface StereotypedElementHelper extends GenHelper {
* <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Package</em>' attribute.
+ * the new value of the '<em>Stereotype Package</em>' attribute.
* @see #getStereotypePackage()
* @generated
*/
@@ -92,7 +92,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Base Element 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>Base Element Name</em>' attribute.
* @see #setBaseElementName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_BaseElementName()
@@ -106,9 +106,9 @@ public interface StereotypedElementHelper extends GenHelper {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Name</em>' attribute.
+ * the new value of the '<em>Base Element Name</em>' attribute.
* @see #getBaseElementName()
* @generated
*/
@@ -121,7 +121,7 @@ public interface StereotypedElementHelper extends GenHelper {
* If the meaning of the '<em>Base Element Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Package</em>' attribute.
* @see #setBaseElementPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementHelper_BaseElementPackage()
@@ -135,9 +135,9 @@ public interface StereotypedElementHelper extends GenHelper {
* <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Package</em>' attribute.
+ * the new value of the '<em>Base Element Package</em>' attribute.
* @see #getBaseElementPackage()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
index 90c8aa43382..1f74cb7843a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/StereotypedElementMatcher.java
@@ -10,7 +10,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Stereotyped Element Matcher</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
@@ -20,7 +20,7 @@ package org.eclipse.papyrus.domaincontextcodegen;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher()
* @model
* @generated
@@ -34,7 +34,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Stereotype 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>Stereotype Name</em>' attribute.
* @see #setStereotypeName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_StereotypeName()
@@ -48,9 +48,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Name</em>' attribute.
+ * the new value of the '<em>Stereotype Name</em>' attribute.
* @see #getStereotypeName()
* @generated
*/
@@ -63,7 +63,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Stereotype Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Stereotype Package</em>' attribute.
* @see #setStereotypePackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_StereotypePackage()
@@ -77,9 +77,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Stereotype Package</em>' attribute.
+ * the new value of the '<em>Stereotype Package</em>' attribute.
* @see #getStereotypePackage()
* @generated
*/
@@ -92,7 +92,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Base Element 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>Base Element Name</em>' attribute.
* @see #setBaseElementName(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_BaseElementName()
@@ -102,13 +102,12 @@ public interface StereotypedElementMatcher extends GenMatcher {
String getBaseElementName();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName <em>Base Element Name</em>}
- * ' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher#getBaseElementName <em>Base Element Name</em>} ' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Name</em>' attribute.
+ * the new value of the '<em>Base Element Name</em>' attribute.
* @see #getBaseElementName()
* @generated
*/
@@ -121,7 +120,7 @@ public interface StereotypedElementMatcher extends GenMatcher {
* If the meaning of the '<em>Base Element Package</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Base Element Package</em>' attribute.
* @see #setBaseElementPackage(String)
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage#getStereotypedElementMatcher_BaseElementPackage()
@@ -135,9 +134,9 @@ public interface StereotypedElementMatcher extends GenMatcher {
* <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
- * the new value of the '<em>Base Element Package</em>' attribute.
+ * the new value of the '<em>Base Element Package</em>' attribute.
* @see #getBaseElementPackage()
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
index c0c2915ec09..ac385ef2ccf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceBindingImpl.java
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceBindingImpl#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
@@ -33,7 +33,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceBindingImpl() {
@@ -53,7 +53,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -64,16 +64,17 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (Advice)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (Advice) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ADVICE_BINDING__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -82,7 +83,7 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice basicGetRef() {
@@ -92,28 +93,30 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(Advice newRef) {
Advice oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE_BINDING__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
}
return super.eGet(featureID, resolve, coreType);
@@ -122,14 +125,14 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- setRef((Advice)newValue);
+ setRef((Advice) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -138,14 +141,14 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
- setRef((Advice)null);
+ setRef((Advice) null);
return;
}
super.eUnset(featureID);
@@ -154,16 +157,16 @@ public class AdviceBindingImpl extends BindingImpl implements AdviceBinding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE_BINDING__REF:
return ref != null;
}
return super.eIsSet(featureID);
}
-} //AdviceBindingImpl
+} // AdviceBindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
index 028b06c2f8d..fcace7e9bce 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/AdviceImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.InheritanceKind;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.AdviceImpl#getInheritance <em>Inheritance</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class AdviceImpl extends EObjectImpl implements Advice {
@@ -38,7 +38,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getAdviceID() <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdviceID()
* @generated
* @ordered
@@ -49,7 +49,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getAdviceID() <em>Advice ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdviceID()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getAdvicePath() <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvicePath()
* @generated
* @ordered
@@ -82,7 +82,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getAdvicePath() <em>Advice Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvicePath()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The default value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getInheritance()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
* The cached value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getInheritance()
* @generated
* @ordered
@@ -114,7 +114,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected AdviceImpl() {
@@ -124,7 +124,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -135,7 +135,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getAdviceID() {
@@ -145,29 +145,31 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setAdviceID(String newAdviceID) {
String oldAdviceID = adviceID;
adviceID = newAdviceID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__ADVICE_ID, oldAdviceID, adviceID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ADVICE__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -176,7 +178,7 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -186,20 +188,21 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getAdvicePath() {
@@ -209,20 +212,21 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setAdvicePath(String newAdvicePath) {
String oldAdvicePath = advicePath;
advicePath = newAdvicePath;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__ADVICE_PATH, oldAdvicePath, advicePath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InheritanceKind getInheritance() {
@@ -232,30 +236,32 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setInheritance(InheritanceKind newInheritance) {
InheritanceKind oldInheritance = inheritance;
inheritance = newInheritance == null ? INHERITANCE_EDEFAULT : newInheritance;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ADVICE__INHERITANCE, oldInheritance, inheritance));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
return getAdviceID();
case DomaincontextcodegenPackage.ADVICE__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
return getAdvicePath();
@@ -268,23 +274,23 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
- setAdviceID((String)newValue);
+ setAdviceID((String) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
- setAdvicePath((String)newValue);
+ setAdvicePath((String) newValue);
return;
case DomaincontextcodegenPackage.ADVICE__INHERITANCE:
- setInheritance((InheritanceKind)newValue);
+ setInheritance((InheritanceKind) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -293,17 +299,17 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
setAdviceID(ADVICE_ID_EDEFAULT);
return;
case DomaincontextcodegenPackage.ADVICE__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
case DomaincontextcodegenPackage.ADVICE__ADVICE_PATH:
setAdvicePath(ADVICE_PATH_EDEFAULT);
@@ -318,12 +324,12 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ADVICE__ADVICE_ID:
return ADVICE_ID_EDEFAULT == null ? adviceID != null : !ADVICE_ID_EDEFAULT.equals(adviceID);
case DomaincontextcodegenPackage.ADVICE__REF:
@@ -339,13 +345,14 @@ public class AdviceImpl extends EObjectImpl implements Advice {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (adviceID: ");
@@ -358,4 +365,4 @@ public class AdviceImpl extends EObjectImpl implements Advice {
return result.toString();
}
-} //AdviceImpl
+} // AdviceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
index 0a407d6430c..5deca1f38cf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/BindingImpl.java
@@ -28,7 +28,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.BindingImpl#getPattern <em>Pattern</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class BindingImpl extends EObjectImpl implements Binding {
@@ -37,7 +37,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
* The default value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getPattern()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
* The cached value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getPattern()
* @generated
* @ordered
@@ -58,7 +58,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected BindingImpl() {
@@ -68,7 +68,7 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -79,52 +79,58 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindings getOwner() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER) {
return null;
- return (ElementTypeBindings)eContainer();
+ }
+ return (ElementTypeBindings) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetOwner(ElementTypeBindings newOwner, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newOwner, DomaincontextcodegenPackage.BINDING__OWNER, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newOwner, DomaincontextcodegenPackage.BINDING__OWNER, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setOwner(ElementTypeBindings newOwner) {
- if(newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER && newOwner != null)) {
- if(EcoreUtil.isAncestor(this, newOwner))
+ if (newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.BINDING__OWNER && newOwner != null)) {
+ if (EcoreUtil.isAncestor(this, newOwner)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newOwner != null)
- msgs = ((InternalEObject)newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
+ }
+ if (newOwner != null) {
+ msgs = ((InternalEObject) newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
+ }
msgs = basicSetOwner(newOwner, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.BINDING__OWNER, newOwner, newOwner));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getPattern() {
@@ -134,29 +140,31 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setPattern(String newPattern) {
String oldPattern = pattern;
pattern = newPattern;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.BINDING__PATTERN, oldPattern, pattern));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetOwner((ElementTypeBindings)otherEnd, msgs);
+ }
+ return basicSetOwner((ElementTypeBindings) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -164,12 +172,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return basicSetOwner(null, msgs);
}
@@ -179,12 +187,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, ElementTypeBindings.class, msgs);
}
@@ -194,12 +202,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return getOwner();
case DomaincontextcodegenPackage.BINDING__PATTERN:
@@ -211,17 +219,17 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- setOwner((ElementTypeBindings)newValue);
+ setOwner((ElementTypeBindings) newValue);
return;
case DomaincontextcodegenPackage.BINDING__PATTERN:
- setPattern((String)newValue);
+ setPattern((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -230,14 +238,14 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
- setOwner((ElementTypeBindings)null);
+ setOwner((ElementTypeBindings) null);
return;
case DomaincontextcodegenPackage.BINDING__PATTERN:
setPattern(PATTERN_EDEFAULT);
@@ -249,12 +257,12 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.BINDING__OWNER:
return getOwner() != null;
case DomaincontextcodegenPackage.BINDING__PATTERN:
@@ -266,13 +274,14 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (pattern: ");
@@ -281,4 +290,4 @@ public abstract class BindingImpl extends EObjectImpl implements Binding {
return result.toString();
}
-} //BindingImpl
+} // BindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
index c1293058e3d..6b4be851bcf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandDeclarationImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandDeclarationImpl#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclaration {
@@ -38,7 +38,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
* The cached value of the '{@link #getCommands() <em>Commands</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommands()
* @generated
* @ordered
@@ -48,7 +48,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandDeclarationImpl() {
@@ -58,7 +58,7 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -69,11 +69,11 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Command> getCommands() {
- if(commands == null) {
+ if (commands == null) {
commands = new EObjectContainmentEList<Command>(Command.class, this, DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS);
}
return commands;
@@ -82,14 +82,14 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
- return ((InternalEList<?>)getCommands()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getCommands()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -97,12 +97,12 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
return getCommands();
}
@@ -112,16 +112,16 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
getCommands().clear();
- getCommands().addAll((Collection<? extends Command>)newValue);
+ getCommands().addAll((Collection<? extends Command>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -130,12 +130,12 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
getCommands().clear();
return;
@@ -146,16 +146,16 @@ public class CommandDeclarationImpl extends EObjectImpl implements CommandDeclar
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND_DECLARATION__COMMANDS:
return commands != null && !commands.isEmpty();
}
return super.eIsSet(featureID);
}
-} //CommandDeclarationImpl
+} // CommandDeclarationImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
index 1e16821c27b..ad3077ed5a1 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/CommandImpl.java
@@ -26,7 +26,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.CommandImpl#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CommandImpl extends EObjectImpl implements Command {
@@ -35,7 +35,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The cached value of the '{@link #getElementType() <em>Element Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementType()
* @generated
* @ordered
@@ -46,7 +46,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -57,7 +57,7 @@ public class CommandImpl extends EObjectImpl implements Command {
* The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected CommandImpl() {
@@ -77,7 +77,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -88,16 +88,17 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getElementType() {
- if(elementType != null && elementType.eIsProxy()) {
- InternalEObject oldElementType = (InternalEObject)elementType;
- elementType = (ElementType)eResolveProxy(oldElementType);
- if(elementType != oldElementType) {
- if(eNotificationRequired())
+ if (elementType != null && elementType.eIsProxy()) {
+ InternalEObject oldElementType = (InternalEObject) elementType;
+ elementType = (ElementType) eResolveProxy(oldElementType);
+ if (elementType != oldElementType) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE, oldElementType, elementType));
+ }
}
}
return elementType;
@@ -106,7 +107,7 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetElementType() {
@@ -116,20 +117,21 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementType(ElementType newElementType) {
ElementType oldElementType = elementType;
elementType = newElementType;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE, oldElementType, elementType));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIcon() {
@@ -139,28 +141,30 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIcon(String newIcon) {
String oldIcon = icon;
icon = newIcon;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.COMMAND__ICON, oldIcon, icon));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- if(resolve)
+ if (resolve) {
return getElementType();
+ }
return basicGetElementType();
case DomaincontextcodegenPackage.COMMAND__ICON:
return getIcon();
@@ -171,17 +175,17 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- setElementType((ElementType)newValue);
+ setElementType((ElementType) newValue);
return;
case DomaincontextcodegenPackage.COMMAND__ICON:
- setIcon((String)newValue);
+ setIcon((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -190,14 +194,14 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
- setElementType((ElementType)null);
+ setElementType((ElementType) null);
return;
case DomaincontextcodegenPackage.COMMAND__ICON:
setIcon(ICON_EDEFAULT);
@@ -209,12 +213,12 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.COMMAND__ELEMENT_TYPE:
return elementType != null;
case DomaincontextcodegenPackage.COMMAND__ICON:
@@ -226,13 +230,14 @@ public class CommandImpl extends EObjectImpl implements Command {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (icon: ");
@@ -241,4 +246,4 @@ public class CommandImpl extends EObjectImpl implements Command {
return result.toString();
}
-} //CommandImpl
+} // CommandImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
index 0d78c526a65..b4f02e68225 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomainContextImpl.java
@@ -51,7 +51,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.DomainContextImpl#getCommand <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DomainContextImpl extends EObjectImpl implements DomainContext {
@@ -60,7 +60,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getTypeProjectName() <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypeProjectName()
* @generated
* @ordered
@@ -71,7 +71,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getTypeProjectName() <em>Type Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypeProjectName()
* @generated
* @ordered
@@ -82,7 +82,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getHandlerProjectName() <em>Handler Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerProjectName()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getHandlerProjectName() <em>Handler Project Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerProjectName()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getIClientContextID() <em>IClient Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIClientContextID()
* @generated
* @ordered
@@ -115,7 +115,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getIClientContextID() <em>IClient Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIClientContextID()
* @generated
* @ordered
@@ -126,7 +126,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMetamodel()
* @generated
* @ordered
@@ -137,7 +137,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getSpecializationOf() <em>Specialization Of</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSpecializationOf()
* @generated
* @ordered
@@ -148,7 +148,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getElementTypeIDPrefix() <em>Element Type ID Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeIDPrefix()
* @generated
* @ordered
@@ -159,7 +159,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypeIDPrefix() <em>Element Type ID Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeIDPrefix()
* @generated
* @ordered
@@ -170,7 +170,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getElementTypeNamePrefix() <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeNamePrefix()
* @generated
* @ordered
@@ -181,7 +181,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypeNamePrefix() <em>Element Type Name Prefix</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeNamePrefix()
* @generated
* @ordered
@@ -192,7 +192,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getElementTypes() <em>Element Types</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypes()
* @generated
* @ordered
@@ -203,7 +203,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getDefaultHelperPath() <em>Default Helper Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getDefaultHelperPath()
* @generated
* @ordered
@@ -214,7 +214,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getDefaultHelperPath() <em>Default Helper Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getDefaultHelperPath()
* @generated
* @ordered
@@ -225,7 +225,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getAdvices() <em>Advices</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getAdvices()
* @generated
* @ordered
@@ -236,7 +236,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getBindings() <em>Bindings</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBindings()
* @generated
* @ordered
@@ -247,7 +247,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getGenHandlers() <em>Gen Handlers</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenHandlers()
* @generated
* @ordered
@@ -258,7 +258,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The default value of the '{@link #getGeneratedSourceFolder() <em>Generated Source Folder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGeneratedSourceFolder()
* @generated
* @ordered
@@ -269,7 +269,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getGeneratedSourceFolder() <em>Generated Source Folder</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGeneratedSourceFolder()
* @generated
* @ordered
@@ -280,7 +280,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getMenu() <em>Menu</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMenu()
* @generated
* @ordered
@@ -291,7 +291,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
* The cached value of the '{@link #getCommand() <em>Command</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommand()
* @generated
* @ordered
@@ -301,7 +301,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomainContextImpl() {
@@ -311,7 +311,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -322,7 +322,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getTypeProjectName() {
@@ -332,20 +332,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setTypeProjectName(String newTypeProjectName) {
String oldTypeProjectName = typeProjectName;
typeProjectName = newTypeProjectName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME, oldTypeProjectName, typeProjectName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHandlerProjectName() {
@@ -355,20 +356,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHandlerProjectName(String newHandlerProjectName) {
String oldHandlerProjectName = handlerProjectName;
handlerProjectName = newHandlerProjectName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME, oldHandlerProjectName, handlerProjectName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIClientContextID() {
@@ -378,29 +380,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIClientContextID(String newIClientContextID) {
String oldIClientContextID = iClientContextID;
iClientContextID = newIClientContextID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID, oldIClientContextID, iClientContextID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EPackage getMetamodel() {
- if(metamodel != null && metamodel.eIsProxy()) {
- InternalEObject oldMetamodel = (InternalEObject)metamodel;
- metamodel = (EPackage)eResolveProxy(oldMetamodel);
- if(metamodel != oldMetamodel) {
- if(eNotificationRequired())
+ if (metamodel != null && metamodel.eIsProxy()) {
+ InternalEObject oldMetamodel = (InternalEObject) metamodel;
+ metamodel = (EPackage) eResolveProxy(oldMetamodel);
+ if (metamodel != oldMetamodel) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL, oldMetamodel, metamodel));
+ }
}
}
return metamodel;
@@ -409,7 +413,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EPackage basicGetMetamodel() {
@@ -419,29 +423,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMetamodel(EPackage newMetamodel) {
EPackage oldMetamodel = metamodel;
metamodel = newMetamodel;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL, oldMetamodel, metamodel));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext getSpecializationOf() {
- if(specializationOf != null && specializationOf.eIsProxy()) {
- InternalEObject oldSpecializationOf = (InternalEObject)specializationOf;
- specializationOf = (DomainContext)eResolveProxy(oldSpecializationOf);
- if(specializationOf != oldSpecializationOf) {
- if(eNotificationRequired())
+ if (specializationOf != null && specializationOf.eIsProxy()) {
+ InternalEObject oldSpecializationOf = (InternalEObject) specializationOf;
+ specializationOf = (DomainContext) eResolveProxy(oldSpecializationOf);
+ if (specializationOf != oldSpecializationOf) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF, oldSpecializationOf, specializationOf));
+ }
}
}
return specializationOf;
@@ -450,7 +456,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext basicGetSpecializationOf() {
@@ -460,20 +466,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSpecializationOf(DomainContext newSpecializationOf) {
DomainContext oldSpecializationOf = specializationOf;
specializationOf = newSpecializationOf;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF, oldSpecializationOf, specializationOf));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeIDPrefix() {
@@ -483,20 +490,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeIDPrefix(String newElementTypeIDPrefix) {
String oldElementTypeIDPrefix = elementTypeIDPrefix;
elementTypeIDPrefix = newElementTypeIDPrefix;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX, oldElementTypeIDPrefix, elementTypeIDPrefix));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeNamePrefix() {
@@ -506,20 +514,21 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeNamePrefix(String newElementTypeNamePrefix) {
String oldElementTypeNamePrefix = elementTypeNamePrefix;
elementTypeNamePrefix = newElementTypeNamePrefix;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX, oldElementTypeNamePrefix, elementTypeNamePrefix));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes getElementTypes() {
@@ -529,18 +538,19 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetElementTypes(ElementTypes newElementTypes, NotificationChain msgs) {
ElementTypes oldElementTypes = elementTypes;
elementTypes = newElementTypes;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, oldElementTypes, newElementTypes);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -548,27 +558,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypes(ElementTypes newElementTypes) {
- if(newElementTypes != elementTypes) {
+ if (newElementTypes != elementTypes) {
NotificationChain msgs = null;
- if(elementTypes != null)
- msgs = ((InternalEObject)elementTypes).eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
- if(newElementTypes != null)
- msgs = ((InternalEObject)newElementTypes).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ if (elementTypes != null) {
+ msgs = ((InternalEObject) elementTypes).eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ }
+ if (newElementTypes != null) {
+ msgs = ((InternalEObject) newElementTypes).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, ElementTypes.class, msgs);
+ }
msgs = basicSetElementTypes(newElementTypes, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, newElementTypes, newElementTypes));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getDefaultHelperPath() {
@@ -578,24 +592,25 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDefaultHelperPath(String newDefaultHelperPath) {
String oldDefaultHelperPath = defaultHelperPath;
defaultHelperPath = newDefaultHelperPath;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH, oldDefaultHelperPath, defaultHelperPath));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Advice> getAdvices() {
- if(advices == null) {
+ if (advices == null) {
advices = new EObjectContainmentEList<Advice>(Advice.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES);
}
return advices;
@@ -604,11 +619,11 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementTypeBindings> getBindings() {
- if(bindings == null) {
+ if (bindings == null) {
bindings = new EObjectContainmentEList<ElementTypeBindings>(ElementTypeBindings.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS);
}
return bindings;
@@ -617,7 +632,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHandlers getGenHandlers() {
@@ -627,18 +642,19 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenHandlers(GenHandlers newGenHandlers, NotificationChain msgs) {
GenHandlers oldGenHandlers = genHandlers;
genHandlers = newGenHandlers;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, oldGenHandlers, newGenHandlers);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -646,27 +662,31 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenHandlers(GenHandlers newGenHandlers) {
- if(newGenHandlers != genHandlers) {
+ if (newGenHandlers != genHandlers) {
NotificationChain msgs = null;
- if(genHandlers != null)
- msgs = ((InternalEObject)genHandlers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
- if(newGenHandlers != null)
- msgs = ((InternalEObject)newGenHandlers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ if (genHandlers != null) {
+ msgs = ((InternalEObject) genHandlers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ }
+ if (newGenHandlers != null) {
+ msgs = ((InternalEObject) newGenHandlers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, null, msgs);
+ }
msgs = basicSetGenHandlers(newGenHandlers, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS, newGenHandlers, newGenHandlers));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getGeneratedSourceFolder() {
@@ -676,24 +696,25 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGeneratedSourceFolder(String newGeneratedSourceFolder) {
String oldGeneratedSourceFolder = generatedSourceFolder;
generatedSourceFolder = newGeneratedSourceFolder;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER, oldGeneratedSourceFolder, generatedSourceFolder));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<MenuDeclaration> getMenu() {
- if(menu == null) {
+ if (menu == null) {
menu = new EObjectContainmentEList<MenuDeclaration>(MenuDeclaration.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU);
}
return menu;
@@ -702,11 +723,11 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<CommandDeclaration> getCommand() {
- if(command == null) {
+ if (command == null) {
command = new EObjectContainmentEList<CommandDeclaration>(CommandDeclaration.class, this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND);
}
return command;
@@ -715,16 +736,17 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- if(elementTypes != null)
- msgs = ((InternalEObject)elementTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, null, msgs);
- return basicSetElementTypes((ElementTypes)otherEnd, msgs);
+ if (elementTypes != null) {
+ msgs = ((InternalEObject) elementTypes).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, null, msgs);
+ }
+ return basicSetElementTypes((ElementTypes) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -732,24 +754,24 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
return basicSetElementTypes(null, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES:
- return ((InternalEList<?>)getAdvices()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getAdvices()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS:
- return ((InternalEList<?>)getBindings()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getBindings()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
return basicSetGenHandlers(null, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU:
- return ((InternalEList<?>)getMenu()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getMenu()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND:
- return ((InternalEList<?>)getCommand()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getCommand()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -757,12 +779,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
return getTypeProjectName();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
@@ -770,12 +792,14 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID:
return getIClientContextID();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- if(resolve)
+ if (resolve) {
return getMetamodel();
+ }
return basicGetMetamodel();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- if(resolve)
+ if (resolve) {
return getSpecializationOf();
+ }
return basicGetSpecializationOf();
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
return getElementTypeIDPrefix();
@@ -804,61 +828,61 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
- setTypeProjectName((String)newValue);
+ setTypeProjectName((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
- setHandlerProjectName((String)newValue);
+ setHandlerProjectName((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ICLIENT_CONTEXT_ID:
- setIClientContextID((String)newValue);
+ setIClientContextID((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- setMetamodel((EPackage)newValue);
+ setMetamodel((EPackage) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- setSpecializationOf((DomainContext)newValue);
+ setSpecializationOf((DomainContext) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
- setElementTypeIDPrefix((String)newValue);
+ setElementTypeIDPrefix((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_NAME_PREFIX:
- setElementTypeNamePrefix((String)newValue);
+ setElementTypeNamePrefix((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- setElementTypes((ElementTypes)newValue);
+ setElementTypes((ElementTypes) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH:
- setDefaultHelperPath((String)newValue);
+ setDefaultHelperPath((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ADVICES:
getAdvices().clear();
- getAdvices().addAll((Collection<? extends Advice>)newValue);
+ getAdvices().addAll((Collection<? extends Advice>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__BINDINGS:
getBindings().clear();
- getBindings().addAll((Collection<? extends ElementTypeBindings>)newValue);
+ getBindings().addAll((Collection<? extends ElementTypeBindings>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
- setGenHandlers((GenHandlers)newValue);
+ setGenHandlers((GenHandlers) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER:
- setGeneratedSourceFolder((String)newValue);
+ setGeneratedSourceFolder((String) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__MENU:
getMenu().clear();
- getMenu().addAll((Collection<? extends MenuDeclaration>)newValue);
+ getMenu().addAll((Collection<? extends MenuDeclaration>) newValue);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__COMMAND:
getCommand().clear();
- getCommand().addAll((Collection<? extends CommandDeclaration>)newValue);
+ getCommand().addAll((Collection<? extends CommandDeclaration>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -867,12 +891,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
setTypeProjectName(TYPE_PROJECT_NAME_EDEFAULT);
return;
@@ -883,10 +907,10 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
setIClientContextID(ICLIENT_CONTEXT_ID_EDEFAULT);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__METAMODEL:
- setMetamodel((EPackage)null);
+ setMetamodel((EPackage) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__SPECIALIZATION_OF:
- setSpecializationOf((DomainContext)null);
+ setSpecializationOf((DomainContext) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPE_ID_PREFIX:
setElementTypeIDPrefix(ELEMENT_TYPE_ID_PREFIX_EDEFAULT);
@@ -895,7 +919,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
setElementTypeNamePrefix(ELEMENT_TYPE_NAME_PREFIX_EDEFAULT);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES:
- setElementTypes((ElementTypes)null);
+ setElementTypes((ElementTypes) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__DEFAULT_HELPER_PATH:
setDefaultHelperPath(DEFAULT_HELPER_PATH_EDEFAULT);
@@ -907,7 +931,7 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
getBindings().clear();
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GEN_HANDLERS:
- setGenHandlers((GenHandlers)null);
+ setGenHandlers((GenHandlers) null);
return;
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__GENERATED_SOURCE_FOLDER:
setGeneratedSourceFolder(GENERATED_SOURCE_FOLDER_EDEFAULT);
@@ -925,12 +949,12 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__TYPE_PROJECT_NAME:
return TYPE_PROJECT_NAME_EDEFAULT == null ? typeProjectName != null : !TYPE_PROJECT_NAME_EDEFAULT.equals(typeProjectName);
case DomaincontextcodegenPackage.DOMAIN_CONTEXT__HANDLER_PROJECT_NAME:
@@ -968,13 +992,14 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (typeProjectName: ");
@@ -995,4 +1020,4 @@ public class DomainContextImpl extends EObjectImpl implements DomainContext {
return result.toString();
}
-} //DomainContextImpl
+} // DomainContextImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
index 3ce9d717561..243766271a7 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenFactoryImpl.java
@@ -34,7 +34,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements DomaincontextcodegenFactory {
@@ -43,13 +43,13 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static DomaincontextcodegenFactory init() {
try {
- DomaincontextcodegenFactory theDomaincontextcodegenFactory = (DomaincontextcodegenFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/2010/domaincontextcodegen");
- if(theDomaincontextcodegenFactory != null) {
+ DomaincontextcodegenFactory theDomaincontextcodegenFactory = (DomaincontextcodegenFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/2010/domaincontextcodegen");
+ if (theDomaincontextcodegenFactory != null) {
return theDomaincontextcodegenFactory;
}
} catch (Exception exception) {
@@ -62,7 +62,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenFactoryImpl() {
@@ -72,12 +72,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
case DomaincontextcodegenPackage.DOMAIN_CONTEXT:
return createDomainContext();
case DomaincontextcodegenPackage.ELEMENT_TYPES:
@@ -114,12 +114,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case DomaincontextcodegenPackage.INHERITANCE_KIND:
return createInheritanceKindFromString(eDataType, initialValue);
default:
@@ -130,12 +130,12 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case DomaincontextcodegenPackage.INHERITANCE_KIND:
return convertInheritanceKindToString(eDataType, instanceValue);
default:
@@ -146,7 +146,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext createDomainContext() {
@@ -157,7 +157,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes createElementTypes() {
@@ -168,7 +168,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MetaClassType createMetaClassType() {
@@ -179,7 +179,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public SpecializationType createSpecializationType() {
@@ -190,7 +190,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Advice createAdvice() {
@@ -201,7 +201,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBindings createElementTypeBindings() {
@@ -212,7 +212,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypeBinding createElementTypeBinding() {
@@ -223,7 +223,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public AdviceBinding createAdviceBinding() {
@@ -234,7 +234,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHandlers createGenHandlers() {
@@ -245,7 +245,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementMatcher createStereotypedElementMatcher() {
@@ -256,7 +256,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public StereotypedElementHelper createStereotypedElementHelper() {
@@ -267,7 +267,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public MenuDeclaration createMenuDeclaration() {
@@ -278,7 +278,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public CommandDeclaration createCommandDeclaration() {
@@ -289,7 +289,7 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public Command createCommand() {
@@ -300,20 +300,21 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InheritanceKind createInheritanceKindFromString(EDataType eDataType, String initialValue) {
InheritanceKind result = InheritanceKind.get(initialValue);
- if(result == null)
+ if (result == null) {
throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertInheritanceKindToString(EDataType eDataType, Object instanceValue) {
@@ -323,17 +324,17 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenPackage getDomaincontextcodegenPackage() {
- return (DomaincontextcodegenPackage)getEPackage();
+ return (DomaincontextcodegenPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -342,4 +343,4 @@ public class DomaincontextcodegenFactoryImpl extends EFactoryImpl implements Dom
return DomaincontextcodegenPackage.eINSTANCE;
}
-} //DomaincontextcodegenFactoryImpl
+} // DomaincontextcodegenFactoryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
index 556c61616a7..52e9746d47f 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/DomaincontextcodegenPackageImpl.java
@@ -39,7 +39,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public class DomaincontextcodegenPackageImpl extends EPackageImpl implements DomaincontextcodegenPackage {
@@ -47,7 +47,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass domainContextEClass = null;
@@ -55,7 +55,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypesEClass = null;
@@ -63,7 +63,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeEClass = null;
@@ -71,7 +71,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass metaClassTypeEClass = null;
@@ -79,7 +79,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass specializationTypeEClass = null;
@@ -87,7 +87,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass adviceEClass = null;
@@ -95,7 +95,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeBindingsEClass = null;
@@ -103,7 +103,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass adviceBindingEClass = null;
@@ -111,7 +111,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass bindingEClass = null;
@@ -119,7 +119,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass elementTypeBindingEClass = null;
@@ -127,7 +127,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genHandlersEClass = null;
@@ -135,7 +135,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genMatcherEClass = null;
@@ -143,7 +143,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass genHelperEClass = null;
@@ -151,7 +151,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass stereotypedElementMatcherEClass = null;
@@ -159,7 +159,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass stereotypedElementHelperEClass = null;
@@ -167,7 +167,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass menuDeclarationEClass = null;
@@ -175,7 +175,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass commandDeclarationEClass = null;
@@ -183,7 +183,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass commandEClass = null;
@@ -191,7 +191,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EEnum inheritanceKindEEnum = null;
@@ -201,9 +201,8 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* 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 -->
- *
+ * 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.domaincontextcodegen.DomaincontextcodegenPackage#eNS_URI
* @see #init()
@@ -216,29 +215,31 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- 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 DomaincontextcodegenPackage#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 -->
- *
+ * This method is used to initialize {@link DomaincontextcodegenPackage#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 DomaincontextcodegenPackage init() {
- if(isInited)
- return (DomaincontextcodegenPackage)EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ if (isInited) {
+ return (DomaincontextcodegenPackage) EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ }
// Obtain or create and register package
- DomaincontextcodegenPackageImpl theDomaincontextcodegenPackage = (DomaincontextcodegenPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DomaincontextcodegenPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DomaincontextcodegenPackageImpl());
+ DomaincontextcodegenPackageImpl theDomaincontextcodegenPackage = (DomaincontextcodegenPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DomaincontextcodegenPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new DomaincontextcodegenPackageImpl());
isInited = true;
@@ -263,7 +264,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getDomainContext() {
@@ -273,157 +274,157 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_TypeProjectName() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_HandlerProjectName() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_IClientContextID() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Metamodel() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(3);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_SpecializationOf() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(4);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_ElementTypeIDPrefix() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(5);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_ElementTypeNamePrefix() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(6);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_ElementTypes() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(7);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_DefaultHelperPath() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(8);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Advices() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(9);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Bindings() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(10);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_GenHandlers() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(11);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(11);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getDomainContext_GeneratedSourceFolder() {
- return (EAttribute)domainContextEClass.getEStructuralFeatures().get(12);
+ return (EAttribute) domainContextEClass.getEStructuralFeatures().get(12);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Menu() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(13);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(13);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getDomainContext_Command() {
- return (EReference)domainContextEClass.getEStructuralFeatures().get(14);
+ return (EReference) domainContextEClass.getEStructuralFeatures().get(14);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypes() {
@@ -433,27 +434,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypes_Types() {
- return (EReference)elementTypesEClass.getEStructuralFeatures().get(0);
+ return (EReference) elementTypesEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypes_Domain() {
- return (EReference)elementTypesEClass.getEStructuralFeatures().get(1);
+ return (EReference) elementTypesEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementType() {
@@ -463,47 +464,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Name() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Helper() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementType_Owner() {
- return (EReference)elementTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) elementTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementType_Icon() {
- return (EAttribute)elementTypeEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) elementTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMetaClassType() {
@@ -513,17 +514,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getMetaClassType_MetaClass() {
- return (EReference)metaClassTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) metaClassTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getSpecializationType() {
@@ -533,47 +534,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_Ref() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getSpecializationType_Matcher() {
- return (EAttribute)specializationTypeEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) specializationTypeEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_GenMatcher() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(2);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getSpecializationType_GenHelper() {
- return (EReference)specializationTypeEClass.getEStructuralFeatures().get(3);
+ return (EReference) specializationTypeEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAdvice() {
@@ -583,47 +584,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_AdviceID() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAdvice_Ref() {
- return (EReference)adviceEClass.getEStructuralFeatures().get(1);
+ return (EReference) adviceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_AdvicePath() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getAdvice_Inheritance() {
- return (EAttribute)adviceEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) adviceEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypeBindings() {
@@ -633,27 +634,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getElementTypeBindings_ClientContextID() {
- return (EAttribute)elementTypeBindingsEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) elementTypeBindingsEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypeBindings_Bindings() {
- return (EReference)elementTypeBindingsEClass.getEStructuralFeatures().get(1);
+ return (EReference) elementTypeBindingsEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getAdviceBinding() {
@@ -663,17 +664,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getAdviceBinding_Ref() {
- return (EReference)adviceBindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) adviceBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getBinding() {
@@ -683,27 +684,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getBinding_Owner() {
- return (EReference)bindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) bindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getBinding_Pattern() {
- return (EAttribute)bindingEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) bindingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getElementTypeBinding() {
@@ -713,17 +714,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getElementTypeBinding_Ref() {
- return (EReference)elementTypeBindingEClass.getEStructuralFeatures().get(0);
+ return (EReference) elementTypeBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenHandlers() {
@@ -733,87 +734,87 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_HandlerPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_SuperClass() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_SuperClassPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_ElementTypeEnumerator() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_ElementTypeEnumeratorPackage() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(4);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getGenHandlers_VisibleCreateChildHandlers() {
- return (EReference)genHandlersEClass.getEStructuralFeatures().get(5);
+ return (EReference) genHandlersEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getGenHandlers_ParentDomainCreateChild() {
- return (EReference)genHandlersEClass.getEStructuralFeatures().get(6);
+ return (EReference) genHandlersEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHandlers_CreateChildMenuLocationURI() {
- return (EAttribute)genHandlersEClass.getEStructuralFeatures().get(7);
+ return (EAttribute) genHandlersEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenMatcher() {
@@ -823,17 +824,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenMatcher_Name() {
- return (EAttribute)genMatcherEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genMatcherEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getGenHelper() {
@@ -843,17 +844,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getGenHelper_Name() {
- return (EAttribute)genHelperEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) genHelperEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getStereotypedElementMatcher() {
@@ -863,47 +864,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_StereotypeName() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_StereotypePackage() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_BaseElementName() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementMatcher_BaseElementPackage() {
- return (EAttribute)stereotypedElementMatcherEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) stereotypedElementMatcherEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getStereotypedElementHelper() {
@@ -913,47 +914,47 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_StereotypeName() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_StereotypePackage() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_BaseElementName() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(2);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getStereotypedElementHelper_BaseElementPackage() {
- return (EAttribute)stereotypedElementHelperEClass.getEStructuralFeatures().get(3);
+ return (EAttribute) stereotypedElementHelperEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMenuDeclaration() {
@@ -963,27 +964,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getMenuDeclaration_LocationURI() {
- return (EAttribute)menuDeclarationEClass.getEStructuralFeatures().get(0);
+ return (EAttribute) menuDeclarationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getMenuDeclaration_Commands() {
- return (EReference)menuDeclarationEClass.getEStructuralFeatures().get(1);
+ return (EReference) menuDeclarationEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getCommandDeclaration() {
@@ -993,17 +994,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getCommandDeclaration_Commands() {
- return (EReference)commandDeclarationEClass.getEStructuralFeatures().get(0);
+ return (EReference) commandDeclarationEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getCommand() {
@@ -1013,27 +1014,27 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EReference getCommand_ElementType() {
- return (EReference)commandEClass.getEStructuralFeatures().get(0);
+ return (EReference) commandEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EAttribute getCommand_Icon() {
- return (EAttribute)commandEClass.getEStructuralFeatures().get(1);
+ return (EAttribute) commandEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EEnum getInheritanceKind() {
@@ -1043,17 +1044,17 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenFactory getDomaincontextcodegenFactory() {
- return (DomaincontextcodegenFactory)getEFactoryInstance();
+ return (DomaincontextcodegenFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
@@ -1063,12 +1064,13 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
+ if (isCreated) {
return;
+ }
isCreated = true;
// Create classes and their features
@@ -1174,7 +1176,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -1184,12 +1186,13 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
* 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)
+ if (isInitialized) {
return;
+ }
isInitialized = true;
// Initialize package
@@ -1198,7 +1201,7 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
setNsURI(eNS_URI);
// Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
@@ -1217,37 +1220,49 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getDomainContext_TypeProjectName(), ecorePackage.getEString(), "typeProjectName", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_HandlerProjectName(), ecorePackage.getEString(), "handlerProjectName", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_IClientContextID(), ecorePackage.getEString(), "IClientContextID", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_SpecializationOf(), this.getDomainContext(), null, "specializationOf", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDomainContext_SpecializationOf(), this.getDomainContext(), null, "specializationOf", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_ElementTypeIDPrefix(), ecorePackage.getEString(), "elementTypeIDPrefix", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_ElementTypeNamePrefix(), ecorePackage.getEString(), "elementTypeNamePrefix", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_ElementTypes(), this.getElementTypes(), this.getElementTypes_Domain(), "elementTypes", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_ElementTypes(), this.getElementTypes(), this.getElementTypes_Domain(), "elementTypes", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainContext_DefaultHelperPath(), ecorePackage.getEString(), "defaultHelperPath", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDomainContext_Advices(), this.getAdvice(), null, "advices", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Bindings(), this.getElementTypeBindings(), null, "bindings", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_GenHandlers(), this.getGenHandlers(), null, "genHandlers", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Bindings(), this.getElementTypeBindings(), null, "bindings", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getDomainContext_GenHandlers(), this.getGenHandlers(), null, "genHandlers", null, 0, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEAttribute(getDomainContext_GeneratedSourceFolder(), ecorePackage.getEString(), "generatedSourceFolder", null, 1, 1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDomainContext_Menu(), this.getMenuDeclaration(), null, "menu", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDomainContext_Command(), this.getCommandDeclaration(), null, "command", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDomainContext_Command(), this.getCommandDeclaration(), null, "command", null, 0, -1, DomainContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(elementTypesEClass, ElementTypes.class, "ElementTypes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getElementTypes_Types(), this.getElementType(), this.getElementType_Owner(), "types", null, 0, -1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypes_Domain(), this.getDomainContext(), this.getDomainContext_ElementTypes(), "domain", null, 0, 1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypes_Types(), this.getElementType(), this.getElementType_Owner(), "types", null, 0, -1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypes_Domain(), this.getDomainContext(), this.getDomainContext_ElementTypes(), "domain", null, 0, 1, ElementTypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elementTypeEClass, ElementType.class, "ElementType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getElementType_Name(), ecorePackage.getEString(), "name", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getElementType_Helper(), ecorePackage.getEString(), "helper", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementType_Owner(), this.getElementTypes(), this.getElementTypes_Types(), "owner", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementType_Owner(), this.getElementTypes(), this.getElementTypes_Types(), "owner", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getElementType_Icon(), theEcorePackage.getEString(), "icon", null, 0, 1, ElementType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(metaClassTypeEClass, MetaClassType.class, "MetaClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMetaClassType_MetaClass(), ecorePackage.getEClass(), null, "metaClass", null, 1, 1, MetaClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMetaClassType_MetaClass(), ecorePackage.getEClass(), null, "metaClass", null, 1, 1, MetaClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(specializationTypeEClass, SpecializationType.class, "SpecializationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getSpecializationType_Ref(), this.getElementType(), null, "ref", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getSpecializationType_Matcher(), ecorePackage.getEString(), "matcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationType_GenMatcher(), this.getGenMatcher(), null, "genMatcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationType_GenHelper(), this.getGenHelper(), null, "genHelper", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecializationType_GenMatcher(), this.getGenMatcher(), null, "genMatcher", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getSpecializationType_GenHelper(), this.getGenHelper(), null, "genHelper", null, 0, 1, SpecializationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(adviceEClass, Advice.class, "Advice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getAdvice_AdviceID(), ecorePackage.getEString(), "adviceID", null, 0, 1, Advice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1257,10 +1272,12 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEClass(elementTypeBindingsEClass, ElementTypeBindings.class, "ElementTypeBindings", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getElementTypeBindings_ClientContextID(), ecorePackage.getEString(), "clientContextID", null, 0, 1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypeBindings_Bindings(), this.getBinding(), this.getBinding_Owner(), "bindings", null, 0, -1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getElementTypeBindings_Bindings(), this.getBinding(), this.getBinding_Owner(), "bindings", null, 0, -1, ElementTypeBindings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(bindingEClass, Binding.class, "Binding", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBinding_Owner(), this.getElementTypeBindings(), this.getElementTypeBindings_Bindings(), "owner", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getBinding_Owner(), this.getElementTypeBindings(), this.getElementTypeBindings_Bindings(), "owner", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEAttribute(getBinding_Pattern(), ecorePackage.getEString(), "pattern", null, 0, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(elementTypeBindingEClass, ElementTypeBinding.class, "ElementTypeBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1274,10 +1291,14 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getGenHandlers_SuperClass(), ecorePackage.getEString(), "superClass", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getGenHandlers_SuperClassPackage(), ecorePackage.getEString(), "superClassPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getGenHandlers_ElementTypeEnumerator(), ecorePackage.getEString(), "elementTypeEnumerator", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getGenHandlers_ElementTypeEnumeratorPackage(), ecorePackage.getEString(), "elementTypeEnumeratorPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGenHandlers_VisibleCreateChildHandlers(), this.getElementType(), null, "visibleCreateChildHandlers", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGenHandlers_ParentDomainCreateChild(), this.getElementType(), null, "parentDomainCreateChild", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getGenHandlers_CreateChildMenuLocationURI(), theEcorePackage.getEString(), "createChildMenuLocationURI", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGenHandlers_ElementTypeEnumeratorPackage(), ecorePackage.getEString(), "elementTypeEnumeratorPackage", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getGenHandlers_VisibleCreateChildHandlers(), this.getElementType(), null, "visibleCreateChildHandlers", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGenHandlers_ParentDomainCreateChild(), this.getElementType(), null, "parentDomainCreateChild", null, 0, -1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGenHandlers_CreateChildMenuLocationURI(), theEcorePackage.getEString(), "createChildMenuLocationURI", null, 0, 1, GenHandlers.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(genMatcherEClass, GenMatcher.class, "GenMatcher", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getGenMatcher_Name(), ecorePackage.getEString(), "name", null, 0, 1, GenMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1286,23 +1307,32 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
initEAttribute(getGenHelper_Name(), ecorePackage.getEString(), "name", null, 0, 1, GenHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(stereotypedElementMatcherEClass, StereotypedElementMatcher.class, "StereotypedElementMatcher", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStereotypedElementMatcher_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementMatcher_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementMatcher_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementMatcher.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(stereotypedElementHelperEClass, StereotypedElementHelper.class, "StereotypedElementHelper", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStereotypedElementHelper_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStereotypedElementHelper_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_StereotypeName(), theEcorePackage.getEString(), "stereotypeName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_StereotypePackage(), theEcorePackage.getEString(), "stereotypePackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_BaseElementName(), theEcorePackage.getEString(), "baseElementName", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getStereotypedElementHelper_BaseElementPackage(), theEcorePackage.getEString(), "baseElementPackage", null, 0, 1, StereotypedElementHelper.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(menuDeclarationEClass, MenuDeclaration.class, "MenuDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMenuDeclaration_LocationURI(), theEcorePackage.getEString(), "locationURI", null, 0, 1, MenuDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, MenuDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(commandDeclarationEClass, CommandDeclaration.class, "CommandDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCommandDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, CommandDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCommandDeclaration_Commands(), this.getCommand(), null, "commands", null, 0, -1, CommandDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCommand_ElementType(), this.getElementType(), null, "elementType", null, 0, 1, Command.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1317,4 +1347,4 @@ public class DomaincontextcodegenPackageImpl extends EPackageImpl implements Dom
createResource(eNS_URI);
}
-} //DomaincontextcodegenPackageImpl
+} // DomaincontextcodegenPackageImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
index 70a4968d110..28798283a95 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingImpl.java
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingImpl#getRef <em>Ref</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBinding {
@@ -33,7 +33,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingImpl() {
@@ -53,7 +53,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -64,16 +64,17 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -82,7 +83,7 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -92,28 +93,30 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
}
return super.eGet(featureID, resolve, coreType);
@@ -122,14 +125,14 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -138,14 +141,14 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
}
super.eUnset(featureID);
@@ -154,16 +157,16 @@ public class ElementTypeBindingImpl extends BindingImpl implements ElementTypeBi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING__REF:
return ref != null;
}
return super.eIsSet(featureID);
}
-} //ElementTypeBindingImpl
+} // ElementTypeBindingImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
index bb01b62bebf..3df3266912d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeBindingsImpl.java
@@ -32,7 +32,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeBindingsImpl#getBindings <em>Bindings</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeBindings {
@@ -41,7 +41,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The default value of the '{@link #getClientContextID() <em>Client Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getClientContextID()
* @generated
* @ordered
@@ -52,7 +52,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The cached value of the '{@link #getClientContextID() <em>Client Context ID</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getClientContextID()
* @generated
* @ordered
@@ -63,7 +63,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
* The cached value of the '{@link #getBindings() <em>Bindings</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBindings()
* @generated
* @ordered
@@ -73,7 +73,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeBindingsImpl() {
@@ -83,7 +83,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -94,7 +94,7 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getClientContextID() {
@@ -104,24 +104,25 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setClientContextID(String newClientContextID) {
String oldClientContextID = clientContextID;
clientContextID = newClientContextID;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID, oldClientContextID, clientContextID));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Binding> getBindings() {
- if(bindings == null) {
+ if (bindings == null) {
bindings = new EObjectContainmentWithInverseEList<Binding>(Binding.class, this, DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS, DomaincontextcodegenPackage.BINDING__OWNER);
}
return bindings;
@@ -130,15 +131,15 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getBindings()).basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getBindings()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -146,14 +147,14 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
- return ((InternalEList<?>)getBindings()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getBindings()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -161,12 +162,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
return getClientContextID();
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
@@ -178,19 +179,19 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
- setClientContextID((String)newValue);
+ setClientContextID((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
getBindings().clear();
- getBindings().addAll((Collection<? extends Binding>)newValue);
+ getBindings().addAll((Collection<? extends Binding>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -199,12 +200,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
setClientContextID(CLIENT_CONTEXT_ID_EDEFAULT);
return;
@@ -218,12 +219,12 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__CLIENT_CONTEXT_ID:
return CLIENT_CONTEXT_ID_EDEFAULT == null ? clientContextID != null : !CLIENT_CONTEXT_ID_EDEFAULT.equals(clientContextID);
case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS__BINDINGS:
@@ -235,13 +236,14 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (clientContextID: ");
@@ -250,4 +252,4 @@ public class ElementTypeBindingsImpl extends EObjectImpl implements ElementTypeB
return result.toString();
}
-} //ElementTypeBindingsImpl
+} // ElementTypeBindingsImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
index ee57132fc1f..74800614f76 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypeImpl.java
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypes;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypeImpl#getIcon <em>Icon</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class ElementTypeImpl extends EObjectImpl implements ElementType {
@@ -39,7 +39,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getHelper() <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHelper()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getHelper() <em>Helper</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHelper()
* @generated
* @ordered
@@ -83,7 +83,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -94,7 +94,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
* The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIcon()
* @generated
* @ordered
@@ -104,7 +104,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypeImpl() {
@@ -114,7 +114,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -125,7 +125,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -135,20 +135,21 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHelper() {
@@ -158,65 +159,72 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHelper(String newHelper) {
String oldHelper = helper;
helper = newHelper;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER, oldHelper, helper));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementTypes getOwner() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER) {
return null;
- return (ElementTypes)eContainer();
+ }
+ return (ElementTypes) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetOwner(ElementTypes newOwner, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newOwner, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newOwner, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setOwner(ElementTypes newOwner) {
- if(newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER && newOwner != null)) {
- if(EcoreUtil.isAncestor(this, newOwner))
+ if (newOwner != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER && newOwner != null)) {
+ if (EcoreUtil.isAncestor(this, newOwner)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newOwner != null)
- msgs = ((InternalEObject)newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
+ }
+ if (newOwner != null) {
+ msgs = ((InternalEObject) newOwner).eInverseAdd(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
+ }
msgs = basicSetOwner(newOwner, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER, newOwner, newOwner));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getIcon() {
@@ -226,29 +234,31 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setIcon(String newIcon) {
String oldIcon = icon;
icon = newIcon;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPE__ICON, oldIcon, icon));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetOwner((ElementTypes)otherEnd, msgs);
+ }
+ return basicSetOwner((ElementTypes) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -256,12 +266,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
return basicSetOwner(null, msgs);
}
@@ -271,12 +281,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, ElementTypes.class, msgs);
}
@@ -286,12 +296,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
return getName();
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
@@ -307,23 +317,23 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
- setHelper((String)newValue);
+ setHelper((String) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- setOwner((ElementTypes)newValue);
+ setOwner((ElementTypes) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__ICON:
- setIcon((String)newValue);
+ setIcon((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -332,12 +342,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
setName(NAME_EDEFAULT);
return;
@@ -345,7 +355,7 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
setHelper(HELPER_EDEFAULT);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER:
- setOwner((ElementTypes)null);
+ setOwner((ElementTypes) null);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPE__ICON:
setIcon(ICON_EDEFAULT);
@@ -357,12 +367,12 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case DomaincontextcodegenPackage.ELEMENT_TYPE__HELPER:
@@ -378,13 +388,14 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -397,4 +408,4 @@ public abstract class ElementTypeImpl extends EObjectImpl implements ElementType
return result.toString();
}
-} //ElementTypeImpl
+} // ElementTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
index 264a752da86..c64408b53aa 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/ElementTypesImpl.java
@@ -34,7 +34,7 @@ import org.eclipse.papyrus.domaincontextcodegen.ElementTypes;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.ElementTypesImpl#getDomain <em>Domain</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
@@ -43,7 +43,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
* The cached value of the '{@link #getTypes() <em>Types</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTypes()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected ElementTypesImpl() {
@@ -63,7 +63,7 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,11 +74,11 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getTypes() {
- if(types == null) {
+ if (types == null) {
types = new EObjectContainmentWithInverseEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES, DomaincontextcodegenPackage.ELEMENT_TYPE__OWNER);
}
return types;
@@ -87,64 +87,71 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomainContext getDomain() {
- if(eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN)
+ if (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN) {
return null;
- return (DomainContext)eContainer();
+ }
+ return (DomainContext) eContainer();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetDomain(DomainContext newDomain, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newDomain, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, msgs);
+ msgs = eBasicSetContainer((InternalEObject) newDomain, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setDomain(DomainContext newDomain) {
- if(newDomain != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN && newDomain != null)) {
- if(EcoreUtil.isAncestor(this, newDomain))
+ if (newDomain != eInternalContainer() || (eContainerFeatureID() != DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN && newDomain != null)) {
+ if (EcoreUtil.isAncestor(this, newDomain)) {
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
+ }
NotificationChain msgs = null;
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- if(newDomain != null)
- msgs = ((InternalEObject)newDomain).eInverseAdd(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
+ }
+ if (newDomain != null) {
+ msgs = ((InternalEObject) newDomain).eInverseAdd(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
+ }
msgs = basicSetDomain(newDomain, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN, newDomain, newDomain));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getTypes()).basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getTypes()).basicAdd(otherEnd, msgs);
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- if(eInternalContainer() != null)
+ if (eInternalContainer() != null) {
msgs = eBasicRemoveFromContainer(msgs);
- return basicSetDomain((DomainContext)otherEnd, msgs);
+ }
+ return basicSetDomain((DomainContext) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -152,14 +159,14 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
- return ((InternalEList<?>)getTypes()).basicRemove(otherEnd, msgs);
+ return ((InternalEList<?>) getTypes()).basicRemove(otherEnd, msgs);
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
return basicSetDomain(null, msgs);
}
@@ -169,12 +176,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
+ switch (eContainerFeatureID()) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
return eInternalContainer().eInverseRemove(this, DomaincontextcodegenPackage.DOMAIN_CONTEXT__ELEMENT_TYPES, DomainContext.class, msgs);
}
@@ -184,12 +191,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
return getTypes();
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
@@ -201,19 +208,19 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
getTypes().clear();
- getTypes().addAll((Collection<? extends ElementType>)newValue);
+ getTypes().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- setDomain((DomainContext)newValue);
+ setDomain((DomainContext) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -222,17 +229,17 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
getTypes().clear();
return;
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
- setDomain((DomainContext)null);
+ setDomain((DomainContext) null);
return;
}
super.eUnset(featureID);
@@ -241,12 +248,12 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.ELEMENT_TYPES__TYPES:
return types != null && !types.isEmpty();
case DomaincontextcodegenPackage.ELEMENT_TYPES__DOMAIN:
@@ -255,4 +262,4 @@ public class ElementTypesImpl extends EObjectImpl implements ElementTypes {
return super.eIsSet(featureID);
}
-} //ElementTypesImpl
+} // ElementTypesImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
index e47f7ee904c..794de1d9fe7 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHandlersImpl.java
@@ -35,7 +35,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHandlers;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHandlersImpl#getCreateChildMenuLocationURI <em>Create Child Menu Location URI</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
@@ -44,7 +44,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getHandlerPackage() <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerPackage()
* @generated
* @ordered
@@ -55,7 +55,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getHandlerPackage() <em>Handler Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getHandlerPackage()
* @generated
* @ordered
@@ -66,7 +66,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getSuperClass() <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClass()
* @generated
* @ordered
@@ -77,7 +77,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getSuperClass() <em>Super Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClass()
* @generated
* @ordered
@@ -88,7 +88,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getSuperClassPackage() <em>Super Class Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClassPackage()
* @generated
* @ordered
@@ -99,7 +99,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getSuperClassPackage() <em>Super Class Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getSuperClassPackage()
* @generated
* @ordered
@@ -110,7 +110,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getElementTypeEnumerator() <em>Element Type Enumerator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumerator()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getElementTypeEnumerator() <em>Element Type Enumerator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumerator()
* @generated
* @ordered
@@ -132,7 +132,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getElementTypeEnumeratorPackage() <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumeratorPackage()
* @generated
* @ordered
@@ -143,7 +143,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getElementTypeEnumeratorPackage() <em>Element Type Enumerator Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getElementTypeEnumeratorPackage()
* @generated
* @ordered
@@ -154,7 +154,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getVisibleCreateChildHandlers() <em>Visible Create Child Handlers</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getVisibleCreateChildHandlers()
* @generated
* @ordered
@@ -165,7 +165,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getParentDomainCreateChild() <em>Parent Domain Create Child</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getParentDomainCreateChild()
* @generated
* @ordered
@@ -176,7 +176,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The default value of the '{@link #getCreateChildMenuLocationURI() <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCreateChildMenuLocationURI()
* @generated
* @ordered
@@ -187,7 +187,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
* The cached value of the '{@link #getCreateChildMenuLocationURI() <em>Create Child Menu Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCreateChildMenuLocationURI()
* @generated
* @ordered
@@ -197,7 +197,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenHandlersImpl() {
@@ -207,7 +207,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -218,7 +218,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getHandlerPackage() {
@@ -228,20 +228,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setHandlerPackage(String newHandlerPackage) {
String oldHandlerPackage = handlerPackage;
handlerPackage = newHandlerPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE, oldHandlerPackage, handlerPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getSuperClass() {
@@ -251,20 +252,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSuperClass(String newSuperClass) {
String oldSuperClass = superClass;
superClass = newSuperClass;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS, oldSuperClass, superClass));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getSuperClassPackage() {
@@ -274,20 +276,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setSuperClassPackage(String newSuperClassPackage) {
String oldSuperClassPackage = superClassPackage;
superClassPackage = newSuperClassPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS_PACKAGE, oldSuperClassPackage, superClassPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeEnumerator() {
@@ -297,20 +300,21 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeEnumerator(String newElementTypeEnumerator) {
String oldElementTypeEnumerator = elementTypeEnumerator;
elementTypeEnumerator = newElementTypeEnumerator;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR, oldElementTypeEnumerator, elementTypeEnumerator));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getElementTypeEnumeratorPackage() {
@@ -320,24 +324,25 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setElementTypeEnumeratorPackage(String newElementTypeEnumeratorPackage) {
String oldElementTypeEnumeratorPackage = elementTypeEnumeratorPackage;
elementTypeEnumeratorPackage = newElementTypeEnumeratorPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE, oldElementTypeEnumeratorPackage, elementTypeEnumeratorPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getVisibleCreateChildHandlers() {
- if(visibleCreateChildHandlers == null) {
+ if (visibleCreateChildHandlers == null) {
visibleCreateChildHandlers = new EObjectResolvingEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS);
}
return visibleCreateChildHandlers;
@@ -346,11 +351,11 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<ElementType> getParentDomainCreateChild() {
- if(parentDomainCreateChild == null) {
+ if (parentDomainCreateChild == null) {
parentDomainCreateChild = new EObjectResolvingEList<ElementType>(ElementType.class, this, DomaincontextcodegenPackage.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD);
}
return parentDomainCreateChild;
@@ -359,7 +364,7 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getCreateChildMenuLocationURI() {
@@ -369,25 +374,26 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setCreateChildMenuLocationURI(String newCreateChildMenuLocationURI) {
String oldCreateChildMenuLocationURI = createChildMenuLocationURI;
createChildMenuLocationURI = newCreateChildMenuLocationURI;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI, oldCreateChildMenuLocationURI, createChildMenuLocationURI));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
return getHandlerPackage();
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
@@ -411,38 +417,38 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
- setHandlerPackage((String)newValue);
+ setHandlerPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
- setSuperClass((String)newValue);
+ setSuperClass((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS_PACKAGE:
- setSuperClassPackage((String)newValue);
+ setSuperClassPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR:
- setElementTypeEnumerator((String)newValue);
+ setElementTypeEnumerator((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__ELEMENT_TYPE_ENUMERATOR_PACKAGE:
- setElementTypeEnumeratorPackage((String)newValue);
+ setElementTypeEnumeratorPackage((String) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__VISIBLE_CREATE_CHILD_HANDLERS:
getVisibleCreateChildHandlers().clear();
- getVisibleCreateChildHandlers().addAll((Collection<? extends ElementType>)newValue);
+ getVisibleCreateChildHandlers().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__PARENT_DOMAIN_CREATE_CHILD:
getParentDomainCreateChild().clear();
- getParentDomainCreateChild().addAll((Collection<? extends ElementType>)newValue);
+ getParentDomainCreateChild().addAll((Collection<? extends ElementType>) newValue);
return;
case DomaincontextcodegenPackage.GEN_HANDLERS__CREATE_CHILD_MENU_LOCATION_URI:
- setCreateChildMenuLocationURI((String)newValue);
+ setCreateChildMenuLocationURI((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -451,12 +457,12 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
setHandlerPackage(HANDLER_PACKAGE_EDEFAULT);
return;
@@ -488,12 +494,12 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HANDLERS__HANDLER_PACKAGE:
return HANDLER_PACKAGE_EDEFAULT == null ? handlerPackage != null : !HANDLER_PACKAGE_EDEFAULT.equals(handlerPackage);
case DomaincontextcodegenPackage.GEN_HANDLERS__SUPER_CLASS:
@@ -517,13 +523,14 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (handlerPackage: ");
@@ -542,4 +549,4 @@ public class GenHandlersImpl extends EObjectImpl implements GenHandlers {
return result.toString();
}
-} //GenHandlersImpl
+} // GenHandlersImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
index 555987f9ff9..ea216475caf 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenHelperImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenHelper;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenHelperImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
@@ -32,7 +32,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenHelperImpl() {
@@ -63,7 +63,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,7 +74,7 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -84,25 +84,26 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_HELPER__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
return getName();
}
@@ -112,14 +113,14 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -128,12 +129,12 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
setName(NAME_EDEFAULT);
return;
@@ -144,12 +145,12 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_HELPER__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
@@ -159,13 +160,14 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -174,4 +176,4 @@ public abstract class GenHelperImpl extends EObjectImpl implements GenHelper {
return result.toString();
}
-} //GenHelperImpl
+} // GenHelperImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
index f44fb7f5861..2998b210e36 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/GenMatcherImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.GenMatcher;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.GenMatcherImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
@@ -32,7 +32,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -43,7 +43,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getName()
* @generated
* @ordered
@@ -53,7 +53,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected GenMatcherImpl() {
@@ -63,7 +63,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -74,7 +74,7 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getName() {
@@ -84,25 +84,26 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.GEN_MATCHER__NAME, oldName, name));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
return getName();
}
@@ -112,14 +113,14 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
- setName((String)newValue);
+ setName((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -128,12 +129,12 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
setName(NAME_EDEFAULT);
return;
@@ -144,12 +145,12 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.GEN_MATCHER__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
@@ -159,13 +160,14 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -174,4 +176,4 @@ public abstract class GenMatcherImpl extends EObjectImpl implements GenMatcher {
return result.toString();
}
-} //GenMatcherImpl
+} // GenMatcherImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
index 4f1c456b767..3f84d5c27c8 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MenuDeclarationImpl.java
@@ -29,7 +29,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.MenuDeclarationImpl#getCommands <em>Commands</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration {
@@ -38,7 +38,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The default value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getLocationURI()
* @generated
* @ordered
@@ -49,7 +49,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The cached value of the '{@link #getLocationURI() <em>Location URI</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getLocationURI()
* @generated
* @ordered
@@ -60,7 +60,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
* The cached value of the '{@link #getCommands() <em>Commands</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getCommands()
* @generated
* @ordered
@@ -70,7 +70,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MenuDeclarationImpl() {
@@ -80,7 +80,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -91,7 +91,7 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getLocationURI() {
@@ -101,24 +101,25 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setLocationURI(String newLocationURI) {
String oldLocationURI = locationURI;
locationURI = newLocationURI;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI, oldLocationURI, locationURI));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EList<Command> getCommands() {
- if(commands == null) {
+ if (commands == null) {
commands = new EObjectResolvingEList<Command>(Command.class, this, DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS);
}
return commands;
@@ -127,12 +128,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
return getLocationURI();
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
@@ -144,19 +145,19 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
- setLocationURI((String)newValue);
+ setLocationURI((String) newValue);
return;
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
getCommands().clear();
- getCommands().addAll((Collection<? extends Command>)newValue);
+ getCommands().addAll((Collection<? extends Command>) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -165,12 +166,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
setLocationURI(LOCATION_URI_EDEFAULT);
return;
@@ -184,12 +185,12 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.MENU_DECLARATION__LOCATION_URI:
return LOCATION_URI_EDEFAULT == null ? locationURI != null : !LOCATION_URI_EDEFAULT.equals(locationURI);
case DomaincontextcodegenPackage.MENU_DECLARATION__COMMANDS:
@@ -201,13 +202,14 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (locationURI: ");
@@ -216,4 +218,4 @@ public class MenuDeclarationImpl extends EObjectImpl implements MenuDeclaration
return result.toString();
}
-} //MenuDeclarationImpl
+} // MenuDeclarationImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
index d103975e4ff..07bebf974de 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/MetaClassTypeImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.domaincontextcodegen.MetaClassType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.MetaClassTypeImpl#getMetaClass <em>Meta Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType {
@@ -32,7 +32,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
* The cached value of the '{@link #getMetaClass() <em>Meta Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMetaClass()
* @generated
* @ordered
@@ -42,7 +42,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected MetaClassTypeImpl() {
@@ -52,7 +52,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -63,16 +63,17 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass getMetaClass() {
- if(metaClass != null && metaClass.eIsProxy()) {
- InternalEObject oldMetaClass = (InternalEObject)metaClass;
- metaClass = (EClass)eResolveProxy(oldMetaClass);
- if(metaClass != oldMetaClass) {
- if(eNotificationRequired())
+ if (metaClass != null && metaClass.eIsProxy()) {
+ InternalEObject oldMetaClass = (InternalEObject) metaClass;
+ metaClass = (EClass) eResolveProxy(oldMetaClass);
+ if (metaClass != oldMetaClass) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS, oldMetaClass, metaClass));
+ }
}
}
return metaClass;
@@ -81,7 +82,7 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public EClass basicGetMetaClass() {
@@ -91,28 +92,30 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMetaClass(EClass newMetaClass) {
EClass oldMetaClass = metaClass;
metaClass = newMetaClass;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS, oldMetaClass, metaClass));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- if(resolve)
+ if (resolve) {
return getMetaClass();
+ }
return basicGetMetaClass();
}
return super.eGet(featureID, resolve, coreType);
@@ -121,14 +124,14 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- setMetaClass((EClass)newValue);
+ setMetaClass((EClass) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -137,14 +140,14 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
- setMetaClass((EClass)null);
+ setMetaClass((EClass) null);
return;
}
super.eUnset(featureID);
@@ -153,16 +156,16 @@ public class MetaClassTypeImpl extends ElementTypeImpl implements MetaClassType
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.META_CLASS_TYPE__META_CLASS:
return metaClass != null;
}
return super.eIsSet(featureID);
}
-} //MetaClassTypeImpl
+} // MetaClassTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
index 933dedcc145..530d2bcb9e5 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/SpecializationTypeImpl.java
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.domaincontextcodegen.SpecializationType;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.SpecializationTypeImpl#getGenHelper <em>Gen Helper</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class SpecializationTypeImpl extends ElementTypeImpl implements SpecializationType {
@@ -39,7 +39,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getRef() <em>Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getRef()
* @generated
* @ordered
@@ -50,7 +50,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The default value of the '{@link #getMatcher() <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMatcher()
* @generated
* @ordered
@@ -61,7 +61,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getMatcher() <em>Matcher</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getMatcher()
* @generated
* @ordered
@@ -72,7 +72,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getGenMatcher() <em>Gen Matcher</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenMatcher()
* @generated
* @ordered
@@ -83,7 +83,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
* The cached value of the '{@link #getGenHelper() <em>Gen Helper</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGenHelper()
* @generated
* @ordered
@@ -93,7 +93,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected SpecializationTypeImpl() {
@@ -103,7 +103,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -114,16 +114,17 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType getRef() {
- if(ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (ElementType)eResolveProxy(oldRef);
- if(ref != oldRef) {
- if(eNotificationRequired())
+ if (ref != null && ref.eIsProxy()) {
+ InternalEObject oldRef = (InternalEObject) ref;
+ ref = (ElementType) eResolveProxy(oldRef);
+ if (ref != oldRef) {
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF, oldRef, ref));
+ }
}
}
return ref;
@@ -132,7 +133,7 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public ElementType basicGetRef() {
@@ -142,20 +143,21 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setRef(ElementType newRef) {
ElementType oldRef = ref;
ref = newRef;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF, oldRef, ref));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getMatcher() {
@@ -165,20 +167,21 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setMatcher(String newMatcher) {
String oldMatcher = matcher;
matcher = newMatcher;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER, oldMatcher, matcher));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenMatcher getGenMatcher() {
@@ -188,18 +191,19 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenMatcher(GenMatcher newGenMatcher, NotificationChain msgs) {
GenMatcher oldGenMatcher = genMatcher;
genMatcher = newGenMatcher;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, oldGenMatcher, newGenMatcher);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -207,27 +211,31 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenMatcher(GenMatcher newGenMatcher) {
- if(newGenMatcher != genMatcher) {
+ if (newGenMatcher != genMatcher) {
NotificationChain msgs = null;
- if(genMatcher != null)
- msgs = ((InternalEObject)genMatcher).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
- if(newGenMatcher != null)
- msgs = ((InternalEObject)newGenMatcher).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ if (genMatcher != null) {
+ msgs = ((InternalEObject) genMatcher).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ }
+ if (newGenMatcher != null) {
+ msgs = ((InternalEObject) newGenMatcher).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, null, msgs);
+ }
msgs = basicSetGenMatcher(newGenMatcher, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER, newGenMatcher, newGenMatcher));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public GenHelper getGenHelper() {
@@ -237,18 +245,19 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public NotificationChain basicSetGenHelper(GenHelper newGenHelper, NotificationChain msgs) {
GenHelper oldGenHelper = genHelper;
genHelper = newGenHelper;
- if(eNotificationRequired()) {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, oldGenHelper, newGenHelper);
- if(msgs == null)
+ if (msgs == null) {
msgs = notification;
- else
+ } else {
msgs.add(notification);
+ }
}
return msgs;
}
@@ -256,32 +265,36 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setGenHelper(GenHelper newGenHelper) {
- if(newGenHelper != genHelper) {
+ if (newGenHelper != genHelper) {
NotificationChain msgs = null;
- if(genHelper != null)
- msgs = ((InternalEObject)genHelper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
- if(newGenHelper != null)
- msgs = ((InternalEObject)newGenHelper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ if (genHelper != null) {
+ msgs = ((InternalEObject) genHelper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ }
+ if (newGenHelper != null) {
+ msgs = ((InternalEObject) newGenHelper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, null, msgs);
+ }
msgs = basicSetGenHelper(newGenHelper, msgs);
- if(msgs != null)
+ if (msgs != null) {
msgs.dispatch();
- } else if(eNotificationRequired())
+ }
+ } else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER, newGenHelper, newGenHelper));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
return basicSetGenMatcher(null, msgs);
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
@@ -293,15 +306,16 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- if(resolve)
+ if (resolve) {
return getRef();
+ }
return basicGetRef();
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
return getMatcher();
@@ -316,23 +330,23 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- setRef((ElementType)newValue);
+ setRef((ElementType) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
- setMatcher((String)newValue);
+ setMatcher((String) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
- setGenMatcher((GenMatcher)newValue);
+ setGenMatcher((GenMatcher) newValue);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
- setGenHelper((GenHelper)newValue);
+ setGenHelper((GenHelper) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -341,23 +355,23 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
- setRef((ElementType)null);
+ setRef((ElementType) null);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
setMatcher(MATCHER_EDEFAULT);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_MATCHER:
- setGenMatcher((GenMatcher)null);
+ setGenMatcher((GenMatcher) null);
return;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__GEN_HELPER:
- setGenHelper((GenHelper)null);
+ setGenHelper((GenHelper) null);
return;
}
super.eUnset(featureID);
@@ -366,12 +380,12 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__REF:
return ref != null;
case DomaincontextcodegenPackage.SPECIALIZATION_TYPE__MATCHER:
@@ -387,13 +401,14 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (matcher: ");
@@ -402,4 +417,4 @@ public class SpecializationTypeImpl extends ElementTypeImpl implements Specializ
return result.toString();
}
-} //SpecializationTypeImpl
+} // SpecializationTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
index f19783d7a4c..58e592e0535 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementHelperImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementHelperImpl#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StereotypedElementHelperImpl extends GenHelperImpl implements StereotypedElementHelper {
@@ -34,7 +34,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -45,7 +45,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -78,7 +78,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -89,7 +89,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -100,7 +100,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The default value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -111,7 +111,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
* The cached value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementHelperImpl() {
@@ -131,7 +131,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -142,7 +142,7 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypeName() {
@@ -152,20 +152,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypeName(String newStereotypeName) {
String oldStereotypeName = stereotypeName;
stereotypeName = newStereotypeName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME, oldStereotypeName, stereotypeName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypePackage() {
@@ -175,20 +176,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypePackage(String newStereotypePackage) {
String oldStereotypePackage = stereotypePackage;
stereotypePackage = newStereotypePackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE, oldStereotypePackage, stereotypePackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementName() {
@@ -198,20 +200,21 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementName(String newBaseElementName) {
String oldBaseElementName = baseElementName;
baseElementName = newBaseElementName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME, oldBaseElementName, baseElementName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementPackage() {
@@ -221,25 +224,26 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementPackage(String newBaseElementPackage) {
String oldBaseElementPackage = baseElementPackage;
baseElementPackage = newBaseElementPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE, oldBaseElementPackage, baseElementPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
return getStereotypeName();
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
@@ -255,23 +259,23 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
- setStereotypeName((String)newValue);
+ setStereotypeName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
- setStereotypePackage((String)newValue);
+ setStereotypePackage((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_NAME:
- setBaseElementName((String)newValue);
+ setBaseElementName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__BASE_ELEMENT_PACKAGE:
- setBaseElementPackage((String)newValue);
+ setBaseElementPackage((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -280,12 +284,12 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
setStereotypeName(STEREOTYPE_NAME_EDEFAULT);
return;
@@ -305,12 +309,12 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_NAME:
return STEREOTYPE_NAME_EDEFAULT == null ? stereotypeName != null : !STEREOTYPE_NAME_EDEFAULT.equals(stereotypeName);
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER__STEREOTYPE_PACKAGE:
@@ -326,13 +330,14 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (stereotypeName: ");
@@ -347,4 +352,4 @@ public class StereotypedElementHelperImpl extends GenHelperImpl implements Stere
return result.toString();
}
-} //StereotypedElementHelperImpl
+} // StereotypedElementHelperImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
index 5456f04c403..0ca45ca5bed 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/impl/StereotypedElementMatcherImpl.java
@@ -25,7 +25,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* <li>{@link org.eclipse.papyrus.domaincontextcodegen.impl.StereotypedElementMatcherImpl#getBaseElementPackage <em>Base Element Package</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StereotypedElementMatcherImpl extends GenMatcherImpl implements StereotypedElementMatcher {
@@ -34,7 +34,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -45,7 +45,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getStereotypeName() <em>Stereotype Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypeName()
* @generated
* @ordered
@@ -56,7 +56,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -67,7 +67,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getStereotypePackage() <em>Stereotype Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getStereotypePackage()
* @generated
* @ordered
@@ -78,7 +78,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -89,7 +89,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getBaseElementName() <em>Base Element Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementName()
* @generated
* @ordered
@@ -100,7 +100,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The default value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -111,7 +111,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
* The cached value of the '{@link #getBaseElementPackage() <em>Base Element Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBaseElementPackage()
* @generated
* @ordered
@@ -121,7 +121,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected StereotypedElementMatcherImpl() {
@@ -131,7 +131,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
@@ -142,7 +142,7 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypeName() {
@@ -152,20 +152,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypeName(String newStereotypeName) {
String oldStereotypeName = stereotypeName;
stereotypeName = newStereotypeName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME, oldStereotypeName, stereotypeName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getStereotypePackage() {
@@ -175,20 +176,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setStereotypePackage(String newStereotypePackage) {
String oldStereotypePackage = stereotypePackage;
stereotypePackage = newStereotypePackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE, oldStereotypePackage, stereotypePackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementName() {
@@ -198,20 +200,21 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementName(String newBaseElementName) {
String oldBaseElementName = baseElementName;
baseElementName = newBaseElementName;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME, oldBaseElementName, baseElementName));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String getBaseElementPackage() {
@@ -221,25 +224,26 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public void setBaseElementPackage(String newBaseElementPackage) {
String oldBaseElementPackage = baseElementPackage;
baseElementPackage = newBaseElementPackage;
- if(eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE, oldBaseElementPackage, baseElementPackage));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
return getStereotypeName();
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
@@ -255,23 +259,23 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
- setStereotypeName((String)newValue);
+ setStereotypeName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
- setStereotypePackage((String)newValue);
+ setStereotypePackage((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_NAME:
- setBaseElementName((String)newValue);
+ setBaseElementName((String) newValue);
return;
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__BASE_ELEMENT_PACKAGE:
- setBaseElementPackage((String)newValue);
+ setBaseElementPackage((String) newValue);
return;
}
super.eSet(featureID, newValue);
@@ -280,12 +284,12 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
setStereotypeName(STEREOTYPE_NAME_EDEFAULT);
return;
@@ -305,12 +309,12 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
+ switch (featureID) {
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_NAME:
return STEREOTYPE_NAME_EDEFAULT == null ? stereotypeName != null : !STEREOTYPE_NAME_EDEFAULT.equals(stereotypeName);
case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER__STEREOTYPE_PACKAGE:
@@ -326,13 +330,14 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
+ if (eIsProxy()) {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (stereotypeName: ");
@@ -347,4 +352,4 @@ public class StereotypedElementMatcherImpl extends GenMatcherImpl implements Ste
return result.toString();
}
-} //StereotypedElementMatcherImpl
+} // StereotypedElementMatcherImpl
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
index c4717c77403..ee677dbc959 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenAdapterFactory.java
@@ -35,7 +35,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* 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.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -45,7 +45,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static DomaincontextcodegenPackage modelPackage;
@@ -54,11 +54,11 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DomaincontextcodegenPackage.eINSTANCE;
}
}
@@ -68,17 +68,17 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -87,7 +87,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected DomaincontextcodegenSwitch<Adapter> modelSwitch = new DomaincontextcodegenSwitch<Adapter>() {
@@ -192,15 +192,15 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
- * the object to adapt.
+ * 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);
}
/**
@@ -209,7 +209,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.DomainContext
* @generated
@@ -224,7 +224,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypes
* @generated
@@ -239,7 +239,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementType
* @generated
@@ -254,7 +254,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.MetaClassType
* @generated
@@ -264,13 +264,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.SpecializationType <em>Specialization Type</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.SpecializationType
* @generated
@@ -285,7 +284,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Advice
* @generated
@@ -301,7 +300,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBindings
* @generated
@@ -316,7 +315,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.AdviceBinding
* @generated
@@ -331,7 +330,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Binding
* @generated
@@ -341,13 +340,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding <em>Element Type Binding</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.ElementTypeBinding
* @generated
@@ -362,7 +360,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHandlers
* @generated
@@ -377,7 +375,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenMatcher
* @generated
@@ -392,7 +390,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.GenHelper
* @generated
@@ -408,7 +406,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher
* @generated
@@ -424,7 +422,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.StereotypedElementHelper
* @generated
@@ -439,7 +437,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.MenuDeclaration
* @generated
@@ -449,13 +447,12 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>}
- * '.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration <em>Command Declaration</em>} '.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.CommandDeclaration
* @generated
@@ -470,7 +467,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.domaincontextcodegen.Command
* @generated
@@ -484,7 +481,7 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
@@ -492,4 +489,4 @@ public class DomaincontextcodegenAdapterFactory extends AdapterFactoryImpl {
return null;
}
-} //DomaincontextcodegenAdapterFactory
+} // DomaincontextcodegenAdapterFactory
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
index e0f95a4a220..1492533ad2a 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/src/org/eclipse/papyrus/domaincontextcodegen/util/DomaincontextcodegenSwitch.java
@@ -38,7 +38,7 @@ import org.eclipse.papyrus.domaincontextcodegen.StereotypedElementMatcher;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage
* @generated
*/
@@ -48,7 +48,7 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static DomaincontextcodegenPackage modelPackage;
@@ -57,11 +57,11 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public DomaincontextcodegenSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = DomaincontextcodegenPackage.eINSTANCE;
}
}
@@ -70,7 +70,7 @@ public class DomaincontextcodegenSwitch<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
@@ -84,167 +84,173 @@ public class DomaincontextcodegenSwitch<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 DomaincontextcodegenPackage.DOMAIN_CONTEXT:
- {
- DomainContext domainContext = (DomainContext)theEObject;
+ switch (classifierID) {
+ case DomaincontextcodegenPackage.DOMAIN_CONTEXT: {
+ DomainContext domainContext = (DomainContext) theEObject;
T result = caseDomainContext(domainContext);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPES:
- {
- ElementTypes elementTypes = (ElementTypes)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPES: {
+ ElementTypes elementTypes = (ElementTypes) theEObject;
T result = caseElementTypes(elementTypes);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE:
- {
- ElementType elementType = (ElementType)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE: {
+ ElementType elementType = (ElementType) theEObject;
T result = caseElementType(elementType);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.META_CLASS_TYPE:
- {
- MetaClassType metaClassType = (MetaClassType)theEObject;
+ case DomaincontextcodegenPackage.META_CLASS_TYPE: {
+ MetaClassType metaClassType = (MetaClassType) theEObject;
T result = caseMetaClassType(metaClassType);
- if(result == null)
+ if (result == null) {
result = caseElementType(metaClassType);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.SPECIALIZATION_TYPE:
- {
- SpecializationType specializationType = (SpecializationType)theEObject;
+ case DomaincontextcodegenPackage.SPECIALIZATION_TYPE: {
+ SpecializationType specializationType = (SpecializationType) theEObject;
T result = caseSpecializationType(specializationType);
- if(result == null)
+ if (result == null) {
result = caseElementType(specializationType);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ADVICE:
- {
- Advice advice = (Advice)theEObject;
+ case DomaincontextcodegenPackage.ADVICE: {
+ Advice advice = (Advice) theEObject;
T result = caseAdvice(advice);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS:
- {
- ElementTypeBindings elementTypeBindings = (ElementTypeBindings)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDINGS: {
+ ElementTypeBindings elementTypeBindings = (ElementTypeBindings) theEObject;
T result = caseElementTypeBindings(elementTypeBindings);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.BINDING:
- {
- Binding binding = (Binding)theEObject;
+ case DomaincontextcodegenPackage.BINDING: {
+ Binding binding = (Binding) theEObject;
T result = caseBinding(binding);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING:
- {
- ElementTypeBinding elementTypeBinding = (ElementTypeBinding)theEObject;
+ case DomaincontextcodegenPackage.ELEMENT_TYPE_BINDING: {
+ ElementTypeBinding elementTypeBinding = (ElementTypeBinding) theEObject;
T result = caseElementTypeBinding(elementTypeBinding);
- if(result == null)
+ if (result == null) {
result = caseBinding(elementTypeBinding);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.ADVICE_BINDING:
- {
- AdviceBinding adviceBinding = (AdviceBinding)theEObject;
+ case DomaincontextcodegenPackage.ADVICE_BINDING: {
+ AdviceBinding adviceBinding = (AdviceBinding) theEObject;
T result = caseAdviceBinding(adviceBinding);
- if(result == null)
+ if (result == null) {
result = caseBinding(adviceBinding);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_HANDLERS:
- {
- GenHandlers genHandlers = (GenHandlers)theEObject;
+ case DomaincontextcodegenPackage.GEN_HANDLERS: {
+ GenHandlers genHandlers = (GenHandlers) theEObject;
T result = caseGenHandlers(genHandlers);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_MATCHER:
- {
- GenMatcher genMatcher = (GenMatcher)theEObject;
+ case DomaincontextcodegenPackage.GEN_MATCHER: {
+ GenMatcher genMatcher = (GenMatcher) theEObject;
T result = caseGenMatcher(genMatcher);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.GEN_HELPER:
- {
- GenHelper genHelper = (GenHelper)theEObject;
+ case DomaincontextcodegenPackage.GEN_HELPER: {
+ GenHelper genHelper = (GenHelper) theEObject;
T result = caseGenHelper(genHelper);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER:
- {
- StereotypedElementMatcher stereotypedElementMatcher = (StereotypedElementMatcher)theEObject;
+ case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_MATCHER: {
+ StereotypedElementMatcher stereotypedElementMatcher = (StereotypedElementMatcher) theEObject;
T result = caseStereotypedElementMatcher(stereotypedElementMatcher);
- if(result == null)
+ if (result == null) {
result = caseGenMatcher(stereotypedElementMatcher);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER:
- {
- StereotypedElementHelper stereotypedElementHelper = (StereotypedElementHelper)theEObject;
+ case DomaincontextcodegenPackage.STEREOTYPED_ELEMENT_HELPER: {
+ StereotypedElementHelper stereotypedElementHelper = (StereotypedElementHelper) theEObject;
T result = caseStereotypedElementHelper(stereotypedElementHelper);
- if(result == null)
+ if (result == null) {
result = caseGenHelper(stereotypedElementHelper);
- if(result == null)
+ }
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.MENU_DECLARATION:
- {
- MenuDeclaration menuDeclaration = (MenuDeclaration)theEObject;
+ case DomaincontextcodegenPackage.MENU_DECLARATION: {
+ MenuDeclaration menuDeclaration = (MenuDeclaration) theEObject;
T result = caseMenuDeclaration(menuDeclaration);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.COMMAND_DECLARATION:
- {
- CommandDeclaration commandDeclaration = (CommandDeclaration)theEObject;
+ case DomaincontextcodegenPackage.COMMAND_DECLARATION: {
+ CommandDeclaration commandDeclaration = (CommandDeclaration) theEObject;
T result = caseCommandDeclaration(commandDeclaration);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
- case DomaincontextcodegenPackage.COMMAND:
- {
- Command command = (Command)theEObject;
+ case DomaincontextcodegenPackage.COMMAND: {
+ Command command = (Command) theEObject;
T result = caseCommand(command);
- if(result == null)
+ if (result == null) {
result = defaultCase(theEObject);
+ }
return result;
}
default:
@@ -258,9 +264,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Domain Context</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -275,9 +281,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Types</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -292,9 +298,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -309,9 +315,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Meta Class Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -326,9 +332,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Specialization Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -343,9 +349,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Advice</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -360,9 +366,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type Bindings</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -377,9 +383,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Advice Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -394,9 +400,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -411,9 +417,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Element Type Binding</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -428,9 +434,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Handlers</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -445,9 +451,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Matcher</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -462,9 +468,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Gen Helper</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -479,9 +485,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Stereotyped Element Matcher</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -496,9 +502,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Stereotyped Element Helper</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -513,9 +519,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Menu Declaration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -530,9 +536,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Command Declaration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -547,9 +553,9 @@ public class DomaincontextcodegenSwitch<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.
+ * the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Command</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -564,9 +570,9 @@ public class DomaincontextcodegenSwitch<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.
+ * 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
@@ -576,4 +582,4 @@ public class DomaincontextcodegenSwitch<T> extends Switch<T> {
return null;
}
-} //DomaincontextcodegenSwitch
+} // DomaincontextcodegenSwitch
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java
index eb6e1300ed4..a1e9db722fa 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateHandlers.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:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -30,380 +30,371 @@ import org.eclipse.emf.ecore.resource.ResourceSet;
* @generated
*/
public class GenerateHandlers extends AbstractAcceleoGenerator {
- /**
- * The name of the module.
- *
- * @generated
- */
- public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateHandlers";
-
- /**
- * The name of the templates that are to be generated.
- *
- * @generated
- */
- public static final String[] TEMPLATE_NAMES = { "generateHandlers" };
-
- /**
- * The list of properties files from the launch parameters (Launch configuration).
- *
- * @generated
- */
- private List<String> propertiesFiles = new ArrayList<String>();
-
- /**
- * Allows the public constructor to be used. Note that a generator created
- * this way cannot be used to launch generations before one of
- * {@link #initialize(EObject, File, List)} or
- * {@link #initialize(URI, File, List)} is called.
- * <p>
- * The main reason for this constructor is to allow clients of this
- * generation to call it from another Java file, as it allows for the
- * retrieval of {@link #getProperties()} and
- * {@link #getGenerationListeners()}.
- * </p>
- *
- * @generated
- */
- public GenerateHandlers() {
- // Empty implementation
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param modelURI
- * URI where the model on which this generator will be used is located.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
- * the model cannot be loaded.
- * @generated
- */
- public GenerateHandlers(URI modelURI, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(modelURI, targetFolder, arguments);
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param model
- * We'll iterate over the content of this element to find Objects matching the first parameter
- * of the template we need to call.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
- * @generated
- */
- public GenerateHandlers(EObject model, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(model, targetFolder, arguments);
- }
-
- /**
- * This can be used to launch the generation from a standalone application.
- *
- * @param args
- * Arguments of the generation.
- * @generated
- */
- public static void main(String[] args) {
- try {
- if (args.length < 2) {
- System.out.println("Arguments not valid : {model, folder}.");
- } else {
- URI modelURI = URI.createFileURI(args[0]);
- File folder = new File(args[1]);
-
- List<String> arguments = new ArrayList<String>();
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * Add in this list all the arguments used by the starting point of the generation
- * If your main template is called on an element of your model and a String, you can
- * add in "arguments" this "String" attribute.
- */
-
- GenerateHandlers generator = new GenerateHandlers(modelURI, folder, arguments);
-
- /*
- * Add the properties from the launch arguments.
- * If you want to programmatically add new properties, add them in "propertiesFiles"
- * You can add the absolute path of a properties files, or even a project relative path.
- * If you want to add another "protocol" for your properties files, please override
- * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
- * The behavior of the properties loader service is explained in the Acceleo documentation
- * (Help -> Help Contents).
- */
-
- for (int i = 2; i < args.length; i++) {
- generator.addPropertiesFile(args[i]);
- }
-
- generator.doGenerate(new BasicMonitor());
- }
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- /**
- * Launches the generation described by this instance.
- *
- * @param monitor
- * This will be used to display progress information to the user.
- * @throws IOException
- * This will be thrown if any of the output files cannot be saved to disk.
- * @generated
- */
- @Override
- public void doGenerate(Monitor monitor) throws IOException {
- /*
- * TODO if you wish to change the generation as a whole, override this. The default behavior should
- * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
- * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
- * any compilation of the Acceleo module with the main template that has caused the creation of this
- * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
- * generation, you can remove the comments in the following instructions to check for problems. Please
- * note that those instructions may have a significant impact on the performances.
- */
-
- //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
-
- /*
- * If you want to check for potential errors in your models before the launch of the generation, you
- * use the code below.
- */
-
- //if (model != null && model.eResource() != null) {
- // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
- // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
- // System.err.println(diagnostic.toString());
- // }
- //}
-
- super.doGenerate(monitor);
- }
-
- /**
- * If this generator needs to listen to text generation events, listeners can be returned from here.
- *
- * @return List of listeners that are to be notified when text is generated through this launch.
- * @generated
- */
- @Override
- public List<IAcceleoTextGenerationListener> getGenerationListeners() {
- List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
- /*
- * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
- * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
- * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
- * that has caused the creation of this class will revert your modifications.
- */
- return listeners;
- }
-
- /**
- * If you need to change the way files are generated, this is your entry point.
- * <p>
- * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates
- * files on the fly. If you only need to preview the results, return a new
- * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of
- * the running Eclipse and can be used standalone.
- * </p>
- * <p>
- * If you need the file generation to be aware of the workspace (A typical example is when you wanna
- * override files that are under clear case or any other VCS that could forbid the overriding), then
- * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}.
- * <b>Note</b>, however, that this <b>cannot</b> be used standalone.
- * </p>
- * <p>
- * All three of these default strategies support merging through JMerge.
- * </p>
- *
- * @return The generation strategy that is to be used for generations launched through this launcher.
- * @generated
- */
- @Override
- public IAcceleoGenerationStrategy getGenerationStrategy() {
- return super.getGenerationStrategy();
- }
-
- /**
- * This will be called in order to find and load the module that will be launched through this launcher.
- * We expect this name not to contain file extension, and the module to be located beside the launcher.
- *
- * @return The name of the module that is to be launched.
- * @generated
- */
- @Override
- public String getModuleName() {
- return MODULE_FILE_NAME;
- }
-
- /**
- * If the module(s) called by this launcher require properties files, return their qualified path from
- * here.Take note that the first added properties files will take precedence over subsequent ones if they
- * contain conflicting keys.
- *
- * @return The list of properties file we need to add to the generation context.
- * @see java.util.ResourceBundle#getBundle(String)
- * @generated
- */
- @Override
- public List<String> getProperties() {
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO if your generation module requires access to properties files, add their qualified path to the list here.
- *
- * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
- * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
- * files to the "propertiesFiles" list:
- *
- * final String prefix = "platform:/plugin/";
- * final String pluginName = "org.eclipse.acceleo.module.sample";
- * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
- * final String fileName = "default.properties";
- * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
- *
- * With this mechanism, you can load properties files from your plugin or from another plugin.
- *
- * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
- *
- * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
- *
- * If you want to let your users add properties files located in the same folder as the model:
- *
- * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
- * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
- * }
- *
- * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- return propertiesFiles;
- }
-
- /**
- * Adds a properties file in the list of properties files.
- *
- * @param propertiesFile
- * The properties file to add.
- * @generated
- * @since 3.1
- */
- @Override
- public void addPropertiesFile(String propertiesFile) {
- this.propertiesFiles.add(propertiesFile);
- }
-
- /**
- * This will be used to get the list of templates that are to be launched by this launcher.
- *
- * @return The list of templates to call on the module {@link #getModuleName()}.
- * @generated
- */
- @Override
- public String[] getTemplateNames() {
- return TEMPLATE_NAMES;
- }
-
- /**
- * This can be used to update the resource set's package registry with all needed EPackages.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerPackages(ResourceSet resourceSet) {
- super.registerPackages(resourceSet);
- if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
- resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
- }
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * If you need additional package registrations, you can register them here. The following line
- * (in comment) is an example of the package registration for UML.
- *
- * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
- * register is in the workspace.
- *
- * To register a package properly, please follow the following conventions:
- *
- * If the package is located in another plug-in, already installed in Eclipse. The following content should
- * have been generated at the beginning of this method. Do not register the package using this mechanism if
- * the metamodel is located in the workspace.
- *
- * if (!isInWorkspace(UMLPackage.class)) {
- * // The normal package registration if your metamodel is in a plugin.
- * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
- * }
- *
- * If the package is located in another project in your workspace, the plugin containing the package has not
- * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
- * stand alone, the regular registration (seen a couple lines before) is needed.
- *
- * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- }
-
- /**
- * This can be used to update the resource set's resource factory registry with all needed factories.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerResourceFactories(ResourceSet resourceSet) {
- super.registerResourceFactories(resourceSet);
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO If you need additional resource factories registrations, you can register them here. the following line
- * (in comment) is an example of the resource factory registration for UML.
- *
- * If you want to use the generator in stand alone, the resource factory registration will be required.
- *
- * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
- */
-
- // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
- }
-
+ /**
+ * The name of the module.
+ *
+ * @generated
+ */
+ public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateHandlers";
+
+ /**
+ * The name of the templates that are to be generated.
+ *
+ * @generated
+ */
+ public static final String[] TEMPLATE_NAMES = { "generateHandlers" };
+
+ /**
+ * The list of properties files from the launch parameters (Launch configuration).
+ *
+ * @generated
+ */
+ private List<String> propertiesFiles = new ArrayList<String>();
+
+ /**
+ * Allows the public constructor to be used. Note that a generator created
+ * this way cannot be used to launch generations before one of {@link #initialize(EObject, File, List)} or {@link #initialize(URI, File, List)} is called.
+ * <p>
+ * The main reason for this constructor is to allow clients of this generation to call it from another Java file, as it allows for the retrieval of {@link #getProperties()} and {@link #getGenerationListeners()}.
+ * </p>
+ *
+ * @generated
+ */
+ public GenerateHandlers() {
+ // Empty implementation
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param modelURI
+ * URI where the model on which this generator will be used is located.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
+ * the model cannot be loaded.
+ * @generated
+ */
+ public GenerateHandlers(URI modelURI, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(modelURI, targetFolder, arguments);
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param model
+ * We'll iterate over the content of this element to find Objects matching the first parameter
+ * of the template we need to call.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
+ * @generated
+ */
+ public GenerateHandlers(EObject model, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(model, targetFolder, arguments);
+ }
+
+ /**
+ * This can be used to launch the generation from a standalone application.
+ *
+ * @param args
+ * Arguments of the generation.
+ * @generated
+ */
+ public static void main(String[] args) {
+ try {
+ if (args.length < 2) {
+ System.out.println("Arguments not valid : {model, folder}.");
+ } else {
+ URI modelURI = URI.createFileURI(args[0]);
+ File folder = new File(args[1]);
+
+ List<String> arguments = new ArrayList<String>();
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * Add in this list all the arguments used by the starting point of the generation
+ * If your main template is called on an element of your model and a String, you can
+ * add in "arguments" this "String" attribute.
+ */
+
+ GenerateHandlers generator = new GenerateHandlers(modelURI, folder, arguments);
+
+ /*
+ * Add the properties from the launch arguments.
+ * If you want to programmatically add new properties, add them in "propertiesFiles"
+ * You can add the absolute path of a properties files, or even a project relative path.
+ * If you want to add another "protocol" for your properties files, please override
+ * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
+ * The behavior of the properties loader service is explained in the Acceleo documentation
+ * (Help -> Help Contents).
+ */
+
+ for (int i = 2; i < args.length; i++) {
+ generator.addPropertiesFile(args[i]);
+ }
+
+ generator.doGenerate(new BasicMonitor());
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Launches the generation described by this instance.
+ *
+ * @param monitor
+ * This will be used to display progress information to the user.
+ * @throws IOException
+ * This will be thrown if any of the output files cannot be saved to disk.
+ * @generated
+ */
+ @Override
+ public void doGenerate(Monitor monitor) throws IOException {
+ /*
+ * TODO if you wish to change the generation as a whole, override this. The default behavior should
+ * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
+ * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
+ * any compilation of the Acceleo module with the main template that has caused the creation of this
+ * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
+ * generation, you can remove the comments in the following instructions to check for problems. Please
+ * note that those instructions may have a significant impact on the performances.
+ */
+
+ // org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
+
+ /*
+ * If you want to check for potential errors in your models before the launch of the generation, you
+ * use the code below.
+ */
+
+ // if (model != null && model.eResource() != null) {
+ // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
+ // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
+ // System.err.println(diagnostic.toString());
+ // }
+ // }
+
+ super.doGenerate(monitor);
+ }
+
+ /**
+ * If this generator needs to listen to text generation events, listeners can be returned from here.
+ *
+ * @return List of listeners that are to be notified when text is generated through this launch.
+ * @generated
+ */
+ @Override
+ public List<IAcceleoTextGenerationListener> getGenerationListeners() {
+ List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
+ /*
+ * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
+ * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
+ * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
+ * that has caused the creation of this class will revert your modifications.
+ */
+ return listeners;
+ }
+
+ /**
+ * If you need to change the way files are generated, this is your entry point.
+ * <p>
+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates files on the fly. If you only need to preview the results, return a new {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of
+ * these aren't aware of the running Eclipse and can be used standalone.
+ * </p>
+ * <p>
+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna override files that are under clear case or any other VCS that could forbid the overriding), then return a new
+ * {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. <b>Note</b>, however, that this <b>cannot</b> be used standalone.
+ * </p>
+ * <p>
+ * All three of these default strategies support merging through JMerge.
+ * </p>
+ *
+ * @return The generation strategy that is to be used for generations launched through this launcher.
+ * @generated
+ */
+ @Override
+ public IAcceleoGenerationStrategy getGenerationStrategy() {
+ return super.getGenerationStrategy();
+ }
+
+ /**
+ * This will be called in order to find and load the module that will be launched through this launcher.
+ * We expect this name not to contain file extension, and the module to be located beside the launcher.
+ *
+ * @return The name of the module that is to be launched.
+ * @generated
+ */
+ @Override
+ public String getModuleName() {
+ return MODULE_FILE_NAME;
+ }
+
+ /**
+ * If the module(s) called by this launcher require properties files, return their qualified path from
+ * here.Take note that the first added properties files will take precedence over subsequent ones if they
+ * contain conflicting keys.
+ *
+ * @return The list of properties file we need to add to the generation context.
+ * @see java.util.ResourceBundle#getBundle(String)
+ * @generated
+ */
+ @Override
+ public List<String> getProperties() {
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO if your generation module requires access to properties files, add their qualified path to the list here.
+ *
+ * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
+ * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
+ * files to the "propertiesFiles" list:
+ *
+ * final String prefix = "platform:/plugin/";
+ * final String pluginName = "org.eclipse.acceleo.module.sample";
+ * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
+ * final String fileName = "default.properties";
+ * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
+ *
+ * With this mechanism, you can load properties files from your plugin or from another plugin.
+ *
+ * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
+ *
+ * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
+ *
+ * If you want to let your users add properties files located in the same folder as the model:
+ *
+ * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
+ * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
+ * }
+ *
+ * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ return propertiesFiles;
+ }
+
+ /**
+ * Adds a properties file in the list of properties files.
+ *
+ * @param propertiesFile
+ * The properties file to add.
+ * @generated
+ * @since 3.1
+ */
+ @Override
+ public void addPropertiesFile(String propertiesFile) {
+ this.propertiesFiles.add(propertiesFile);
+ }
+
+ /**
+ * This will be used to get the list of templates that are to be launched by this launcher.
+ *
+ * @return The list of templates to call on the module {@link #getModuleName()}.
+ * @generated
+ */
+ @Override
+ public String[] getTemplateNames() {
+ return TEMPLATE_NAMES;
+ }
+
+ /**
+ * This can be used to update the resource set's package registry with all needed EPackages.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerPackages(ResourceSet resourceSet) {
+ super.registerPackages(resourceSet);
+ if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
+ resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
+ }
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * If you need additional package registrations, you can register them here. The following line
+ * (in comment) is an example of the package registration for UML.
+ *
+ * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
+ * register is in the workspace.
+ *
+ * To register a package properly, please follow the following conventions:
+ *
+ * If the package is located in another plug-in, already installed in Eclipse. The following content should
+ * have been generated at the beginning of this method. Do not register the package using this mechanism if
+ * the metamodel is located in the workspace.
+ *
+ * if (!isInWorkspace(UMLPackage.class)) {
+ * // The normal package registration if your metamodel is in a plugin.
+ * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
+ * }
+ *
+ * If the package is located in another project in your workspace, the plugin containing the package has not
+ * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
+ * stand alone, the regular registration (seen a couple lines before) is needed.
+ *
+ * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ }
+
+ /**
+ * This can be used to update the resource set's resource factory registry with all needed factories.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerResourceFactories(ResourceSet resourceSet) {
+ super.registerResourceFactories(resourceSet);
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO If you need additional resource factories registrations, you can register them here. the following line
+ * (in comment) is an example of the resource factory registration for UML.
+ *
+ * If you want to use the generator in stand alone, the resource factory registration will be required.
+ *
+ * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+
+ // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
+ }
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java
index 1ca36771d86..3366e209e76 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/GenerateTypes.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:
* Obeo - initial API and implementation
*******************************************************************************/
@@ -30,380 +30,371 @@ import org.eclipse.emf.ecore.resource.ResourceSet;
* @generated
*/
public class GenerateTypes extends AbstractAcceleoGenerator {
- /**
- * The name of the module.
- *
- * @generated
- */
- public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateTypes";
-
- /**
- * The name of the templates that are to be generated.
- *
- * @generated
- */
- public static final String[] TEMPLATE_NAMES = { "generate" };
-
- /**
- * The list of properties files from the launch parameters (Launch configuration).
- *
- * @generated
- */
- private List<String> propertiesFiles = new ArrayList<String>();
-
- /**
- * Allows the public constructor to be used. Note that a generator created
- * this way cannot be used to launch generations before one of
- * {@link #initialize(EObject, File, List)} or
- * {@link #initialize(URI, File, List)} is called.
- * <p>
- * The main reason for this constructor is to allow clients of this
- * generation to call it from another Java file, as it allows for the
- * retrieval of {@link #getProperties()} and
- * {@link #getGenerationListeners()}.
- * </p>
- *
- * @generated
- */
- public GenerateTypes() {
- // Empty implementation
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param modelURI
- * URI where the model on which this generator will be used is located.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
- * the model cannot be loaded.
- * @generated
- */
- public GenerateTypes(URI modelURI, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(modelURI, targetFolder, arguments);
- }
-
- /**
- * This allows clients to instantiates a generator with all required information.
- *
- * @param model
- * We'll iterate over the content of this element to find Objects matching the first parameter
- * of the template we need to call.
- * @param targetFolder
- * This will be used as the output folder for this generation : it will be the base path
- * against which all file block URLs will be resolved.
- * @param arguments
- * If the template which will be called requires more than one argument taken from the model,
- * pass them here.
- * @throws IOException
- * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
- * @generated
- */
- public GenerateTypes(EObject model, File targetFolder,
- List<? extends Object> arguments) throws IOException {
- initialize(model, targetFolder, arguments);
- }
-
- /**
- * This can be used to launch the generation from a standalone application.
- *
- * @param args
- * Arguments of the generation.
- * @generated
- */
- public static void main(String[] args) {
- try {
- if (args.length < 2) {
- System.out.println("Arguments not valid : {model, folder}.");
- } else {
- URI modelURI = URI.createFileURI(args[0]);
- File folder = new File(args[1]);
-
- List<String> arguments = new ArrayList<String>();
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * Add in this list all the arguments used by the starting point of the generation
- * If your main template is called on an element of your model and a String, you can
- * add in "arguments" this "String" attribute.
- */
-
- GenerateTypes generator = new GenerateTypes(modelURI, folder, arguments);
-
- /*
- * Add the properties from the launch arguments.
- * If you want to programmatically add new properties, add them in "propertiesFiles"
- * You can add the absolute path of a properties files, or even a project relative path.
- * If you want to add another "protocol" for your properties files, please override
- * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
- * The behavior of the properties loader service is explained in the Acceleo documentation
- * (Help -> Help Contents).
- */
-
- for (int i = 2; i < args.length; i++) {
- generator.addPropertiesFile(args[i]);
- }
-
- generator.doGenerate(new BasicMonitor());
- }
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- /**
- * Launches the generation described by this instance.
- *
- * @param monitor
- * This will be used to display progress information to the user.
- * @throws IOException
- * This will be thrown if any of the output files cannot be saved to disk.
- * @generated
- */
- @Override
- public void doGenerate(Monitor monitor) throws IOException {
- /*
- * TODO if you wish to change the generation as a whole, override this. The default behavior should
- * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
- * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
- * any compilation of the Acceleo module with the main template that has caused the creation of this
- * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
- * generation, you can remove the comments in the following instructions to check for problems. Please
- * note that those instructions may have a significant impact on the performances.
- */
-
- //org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
-
- /*
- * If you want to check for potential errors in your models before the launch of the generation, you
- * use the code below.
- */
-
- //if (model != null && model.eResource() != null) {
- // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
- // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
- // System.err.println(diagnostic.toString());
- // }
- //}
-
- super.doGenerate(monitor);
- }
-
- /**
- * If this generator needs to listen to text generation events, listeners can be returned from here.
- *
- * @return List of listeners that are to be notified when text is generated through this launch.
- * @generated
- */
- @Override
- public List<IAcceleoTextGenerationListener> getGenerationListeners() {
- List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
- /*
- * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
- * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
- * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
- * that has caused the creation of this class will revert your modifications.
- */
- return listeners;
- }
-
- /**
- * If you need to change the way files are generated, this is your entry point.
- * <p>
- * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates
- * files on the fly. If you only need to preview the results, return a new
- * {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of these aren't aware of
- * the running Eclipse and can be used standalone.
- * </p>
- * <p>
- * If you need the file generation to be aware of the workspace (A typical example is when you wanna
- * override files that are under clear case or any other VCS that could forbid the overriding), then
- * return a new {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}.
- * <b>Note</b>, however, that this <b>cannot</b> be used standalone.
- * </p>
- * <p>
- * All three of these default strategies support merging through JMerge.
- * </p>
- *
- * @return The generation strategy that is to be used for generations launched through this launcher.
- * @generated
- */
- @Override
- public IAcceleoGenerationStrategy getGenerationStrategy() {
- return super.getGenerationStrategy();
- }
-
- /**
- * This will be called in order to find and load the module that will be launched through this launcher.
- * We expect this name not to contain file extension, and the module to be located beside the launcher.
- *
- * @return The name of the module that is to be launched.
- * @generated
- */
- @Override
- public String getModuleName() {
- return MODULE_FILE_NAME;
- }
-
- /**
- * If the module(s) called by this launcher require properties files, return their qualified path from
- * here.Take note that the first added properties files will take precedence over subsequent ones if they
- * contain conflicting keys.
- *
- * @return The list of properties file we need to add to the generation context.
- * @see java.util.ResourceBundle#getBundle(String)
- * @generated
- */
- @Override
- public List<String> getProperties() {
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO if your generation module requires access to properties files, add their qualified path to the list here.
- *
- * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
- * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
- * files to the "propertiesFiles" list:
- *
- * final String prefix = "platform:/plugin/";
- * final String pluginName = "org.eclipse.acceleo.module.sample";
- * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
- * final String fileName = "default.properties";
- * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
- *
- * With this mechanism, you can load properties files from your plugin or from another plugin.
- *
- * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
- *
- * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
- *
- * If you want to let your users add properties files located in the same folder as the model:
- *
- * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
- * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
- * }
- *
- * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- return propertiesFiles;
- }
-
- /**
- * Adds a properties file in the list of properties files.
- *
- * @param propertiesFile
- * The properties file to add.
- * @generated
- * @since 3.1
- */
- @Override
- public void addPropertiesFile(String propertiesFile) {
- this.propertiesFiles.add(propertiesFile);
- }
-
- /**
- * This will be used to get the list of templates that are to be launched by this launcher.
- *
- * @return The list of templates to call on the module {@link #getModuleName()}.
- * @generated
- */
- @Override
- public String[] getTemplateNames() {
- return TEMPLATE_NAMES;
- }
-
- /**
- * This can be used to update the resource set's package registry with all needed EPackages.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerPackages(ResourceSet resourceSet) {
- super.registerPackages(resourceSet);
- if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
- resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
- }
-
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * If you need additional package registrations, you can register them here. The following line
- * (in comment) is an example of the package registration for UML.
- *
- * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
- * register is in the workspace.
- *
- * To register a package properly, please follow the following conventions:
- *
- * If the package is located in another plug-in, already installed in Eclipse. The following content should
- * have been generated at the beginning of this method. Do not register the package using this mechanism if
- * the metamodel is located in the workspace.
- *
- * if (!isInWorkspace(UMLPackage.class)) {
- * // The normal package registration if your metamodel is in a plugin.
- * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
- * }
- *
- * If the package is located in another project in your workspace, the plugin containing the package has not
- * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
- * stand alone, the regular registration (seen a couple lines before) is needed.
- *
- * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
- */
- }
-
- /**
- * This can be used to update the resource set's resource factory registry with all needed factories.
- *
- * @param resourceSet
- * The resource set which registry has to be updated.
- * @generated
- */
- @Override
- public void registerResourceFactories(ResourceSet resourceSet) {
- super.registerResourceFactories(resourceSet);
- /*
- * If you want to change the content of this method, do NOT forget to change the "@generated"
- * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
- * of the Acceleo module with the main template that has caused the creation of this class will
- * revert your modifications.
- */
-
- /*
- * TODO If you need additional resource factories registrations, you can register them here. the following line
- * (in comment) is an example of the resource factory registration for UML.
- *
- * If you want to use the generator in stand alone, the resource factory registration will be required.
- *
- * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
- */
-
- // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
- }
-
+ /**
+ * The name of the module.
+ *
+ * @generated
+ */
+ public static final String MODULE_FILE_NAME = "/org/eclipse/papyrus/domaincontextcodegen/modules/generateTypes";
+
+ /**
+ * The name of the templates that are to be generated.
+ *
+ * @generated
+ */
+ public static final String[] TEMPLATE_NAMES = { "generate" };
+
+ /**
+ * The list of properties files from the launch parameters (Launch configuration).
+ *
+ * @generated
+ */
+ private List<String> propertiesFiles = new ArrayList<String>();
+
+ /**
+ * Allows the public constructor to be used. Note that a generator created
+ * this way cannot be used to launch generations before one of {@link #initialize(EObject, File, List)} or {@link #initialize(URI, File, List)} is called.
+ * <p>
+ * The main reason for this constructor is to allow clients of this generation to call it from another Java file, as it allows for the retrieval of {@link #getProperties()} and {@link #getGenerationListeners()}.
+ * </p>
+ *
+ * @generated
+ */
+ public GenerateTypes() {
+ // Empty implementation
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param modelURI
+ * URI where the model on which this generator will be used is located.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in three scenarios : the module cannot be found, it cannot be loaded, or
+ * the model cannot be loaded.
+ * @generated
+ */
+ public GenerateTypes(URI modelURI, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(modelURI, targetFolder, arguments);
+ }
+
+ /**
+ * This allows clients to instantiates a generator with all required information.
+ *
+ * @param model
+ * We'll iterate over the content of this element to find Objects matching the first parameter
+ * of the template we need to call.
+ * @param targetFolder
+ * This will be used as the output folder for this generation : it will be the base path
+ * against which all file block URLs will be resolved.
+ * @param arguments
+ * If the template which will be called requires more than one argument taken from the model,
+ * pass them here.
+ * @throws IOException
+ * This can be thrown in two scenarios : the module cannot be found, or it cannot be loaded.
+ * @generated
+ */
+ public GenerateTypes(EObject model, File targetFolder,
+ List<? extends Object> arguments) throws IOException {
+ initialize(model, targetFolder, arguments);
+ }
+
+ /**
+ * This can be used to launch the generation from a standalone application.
+ *
+ * @param args
+ * Arguments of the generation.
+ * @generated
+ */
+ public static void main(String[] args) {
+ try {
+ if (args.length < 2) {
+ System.out.println("Arguments not valid : {model, folder}.");
+ } else {
+ URI modelURI = URI.createFileURI(args[0]);
+ File folder = new File(args[1]);
+
+ List<String> arguments = new ArrayList<String>();
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * Add in this list all the arguments used by the starting point of the generation
+ * If your main template is called on an element of your model and a String, you can
+ * add in "arguments" this "String" attribute.
+ */
+
+ GenerateTypes generator = new GenerateTypes(modelURI, folder, arguments);
+
+ /*
+ * Add the properties from the launch arguments.
+ * If you want to programmatically add new properties, add them in "propertiesFiles"
+ * You can add the absolute path of a properties files, or even a project relative path.
+ * If you want to add another "protocol" for your properties files, please override
+ * "getPropertiesLoaderService(AcceleoService)" in order to return a new property loader.
+ * The behavior of the properties loader service is explained in the Acceleo documentation
+ * (Help -> Help Contents).
+ */
+
+ for (int i = 2; i < args.length; i++) {
+ generator.addPropertiesFile(args[i]);
+ }
+
+ generator.doGenerate(new BasicMonitor());
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * Launches the generation described by this instance.
+ *
+ * @param monitor
+ * This will be used to display progress information to the user.
+ * @throws IOException
+ * This will be thrown if any of the output files cannot be saved to disk.
+ * @generated
+ */
+ @Override
+ public void doGenerate(Monitor monitor) throws IOException {
+ /*
+ * TODO if you wish to change the generation as a whole, override this. The default behavior should
+ * be sufficient in most cases. If you want to change the content of this method, do NOT forget to
+ * change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
+ * any compilation of the Acceleo module with the main template that has caused the creation of this
+ * class will revert your modifications. If you encounter a problem with an unresolved proxy during the
+ * generation, you can remove the comments in the following instructions to check for problems. Please
+ * note that those instructions may have a significant impact on the performances.
+ */
+
+ // org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);
+
+ /*
+ * If you want to check for potential errors in your models before the launch of the generation, you
+ * use the code below.
+ */
+
+ // if (model != null && model.eResource() != null) {
+ // List<org.eclipse.emf.ecore.resource.Resource.Diagnostic> errors = model.eResource().getErrors();
+ // for (org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic : errors) {
+ // System.err.println(diagnostic.toString());
+ // }
+ // }
+
+ super.doGenerate(monitor);
+ }
+
+ /**
+ * If this generator needs to listen to text generation events, listeners can be returned from here.
+ *
+ * @return List of listeners that are to be notified when text is generated through this launch.
+ * @generated
+ */
+ @Override
+ public List<IAcceleoTextGenerationListener> getGenerationListeners() {
+ List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
+ /*
+ * TODO if you need to listen to generation event, add listeners to the list here. If you want to change
+ * the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
+ * to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
+ * that has caused the creation of this class will revert your modifications.
+ */
+ return listeners;
+ }
+
+ /**
+ * If you need to change the way files are generated, this is your entry point.
+ * <p>
+ * The default is {@link org.eclipse.acceleo.engine.generation.strategy.DefaultStrategy}; it generates files on the fly. If you only need to preview the results, return a new {@link org.eclipse.acceleo.engine.generation.strategy.PreviewStrategy}. Both of
+ * these aren't aware of the running Eclipse and can be used standalone.
+ * </p>
+ * <p>
+ * If you need the file generation to be aware of the workspace (A typical example is when you wanna override files that are under clear case or any other VCS that could forbid the overriding), then return a new
+ * {@link org.eclipse.acceleo.engine.generation.strategy.WorkspaceAwareStrategy}. <b>Note</b>, however, that this <b>cannot</b> be used standalone.
+ * </p>
+ * <p>
+ * All three of these default strategies support merging through JMerge.
+ * </p>
+ *
+ * @return The generation strategy that is to be used for generations launched through this launcher.
+ * @generated
+ */
+ @Override
+ public IAcceleoGenerationStrategy getGenerationStrategy() {
+ return super.getGenerationStrategy();
+ }
+
+ /**
+ * This will be called in order to find and load the module that will be launched through this launcher.
+ * We expect this name not to contain file extension, and the module to be located beside the launcher.
+ *
+ * @return The name of the module that is to be launched.
+ * @generated
+ */
+ @Override
+ public String getModuleName() {
+ return MODULE_FILE_NAME;
+ }
+
+ /**
+ * If the module(s) called by this launcher require properties files, return their qualified path from
+ * here.Take note that the first added properties files will take precedence over subsequent ones if they
+ * contain conflicting keys.
+ *
+ * @return The list of properties file we need to add to the generation context.
+ * @see java.util.ResourceBundle#getBundle(String)
+ * @generated
+ */
+ @Override
+ public List<String> getProperties() {
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO if your generation module requires access to properties files, add their qualified path to the list here.
+ *
+ * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse
+ * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties
+ * files to the "propertiesFiles" list:
+ *
+ * final String prefix = "platform:/plugin/";
+ * final String pluginName = "org.eclipse.acceleo.module.sample";
+ * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/";
+ * final String fileName = "default.properties";
+ * propertiesFiles.add(prefix + pluginName + packagePath + fileName);
+ *
+ * With this mechanism, you can load properties files from your plugin or from another plugin.
+ *
+ * You may want to load properties files from the file system, for that you need to add the absolute path of the file:
+ *
+ * propertiesFiles.add("C:\Users\MyName\MyFile.properties");
+ *
+ * If you want to let your users add properties files located in the same folder as the model:
+ *
+ * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) {
+ * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource()));
+ * }
+ *
+ * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ return propertiesFiles;
+ }
+
+ /**
+ * Adds a properties file in the list of properties files.
+ *
+ * @param propertiesFile
+ * The properties file to add.
+ * @generated
+ * @since 3.1
+ */
+ @Override
+ public void addPropertiesFile(String propertiesFile) {
+ this.propertiesFiles.add(propertiesFile);
+ }
+
+ /**
+ * This will be used to get the list of templates that are to be launched by this launcher.
+ *
+ * @return The list of templates to call on the module {@link #getModuleName()}.
+ * @generated
+ */
+ @Override
+ public String[] getTemplateNames() {
+ return TEMPLATE_NAMES;
+ }
+
+ /**
+ * This can be used to update the resource set's package registry with all needed EPackages.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerPackages(ResourceSet resourceSet) {
+ super.registerPackages(resourceSet);
+ if (!isInWorkspace(org.eclipse.emf.ecore.EcorePackage.class)) {
+ resourceSet.getPackageRegistry().put(org.eclipse.emf.ecore.EcorePackage.eINSTANCE.getNsURI(), org.eclipse.emf.ecore.EcorePackage.eINSTANCE);
+ }
+
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * If you need additional package registrations, you can register them here. The following line
+ * (in comment) is an example of the package registration for UML.
+ *
+ * You can use the method "isInWorkspace(Class c)" to check if the package that you are about to
+ * register is in the workspace.
+ *
+ * To register a package properly, please follow the following conventions:
+ *
+ * If the package is located in another plug-in, already installed in Eclipse. The following content should
+ * have been generated at the beginning of this method. Do not register the package using this mechanism if
+ * the metamodel is located in the workspace.
+ *
+ * if (!isInWorkspace(UMLPackage.class)) {
+ * // The normal package registration if your metamodel is in a plugin.
+ * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
+ * }
+ *
+ * If the package is located in another project in your workspace, the plugin containing the package has not
+ * been register by EMF and Acceleo should register it automatically. If you want to use the generator in
+ * stand alone, the regular registration (seen a couple lines before) is needed.
+ *
+ * To learn more about Package Registration, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+ }
+
+ /**
+ * This can be used to update the resource set's resource factory registry with all needed factories.
+ *
+ * @param resourceSet
+ * The resource set which registry has to be updated.
+ * @generated
+ */
+ @Override
+ public void registerResourceFactories(ResourceSet resourceSet) {
+ super.registerResourceFactories(resourceSet);
+ /*
+ * If you want to change the content of this method, do NOT forget to change the "@generated"
+ * tag in the Javadoc of this method to "@generated NOT". Without this new tag, any compilation
+ * of the Acceleo module with the main template that has caused the creation of this class will
+ * revert your modifications.
+ */
+
+ /*
+ * TODO If you need additional resource factories registrations, you can register them here. the following line
+ * (in comment) is an example of the resource factory registration for UML.
+ *
+ * If you want to use the generator in stand alone, the resource factory registration will be required.
+ *
+ * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
+ */
+
+ // resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
+ }
+
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
index 319d5aaacfe..d19c5385a1d 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/ModelUtils.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2010 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/
@@ -20,16 +20,16 @@ public class ModelUtils {
boolean isAbstract = false;
MetaClassType mt = null;
- if(type instanceof MetaClassType) {
- mt = (MetaClassType)type;
+ if (type instanceof MetaClassType) {
+ mt = (MetaClassType) type;
isAbstract = mt.getMetaClass().isAbstract();
- } else if(type instanceof SpecializationType) {
- SpecializationType st = (SpecializationType)type;
+ } else if (type instanceof SpecializationType) {
+ SpecializationType st = (SpecializationType) type;
mt = getMetaClassType(st);
}
- if(mt != null) {
+ if (mt != null) {
isAbstract = mt.getMetaClass().isAbstract();
}
@@ -38,11 +38,11 @@ public class ModelUtils {
private MetaClassType getMetaClassType(SpecializationType st) {
- if(st.getRef() instanceof MetaClassType) {
- return (MetaClassType)st.getRef();
+ if (st.getRef() instanceof MetaClassType) {
+ return (MetaClassType) st.getRef();
- } else if(st.getRef() instanceof SpecializationType) {
- return getMetaClassType((SpecializationType)st.getRef());
+ } else if (st.getRef() instanceof SpecializationType) {
+ return getMetaClassType((SpecializationType) st.getRef());
}
diff --git a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
index e7e150fc9e6..e0a8aee4d42 100644
--- a/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
+++ b/plugins/developer/org.eclipse.papyrus.domaincontextcodegen/transforsrc/org/eclipse/papyrus/domaincontextcodegen/modules/utils/StringUtils.java
@@ -1,9 +1,9 @@
/*******************************************************************************
* Copyright (c) 2010 CEA LIST.
* All rights reserved. This program and the accompanying materials
- * are property of the CEA, their use is subject to specific agreement
+ * are property of the CEA, their use is subject to specific agreement
* with the CEA.
- *
+ *
* Contributors:
* CEA LIST - initial API and implementation
*******************************************************************************/

Back to the top