Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tessier2016-03-04 05:10:13 -0500
committerPatrick Tessier2016-03-04 08:25:25 -0500
commit8fbf09bd088bf346b366559ef1300dc26bfaf99d (patch)
tree2d2e0b4547c678b75e0e76d3096669965105600e /plugins/developer/org.eclipse.papyrus.gmfgenextension
parent5501b880c052520751c02693f61b999aabe11bbb (diff)
downloadorg.eclipse.papyrus-8fbf09bd088bf346b366559ef1300dc26bfaf99d.tar.gz
org.eclipse.papyrus-8fbf09bd088bf346b366559ef1300dc26bfaf99d.tar.xz
org.eclipse.papyrus-8fbf09bd088bf346b366559ef1300dc26bfaf99d.zip
Bug 472147: [developer]: refactoring of o.e.p.domaincontextcodegen
Change-Id: I9e2a9e28253831b5fd40c5fbab8ed941bf43b7ec Signed-off-by: Patrick Tessier <Patrick.Tessier@cea.fr>
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.gmfgenextension')
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/META-INF/MANIFEST.MF1
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.ecore4
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.genmodel6
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java41
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java19
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java27
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java27
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java113
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java30
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java29
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java56
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalElementTypesLibrary.java18
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java53
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java28
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenVisualTypeProvider.java227
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenerateUsingElementTypeCreationCommand.java10
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java101
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java48
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java22
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java20
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java94
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java992
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java31
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java26
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java25
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificNodePlate.java31
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java177
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java126
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java126
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java91
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java91
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java49
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java347
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java92
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java91
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java238
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java223
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java170
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java98
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenVisualTypeProviderImpl.java360
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java15
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java180
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java59
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java62
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java90
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java218
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java661
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java93
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java69
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java54
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java54
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificNodePlateImpl.java115
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java510
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionSwitch.java829
65 files changed, 2843 insertions, 4879 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/.settings/org.eclipse.core.resources.prefs b/plugins/developer/org.eclipse.papyrus.gmfgenextension/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 2ee1519f197..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/org/eclipse/papyrus/papyrusgmfgenextension/popupaction/messages.properties=ISO-8859-1
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.gmfgenextension/META-INF/MANIFEST.MF
index 0aa105c6d36..9ed0dd4ea2c 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/META-INF/MANIFEST.MF
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/META-INF/MANIFEST.MF
@@ -1,7 +1,6 @@
Manifest-Version: 1.0
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.12.0,4.0.0)",
org.eclipse.emf.ecore;bundle-version="[2.12.0,3.0.0)";visibility:=reexport,
- org.eclipse.papyrus.domaincontextcodegen;bundle-version="[1.2.0,2.0.0)";visibility:=reexport,
org.eclipse.emf.codegen.ecore;bundle-version="[2.12.0,3.0.0)";visibility:=reexport,
org.eclipse.gmf.codegen;bundle-version="[2.11.0,3.0.0)";visibility:=reexport,
org.eclipse.ui;bundle-version="[3.107.0,4.0.0)",
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.ecore b/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.ecore
index 988b043f97b..8283d2ad978 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.ecore
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.ecore
@@ -161,10 +161,6 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="genView" upperBound="-1"
eType="ecore:EClass platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.ecore#//GenCommonBase"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ExternalElementTypesLibrary" eSuperTypes="platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.ecore#//GenNode #//CommentedElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="ExternalMetamodelType" eSuperTypes="platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.ecore#//MetamodelType">
- <eStructuralFeatures xsi:type="ecore:EReference" name="elementTypeRef" eType="ecore:EClass ../../org.eclipse.papyrus.domaincontextcodegen/resource/DomainContext.ecore#//ElementType"/>
- </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GenerateUsingElementTypeCreationCommand"
eSuperTypes="#//CommentedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.genmodel b/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.genmodel
index c391a9c9c6e..66b5b84bf30 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.genmodel
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/model/papyrusGmfgenExtension.genmodel
@@ -3,7 +3,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2015 CEA LIST and others.&#xA;&#xA;All rights reserved. This program and the accompanying materials&#xA;are made available under the terms of the Eclipse Public License v1.0&#xA;which accompanies this distribution, and is available at&#xA;http://www.eclipse.org/legal/epl-v10.html&#xA;&#xA;Contributors:&#xA; CEA LIST - Initial API and implementation&#xA;"
modelDirectory="/org.eclipse.papyrus.gmfgenextension/src" modelPluginID="org.eclipse.papyrus.gmfgenextension"
modelName="PapyrusGmfgenExtension" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="8.0" copyrightFields="false" usedGenPackages="../../org.eclipse.papyrus.domaincontextcodegen/resource/DomainContext.genmodel#//domaincontextcodegen platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel#//genmodel platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.genmodel#//gmfgen">
+ complianceLevel="8.0" copyrightFields="false" usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel#//genmodel platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.genmodel#//gmfgen">
<foreignModel>papyrusGmfgenExtension.ecore</foreignModel>
<genPackages prefix="Papyrusgmfgenextension" basePackage="org.eclipse.papyrus" disposableProviderFactory="true"
ecorePackage="papyrusGmfgenExtension.ecore#/">
@@ -90,10 +90,6 @@
<genClasses ecoreClass="papyrusGmfgenExtension.ecore#//ConstrainedByReferenceCompartmentItemSemanticEditPolicy">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference papyrusGmfgenExtension.ecore#//ConstrainedByReferenceCompartmentItemSemanticEditPolicy/genView"/>
</genClasses>
- <genClasses ecoreClass="papyrusGmfgenExtension.ecore#//ExternalElementTypesLibrary"/>
- <genClasses ecoreClass="papyrusGmfgenExtension.ecore#//ExternalMetamodelType">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference papyrusGmfgenExtension.ecore#//ExternalMetamodelType/elementTypeRef"/>
- </genClasses>
<genClasses ecoreClass="papyrusGmfgenExtension.ecore#//GenerateUsingElementTypeCreationCommand"/>
<genClasses ecoreClass="papyrusGmfgenExtension.ecore#//CustomDiagramUpdaterSingleton">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute papyrusGmfgenExtension.ecore#//CustomDiagramUpdaterSingleton/singletonPath"/>
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
index 003693c92a6..48906485fac 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AdditionalEditPartCandies.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -24,15 +30,15 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* @generated
*/
public interface AdditionalEditPartCandies extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Base Edit Helper Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Base Edit Helper Package</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Base Edit Helper 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 Edit Helper Package</em>' attribute.
* @see #setBaseEditHelperPackage(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAdditionalEditPartCandies_BaseEditHelperPackage()
@@ -45,7 +51,7 @@ public interface AdditionalEditPartCandies extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Base Edit Helper Package</em>' attribute.
* @see #getBaseEditHelperPackage()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
index 55b9eb86f0a..a2b5dffa47a 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateCanvas.java
@@ -1,13 +1,21 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.codegen.ecore.genmodel.GenClass;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
/**
@@ -30,15 +38,15 @@ import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
* @generated
*/
public interface AlternateCanvas extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Domain Diagram Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Domain Diagram Element</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Domain Diagram Element</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Domain Diagram Element</em>' reference.
* @see #setDomainDiagramElement(GenClass)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_DomainDiagramElement()
@@ -51,7 +59,7 @@ public interface AlternateCanvas extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Domain Diagram Element</em>' reference.
* @see #getDomainDiagramElement()
@@ -64,10 +72,11 @@ public interface AlternateCanvas extends CommentedElement {
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Top Level Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Alternate Top Level Nodes</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>Alternate Top Level Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_AlternateTopLevelNodes()
* @model containment="true"
@@ -80,10 +89,11 @@ public interface AlternateCanvas extends CommentedElement {
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Link Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Alternate Link Nodes</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>Alternate Link Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_AlternateLinkNodes()
* @model containment="true"
@@ -95,10 +105,11 @@ public interface AlternateCanvas extends CommentedElement {
* Returns the value of the '<em><b>Diagram</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Diagram</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Diagram</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Diagram</em>' reference.
* @see #setDiagram(GenDiagram)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateCanvas_Diagram()
@@ -111,7 +122,7 @@ public interface AlternateCanvas extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Diagram</em>' reference.
* @see #getDiagram()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
index 6c71e6ce895..5d3c9863fc1 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenLink.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -27,15 +33,15 @@ import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
* @generated
*/
public interface AlternateGenLink extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Gen Link Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Link Node</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Link Node</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Link Node</em>' reference.
* @see #setGenLinkNode(GenLink)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenLink_GenLinkNode()
@@ -48,7 +54,7 @@ public interface AlternateGenLink extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Gen Link Node</em>' reference.
* @see #getGenLinkNode()
@@ -60,10 +66,11 @@ public interface AlternateGenLink extends CommentedElement {
* Returns the value of the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type Model Facet</em>' containment reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Type Model Facet</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>Type Model Facet</em>' containment reference.
* @see #setTypeModelFacet(TypeModelFacet)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenLink_TypeModelFacet()
@@ -76,7 +83,7 @@ public interface AlternateGenLink extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Type Model Facet</em>' containment reference.
* @see #getTypeModelFacet()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
index 223ff2c2189..86e1f73cc22 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/AlternateGenTopLevelNode.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -27,15 +33,15 @@ import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
* @generated
*/
public interface AlternateGenTopLevelNode extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Gen Top Level Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Top Level Node</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Top Level Node</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Top Level Node</em>' reference.
* @see #setGenTopLevelNode(GenTopLevelNode)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenTopLevelNode_GenTopLevelNode()
@@ -48,7 +54,7 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Gen Top Level Node</em>' reference.
* @see #getGenTopLevelNode()
@@ -60,10 +66,11 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* Returns the value of the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Type Model Facet</em>' containment reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Type Model Facet</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>Type Model Facet</em>' containment reference.
* @see #setTypeModelFacet(TypeModelFacet)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getAlternateGenTopLevelNode_TypeModelFacet()
@@ -76,7 +83,7 @@ public interface AlternateGenTopLevelNode extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Type Model Facet</em>' containment reference.
* @see #getTypeModelFacet()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
index 4d95327e789..f5475f74ccb 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CommentedElement.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -25,7 +31,6 @@ import org.eclipse.emf.ecore.EObject;
* @generated
*/
public interface CommentedElement extends EObject {
-
/**
* Returns the value of the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -33,7 +38,7 @@ public interface CommentedElement extends EObject {
* <!-- begin-model-doc -->
* All extended classes have a comment in order to describe the puprose of this extension
* <!-- end-model-doc -->
- *
+ *
* @return the value of the '<em>Comment</em>' attribute.
* @see #setComment(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCommentedElement_Comment()
@@ -46,7 +51,7 @@ public interface CommentedElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Comment</em>' attribute.
* @see #getComment()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
index dcdf92cf696..c736eacf624 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentTitleVisibilityPreference.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
/**
@@ -36,10 +43,11 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentTitleVisibilityPreference_VisibleByDefault()
@@ -52,7 +60,7 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
@@ -65,10 +73,11 @@ public interface CompartmentTitleVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCompartment}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Compartments</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Compartments</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>Compartments</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentTitleVisibilityPreference_Compartments()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
index 6365f552082..2020ee8c80b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CompartmentVisibilityPreference.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
/**
@@ -36,10 +43,11 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentVisibilityPreference_VisibleByDefault()
@@ -52,7 +60,7 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
@@ -65,10 +73,11 @@ public interface CompartmentVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCompartment}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Compartments</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Compartments</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>Compartments</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCompartmentVisibilityPreference_Compartments()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
index 4402c495b88..c8fb11002ef 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ConstrainedByReferenceCompartmentItemSemanticEditPolicy.java
@@ -1,8 +1,19 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
/**
@@ -18,8 +29,8 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* </ul>
*
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
- * @model annotation=
- * "http://www.eclipse.org/emf/2002/GenModel Documentation='Add constraint on Compartment Item Semantic Policy in order to prevent move into compartment of elements which can be contained. This constraint used the child node define in the GMF Model in order to define the correspoding EReference. When a move is executed the item semantic policy will fisrt check that the element can be conatined/referenced by this EReference?'"
+ * @model annotation="http://www.eclipse.org/emf/2002/GenModel Documentation='Add constraint on Compartment Item Semantic Policy in order to prevent move into compartment of elements which can be contained. This constraint used the child node define in the GMF
+ * Model in order to define the correspoding EReference. When a move is executed the item semantic policy will fisrt check that the element can be conatined/referenced by this EReference?'"
* @generated
*/
public interface ConstrainedByReferenceCompartmentItemSemanticEditPolicy extends CommentedElement {
@@ -28,10 +39,11 @@ public interface ConstrainedByReferenceCompartmentItemSemanticEditPolicy extends
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</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>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
index f4d82f478ad..3047294bbe0 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/CustomDiagramUpdaterSingleton.java
@@ -1,51 +1,62 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Custom Diagram Updater Singleton</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCustomDiagramUpdaterSingleton()
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel Documentation='This object is used to register the diagram updater instance to use in the code. \r\nThe class must extends the generated diagram updater.\r\n\r\n'"
- * @generated
- */
-public interface CustomDiagramUpdaterSingleton extends CommentedElement {
-
- /**
- * Returns the value of the '<em><b>Singleton Path</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Singleton 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>Singleton Path</em>' attribute.
- * @see #setSingletonPath(String)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCustomDiagramUpdaterSingleton_SingletonPath()
- * @model required="true"
- * @generated
- */
- String getSingletonPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Singleton Path</em>' attribute.
- * @see #getSingletonPath()
- * @generated
- */
- void setSingletonPath(String value);
-} // CustomDiagramUpdaterSingleton
+/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
+ */
+package org.eclipse.papyrus.papyrusgmfgenextension;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Custom Diagram Updater Singleton</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCustomDiagramUpdaterSingleton()
+ * @model annotation="http://www.eclipse.org/emf/2002/GenModel Documentation='This object is used to register the diagram updater instance to use in the code. \r\nThe class must extends the generated diagram updater.\r\n\r\n'"
+ * @generated
+ */
+public interface CustomDiagramUpdaterSingleton extends CommentedElement {
+ /**
+ * Returns the value of the '<em><b>Singleton Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Singleton 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>Singleton Path</em>' attribute.
+ * @see #setSingletonPath(String)
+ * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getCustomDiagramUpdaterSingleton_SingletonPath()
+ * @model required="true"
+ * @generated
+ */
+ String getSingletonPath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Singleton Path</em>' attribute.
+ * @see #getSingletonPath()
+ * @generated
+ */
+ void setSingletonPath(String value);
+
+} // CustomDiagramUpdaterSingleton
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
index d11b7ff9cfa..d04d6a4488e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingDeleteService.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
/**
@@ -18,7 +25,7 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
@@ -35,15 +42,15 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* @generated
*/
public interface EditPartUsingDeleteService extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingDeleteService_Name()
@@ -56,7 +63,7 @@ public interface EditPartUsingDeleteService extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
@@ -69,10 +76,11 @@ public interface EditPartUsingDeleteService extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</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>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingDeleteService_GenView()
* @model ordered="false"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
index 2bfea83617b..e76ef387918 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/EditPartUsingReorientService.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenLink;
/**
@@ -18,7 +25,7 @@ import org.eclipse.gmf.codegen.gmfgen.GenLink;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
@@ -39,10 +46,11 @@ public interface EditPartUsingReorientService extends CommentedElement {
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingReorientService_Name()
@@ -55,7 +63,7 @@ public interface EditPartUsingReorientService extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
@@ -68,10 +76,11 @@ public interface EditPartUsingReorientService extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLink}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</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>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getEditPartUsingReorientService_GenView()
* @model ordered="false"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
index 2295f6cdbf7..878ee322df3 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExtendedGenView.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
/**
@@ -18,7 +25,7 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
@@ -39,16 +46,16 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* @generated
*/
public interface ExtendedGenView extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Gen View</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen View</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen View</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>Gen View</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_GenView()
* @model required="true" ordered="false"
@@ -60,10 +67,11 @@ public interface ExtendedGenView extends CommentedElement {
* Returns the value of the '<em><b>Is Abstract</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Is Abstract</em>' attribute.
* @see #setIsAbstract(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_IsAbstract()
@@ -76,7 +84,7 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Is Abstract</em>' attribute.
* @see #isIsAbstract()
@@ -89,10 +97,11 @@ public interface ExtendedGenView extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenCommonBase}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Super Gen Views</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Super Gen Views</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>Super Gen Views</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperGenViews()
* @model ordered="false"
@@ -104,10 +113,11 @@ public interface ExtendedGenView extends CommentedElement {
* Returns the value of the '<em><b>Prop Refresh Hook</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Prop Refresh Hook</em>' containment reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Prop Refresh Hook</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>Prop Refresh Hook</em>' containment reference.
* @see #setPropRefreshHook(PropertyRefreshHook)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_PropRefreshHook()
@@ -120,7 +130,7 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Prop Refresh Hook</em>' containment reference.
* @see #getPropRefreshHook()
@@ -132,10 +142,11 @@ public interface ExtendedGenView extends CommentedElement {
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_Name()
@@ -148,7 +159,7 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
@@ -160,10 +171,11 @@ public interface ExtendedGenView extends CommentedElement {
* Returns the value of the '<em><b>Super Owned Edit Part</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Super Owned Edit Part</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Super Owned Edit Part</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 Owned Edit Part</em>' attribute.
* @see #setSuperOwnedEditPart(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExtendedGenView_SuperOwnedEditPart()
@@ -176,7 +188,7 @@ public interface ExtendedGenView extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Super Owned Edit Part</em>' attribute.
* @see #getSuperOwnedEditPart()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalElementTypesLibrary.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalElementTypesLibrary.java
deleted file mode 100644
index 042d60203ba..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalElementTypesLibrary.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-import org.eclipse.gmf.codegen.gmfgen.GenNode;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>External Element Types Library</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalElementTypesLibrary()
- * @model
- * @generated
- */
-public interface ExternalElementTypesLibrary extends GenNode, CommentedElement {
-} // ExternalElementTypesLibrary
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
index d4041e2e943..e06f1f5ba57 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalHook.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -29,15 +35,15 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* @generated
*/
public interface ExternalHook extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Classpath</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Classpath</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Classpath</em>' attribute.
* @see #setClasspath(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalHook_Classpath()
@@ -50,7 +56,7 @@ public interface ExternalHook extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Classpath</em>' attribute.
* @see #getClasspath()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java
deleted file mode 100644
index 348974a6c38..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/ExternalMetamodelType.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-import org.eclipse.gmf.codegen.gmfgen.MetamodelType;
-import org.eclipse.papyrus.domaincontextcodegen.ElementType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>External Metamodel Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalMetamodelType()
- * @model
- * @generated
- */
-public interface ExternalMetamodelType extends MetamodelType {
- /**
- * Returns the value of the '<em><b>Element Type Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element Type 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>Element Type Ref</em>' reference.
- * @see #setElementTypeRef(ElementType)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getExternalMetamodelType_ElementTypeRef()
- * @model
- * @generated
- */
- ElementType getElementTypeRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Element Type Ref</em>' reference.
- * @see #getElementTypeRef()
- * @generated
- */
- void setElementTypeRef(ElementType value);
-
-} // ExternalMetamodelType
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
index 5f8d2782d02..83af567a2f4 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenNodeConstraint.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenConstraint;
import org.eclipse.gmf.codegen.gmfgen.GenNode;
@@ -28,16 +35,16 @@ import org.eclipse.gmf.codegen.gmfgen.GenNode;
* @generated
*/
public interface GenNodeConstraint extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Gen Node</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Node</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Node</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>Gen Node</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenNodeConstraint_GenNode()
* @model
@@ -49,10 +56,11 @@ public interface GenNodeConstraint extends CommentedElement {
* Returns the value of the '<em><b>Gen Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Constraint</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Constraint</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Constraint</em>' reference.
* @see #setGenConstraint(GenConstraint)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenNodeConstraint_GenConstraint()
@@ -65,7 +73,7 @@ public interface GenNodeConstraint extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Gen Constraint</em>' reference.
* @see #getGenConstraint()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenVisualTypeProvider.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenVisualTypeProvider.java
index 517f395e8c4..deb7582737b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenVisualTypeProvider.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenVisualTypeProvider.java
@@ -1,112 +1,115 @@
-/**
- * Copyright (c) 2015 Christian W. Damus and others.
- *
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Christian W. Damus - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-import java.util.Optional;
-
-import org.eclipse.emf.common.util.ECollections;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Gen Visual Type Provider</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * Configuration of this diagram's provider to the Visual Type Service,
- * which enables canonical view synchronization, drag-and-drop, and
- * possibly other capabilities.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName <em>Class Name</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenVisualTypeProvider()
- * @model
- * @generated
- */
-public interface GenVisualTypeProvider extends CommentedElement {
- /**
- * Returns the value of the '<em><b>Class Name</b></em>' attribute.
- * The default value is <code>"UMLVisualTypeProvider"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Class 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>Class Name</em>' attribute.
- * @see #setClassName(String)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenVisualTypeProvider_ClassName()
- * @model default="UMLVisualTypeProvider"
- * @generated
- */
- String getClassName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName <em>Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Class Name</em>' attribute.
- * @see #getClassName()
- * @generated
- */
- void setClassName(String value);
-
- /**
- * Obtains the class name to generate for the Visual Type Provider
- * extension of the given {@code diagram}, which defaults to
- * {@code "UMLVisualTypeProvider"} in the case that either there
- * is no visual type provider in the GMFGen model or it does not
- * have a class name.
- *
- * @param diagram
- * a diagram generator model element
- * @return the provider class name
- */
- static String getClassName(GenDiagram diagram) {
- return Optional.ofNullable(diagram.eResource())
- .map(Resource::getContents)
- .orElse(ECollections.<EObject> emptyEList())
- .stream()
- .filter(PapyrusExtensionRootNode.class::isInstance).map(PapyrusExtensionRootNode.class::cast)
- .findFirst()
- .map(PapyrusExtensionRootNode::getExtensionNodes)
- .filter(GenVisualTypeProvider.class::isInstance).map(GenVisualTypeProvider.class::cast)
- .map(GenVisualTypeProvider::getClassName)
- .orElse(PapyrusgmfgenextensionPackage.Literals.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME.getDefaultValueLiteral());
- }
-
- /**
- * Obtains the qualified class name to generate for the Visual Type Provider
- * extension of the given {@code diagram}.
- *
- * @param diagram
- * a diagram generator model element
- * @return the qualified provider class name
- */
- static String getQualifiedClassName(GenDiagram diagram) {
- String className = getClassName(diagram);
-
- return String.format("%s.%s", diagram.getProvidersPackageName(), className);
- }
-} // GenVisualTypeProvider
+/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
+ */
+package org.eclipse.papyrus.papyrusgmfgenextension;
+
+import java.util.Optional;
+
+import org.eclipse.emf.common.util.ECollections;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Gen Visual Type Provider</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Configuration of this diagram's provider to the Visual Type Service,
+ * which enables canonical view synchronization, drag-and-drop, and
+ * possibly other capabilities.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName <em>Class Name</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenVisualTypeProvider()
+ * @model
+ * @generated
+ */
+public interface GenVisualTypeProvider extends CommentedElement {
+ /**
+ * Returns the value of the '<em><b>Class Name</b></em>' attribute.
+ * The default value is <code>"UMLVisualTypeProvider"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Class 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>Class Name</em>' attribute.
+ * @see #setClassName(String)
+ * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getGenVisualTypeProvider_ClassName()
+ * @model default="UMLVisualTypeProvider"
+ * @generated
+ */
+ String getClassName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Class Name</em>' attribute.
+ * @see #getClassName()
+ * @generated
+ */
+ void setClassName(String value);
+
+ /**
+ * Obtains the class name to generate for the Visual Type Provider
+ * extension of the given {@code diagram}, which defaults to
+ * {@code "UMLVisualTypeProvider"} in the case that either there
+ * is no visual type provider in the GMFGen model or it does not
+ * have a class name.
+ *
+ * @param diagram
+ * a diagram generator model element
+ * @return the provider class name
+ * @generated NOT
+ */
+ static String getClassName(GenDiagram diagram) {
+ return Optional.ofNullable(diagram.eResource())
+ .map(Resource::getContents)
+ .orElse(ECollections.<EObject> emptyEList())
+ .stream()
+ .filter(PapyrusExtensionRootNode.class::isInstance).map(PapyrusExtensionRootNode.class::cast)
+ .findFirst()
+ .map(PapyrusExtensionRootNode::getExtensionNodes)
+ .filter(GenVisualTypeProvider.class::isInstance).map(GenVisualTypeProvider.class::cast)
+ .map(GenVisualTypeProvider::getClassName)
+ .orElse(PapyrusgmfgenextensionPackage.Literals.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME.getDefaultValueLiteral());
+ }
+
+ /**
+ * Obtains the qualified class name to generate for the Visual Type Provider
+ * extension of the given {@code diagram}.
+ *
+ * @param diagram
+ * a diagram generator model element
+ * @return the qualified provider class name
+ * @generated NOT
+ */
+ static String getQualifiedClassName(GenDiagram diagram) {
+ String className = getClassName(diagram);
+
+ return String.format("%s.%s", diagram.getProvidersPackageName(), className);
+ }
+
+} // GenVisualTypeProvider
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenerateUsingElementTypeCreationCommand.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenerateUsingElementTypeCreationCommand.java
index 1d335f0a47a..70cdd402209 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenerateUsingElementTypeCreationCommand.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/GenerateUsingElementTypeCreationCommand.java
@@ -1,4 +1,14 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java
deleted file mode 100644
index 1359d622717..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/HiddenLabels.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.papyrusgmfgenextension;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
-import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Hidden Labels</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * This element is always linked with link Label and External Node Label. This element allows to define the initial status (preferences) for the labels.
- * Labels non referenced by this node will be visible.
- * The attribute visibleByDefault allows to define this behavior.
- * This behavior can be change in the Preference Page by the user.
- *
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getLinkLabels <em>Link Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#getExternalNodeLabels <em>External Node Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#isVisibleByDefault <em>Visible By Default</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels()
- * @model
- * @generated
- */
-public interface HiddenLabels extends CommentedElement {
- /**
- * Returns the value of the '<em><b>Link Labels</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLinkLabel}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Link Labels</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>Link Labels</em>' reference list.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_LinkLabels()
- * @model
- * @generated
- */
- EList<GenLinkLabel> getLinkLabels();
-
- /**
- * Returns the value of the '<em><b>External Node Labels</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>External Node Labels</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>External Node Labels</em>' reference list.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_ExternalNodeLabels()
- * @model
- * @generated
- */
- EList<GenExternalNodeLabel> getExternalNodeLabels();
-
- /**
- * Returns the value of the '<em><b>Visible By Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Visible By Default</em>' attribute.
- * @see #setVisibleByDefault(boolean)
- * @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getHiddenLabels_VisibleByDefault()
- * @model
- * @generated
- */
- boolean isVisibleByDefault();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.HiddenLabels#isVisibleByDefault <em>Visible By Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Visible By Default</em>' attribute.
- * @see #isVisibleByDefault()
- * @generated
- */
- void setVisibleByDefault(boolean value);
-
-} // HiddenLabels
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
index ae9a6ecf8cf..e3bdc114d79 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/LabelVisibilityPreference.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
@@ -20,7 +27,7 @@ import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
* role : the role of the Label (Stereotype, Source Multiplicity, Target Multiplicity, Name, ...)
* iconPath : an icon illustrating the role of the Label
* visibleByDefault : if false, the label is not visible when the element is created
- *
+ *
* These informations are used by the action Show/Hide Label.
* <!-- end-model-doc -->
*
@@ -44,10 +51,11 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Returns the value of the '<em><b>Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Role</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Role</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Role</em>' attribute.
* @see #setRole(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_Role()
@@ -60,7 +68,7 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Role</em>' attribute.
* @see #getRole()
@@ -72,10 +80,11 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Returns the value of the '<em><b>Icon Path Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Icon Path Role</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Icon Path Role</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 Path Role</em>' attribute.
* @see #setIconPathRole(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_IconPathRole()
@@ -88,7 +97,7 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Icon Path Role</em>' attribute.
* @see #getIconPathRole()
@@ -101,10 +110,11 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenLinkLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Link Labels</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Link Labels</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>Link Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_LinkLabels()
* @model
@@ -117,10 +127,11 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>External Node Labels</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>External Node Labels</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>External Node Labels</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_ExternalNodeLabels()
* @model
@@ -133,10 +144,11 @@ public interface LabelVisibilityPreference extends CommentedElement {
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Visible By Default</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Visible By Default</em>' attribute.
* @see #setVisibleByDefault(boolean)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getLabelVisibilityPreference_VisibleByDefault()
@@ -149,7 +161,7 @@ public interface LabelVisibilityPreference extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Visible By Default</em>' attribute.
* @see #isVisibleByDefault()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
index a31473deb63..ce13a3ecc11 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/MutatingCanvas.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -25,16 +31,16 @@ import org.eclipse.emf.common.util.EList;
* @generated
*/
public interface MutatingCanvas extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Alternate Canvases</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Alternate Canvases</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Alternate Canvases</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>Alternate Canvases</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getMutatingCanvas_AlternateCanvases()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
index 472417e2c37..46883e03252 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/OwnedEditpart.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -24,15 +30,15 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* @generated
*/
public interface OwnedEditpart extends ExternalHook {
-
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getOwnedEditpart_Name()
@@ -45,7 +51,7 @@ public interface OwnedEditpart extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
index 358ac1d3fa9..c4dfb954437 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusExtensionRootNode.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -25,16 +31,16 @@ import org.eclipse.emf.common.util.EList;
* @generated
*/
public interface PapyrusExtensionRootNode extends CommentedElement {
-
/**
* Returns the value of the '<em><b>Extension Nodes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Extension Nodes</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Extension Nodes</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>Extension Nodes</em>' containment reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPapyrusExtensionRootNode_ExtensionNodes()
* @model containment="true"
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
index 501b3643fa4..175a54cf9a8 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionFactory.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -13,20 +19,16 @@ 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
- *
- * @noimplement This interface is not intended to be implemented by clients.
- * @noextend This interface is not intended to be extended by clients.
*/
public interface PapyrusgmfgenextensionFactory extends EFactory {
-
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
PapyrusgmfgenextensionFactory eINSTANCE = org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionFactoryImpl.init();
@@ -35,7 +37,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Extended Gen View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Extended Gen View</em>'.
* @generated
*/
@@ -45,7 +47,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Commented Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Commented Element</em>'.
* @generated
*/
@@ -55,7 +57,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Property Refresh Hook</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Property Refresh Hook</em>'.
* @generated
*/
@@ -65,7 +67,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>External Hook</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>External Hook</em>'.
* @generated
*/
@@ -75,7 +77,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Locator</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specific Locator</em>'.
* @generated
*/
@@ -85,7 +87,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Papyrus Extension Root Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Papyrus Extension Root Node</em>'.
* @generated
*/
@@ -95,7 +97,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Canvas</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Alternate Canvas</em>'.
* @generated
*/
@@ -105,7 +107,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Gen Top Level Node</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Alternate Gen Top Level Node</em>'.
* @generated
*/
@@ -115,7 +117,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Alternate Gen Link</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Alternate Gen Link</em>'.
* @generated
*/
@@ -125,7 +127,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Mutating Canvas</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Mutating Canvas</em>'.
* @generated
*/
@@ -135,7 +137,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Owned Editpart</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Owned Editpart</em>'.
* @generated
*/
@@ -145,7 +147,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Diagram Updater</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specific Diagram Updater</em>'.
* @generated
*/
@@ -155,7 +157,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Gen Node Constraint</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Gen Node Constraint</em>'.
* @generated
*/
@@ -165,7 +167,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Locator External Label</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specific Locator External Label</em>'.
* @generated
*/
@@ -175,7 +177,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Additional Edit Part Candies</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Additional Edit Part Candies</em>'.
* @generated
*/
@@ -185,7 +187,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Edit Part Using Delete Service</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Edit Part Using Delete Service</em>'.
* @generated
*/
@@ -195,7 +197,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Edit Part Using Reorient Service</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Edit Part Using Reorient Service</em>'.
* @generated
*/
@@ -205,7 +207,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Label Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Label Visibility Preference</em>'.
* @generated
*/
@@ -215,7 +217,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Compartment Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Compartment Visibility Preference</em>'.
* @generated
*/
@@ -225,7 +227,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Compartment Title Visibility Preference</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Compartment Title Visibility Preference</em>'.
* @generated
*/
@@ -235,37 +237,17 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* @generated
*/
ConstrainedByReferenceCompartmentItemSemanticEditPolicy createConstrainedByReferenceCompartmentItemSemanticEditPolicy();
/**
- * Returns a new object of class '<em>External Element Types Library</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>External Element Types Library</em>'.
- * @generated
- */
- ExternalElementTypesLibrary createExternalElementTypesLibrary();
-
- /**
- * Returns a new object of class '<em>External Metamodel Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>External Metamodel Type</em>'.
- * @generated
- */
- ExternalMetamodelType createExternalMetamodelType();
-
- /**
* Returns a new object of class '<em>Generate Using Element Type Creation Command</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Generate Using Element Type Creation Command</em>'.
* @generated
*/
@@ -275,7 +257,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Custom Diagram Updater Singleton</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Custom Diagram Updater Singleton</em>'.
* @generated
*/
@@ -285,7 +267,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Specific Node Plate</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Specific Node Plate</em>'.
* @generated
*/
@@ -295,7 +277,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns a new object of class '<em>Gen Visual Type Provider</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Gen Visual Type Provider</em>'.
* @generated
*/
@@ -305,7 +287,7 @@ public interface PapyrusgmfgenextensionFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
index ad4cb449d7b..2872124552f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PapyrusgmfgenextensionPackage.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -10,7 +16,6 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
/**
* <!-- begin-user-doc -->
@@ -23,21 +28,17 @@ import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionFactory
* @model kind="package"
* @generated
- *
- * @noimplement This interface is not intended to be implemented by clients.
- * @noextend This interface is not intended to be extended by clients.
*/
public interface PapyrusgmfgenextensionPackage extends EPackage {
-
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "papyrusgmfgenextension";
@@ -46,7 +47,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/2009/papyrusgmfgenextension";
@@ -55,7 +56,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "papyrusgmfgenextension";
@@ -64,7 +65,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
PapyrusgmfgenextensionPackage eINSTANCE = org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl.init();
@@ -73,7 +74,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl <em>Commented Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCommentedElement()
* @generated
@@ -84,7 +85,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -94,7 +95,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Commented Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -104,7 +105,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl <em>Extended Gen View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExtendedGenView()
* @generated
@@ -115,7 +116,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -125,7 +126,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -135,7 +136,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Is Abstract</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -145,7 +146,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Super Gen Views</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -155,7 +156,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Prop Refresh Hook</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -165,7 +166,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -175,7 +176,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Super Owned Edit Part</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -185,7 +186,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Extended Gen View</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -195,7 +196,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl <em>External Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalHook()
* @generated
@@ -206,7 +207,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -216,7 +217,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -226,7 +227,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>External Hook</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -236,7 +237,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl <em>Property Refresh Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPropertyRefreshHook()
* @generated
@@ -247,7 +248,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -257,7 +258,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -267,7 +268,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Triggering Condition</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -277,7 +278,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Action</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -287,7 +288,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Property Refresh Hook</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -297,7 +298,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl <em>Specific Locator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocator()
* @generated
@@ -308,7 +309,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -318,7 +319,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -328,7 +329,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Child Side Affixed Node</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -338,7 +339,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Locator</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -348,7 +349,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl <em>Papyrus Extension Root Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPapyrusExtensionRootNode()
* @generated
@@ -359,7 +360,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -369,7 +370,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Extension Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -379,7 +380,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Papyrus Extension Root Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -389,7 +390,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl <em>Alternate Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateCanvas()
* @generated
@@ -400,7 +401,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -410,7 +411,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Domain Diagram Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -420,7 +421,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Top Level Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -430,7 +431,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Link Nodes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -440,7 +441,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Diagram</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -450,7 +451,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Canvas</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -460,7 +461,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl <em>Alternate Gen Top Level Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenTopLevelNode()
* @generated
@@ -471,7 +472,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -481,7 +482,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Top Level Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -491,7 +492,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -501,7 +502,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Gen Top Level Node</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -511,7 +512,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl <em>Alternate Gen Link</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenLink()
* @generated
@@ -522,7 +523,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -532,7 +533,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Link Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -542,7 +543,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Type Model Facet</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -552,7 +553,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Alternate Gen Link</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -562,7 +563,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl <em>Mutating Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getMutatingCanvas()
* @generated
@@ -573,7 +574,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -583,7 +584,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Alternate Canvases</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -593,18 +594,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Mutating Canvas</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int MUTATING_CANVAS_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl <em>Owned Editpart</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getOwnedEditpart()
* @generated
@@ -615,7 +615,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -625,7 +625,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -635,7 +635,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -645,18 +645,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Owned Editpart</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int OWNED_EDITPART_FEATURE_COUNT = EXTERNAL_HOOK_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl <em>Specific Diagram Updater</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificDiagramUpdater()
* @generated
@@ -667,7 +666,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -677,7 +676,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -687,7 +686,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Node</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -697,18 +696,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Diagram Updater</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int SPECIFIC_DIAGRAM_UPDATER_FEATURE_COUNT = EXTERNAL_HOOK_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl <em>Gen Node Constraint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenNodeConstraint()
* @generated
@@ -719,7 +717,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -729,7 +727,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Node</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -739,7 +737,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -749,18 +747,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Gen Node Constraint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int GEN_NODE_CONSTRAINT_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 2;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl <em>Specific Locator External Label</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocatorExternalLabel()
* @generated
@@ -771,7 +768,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -781,7 +778,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Classpath</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -791,7 +788,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen External Node Label</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -801,18 +798,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Locator External Label</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int SPECIFIC_LOCATOR_EXTERNAL_LABEL_FEATURE_COUNT = EXTERNAL_HOOK_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl <em>Additional Edit Part Candies</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAdditionalEditPartCandies()
* @generated
@@ -823,7 +819,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -833,7 +829,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Base Edit Helper Package</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -843,18 +839,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Additional Edit Part Candies</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int ADDITIONAL_EDIT_PART_CANDIES_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl <em>Edit Part Using Delete Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingDeleteService()
* @generated
@@ -865,7 +860,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -875,7 +870,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -885,7 +880,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -895,18 +890,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Edit Part Using Delete Service</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int EDIT_PART_USING_DELETE_SERVICE_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 2;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl <em>Edit Part Using Reorient Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingReorientService()
* @generated
@@ -917,7 +911,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -927,7 +921,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -937,7 +931,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -947,18 +941,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Edit Part Using Reorient Service</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int EDIT_PART_USING_REORIENT_SERVICE_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 2;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl <em>Label Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getLabelVisibilityPreference()
* @generated
@@ -969,7 +962,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -979,7 +972,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -989,7 +982,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Icon Path Role</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -999,7 +992,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Link Labels</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1009,7 +1002,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>External Node Labels</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1019,7 +1012,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1029,7 +1022,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Label Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1039,7 +1032,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl <em>Compartment Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentVisibilityPreference()
* @generated
@@ -1050,7 +1043,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1060,7 +1053,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1070,7 +1063,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Compartments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1080,18 +1073,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Compartment Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int COMPARTMENT_VISIBILITY_PREFERENCE_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 2;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl <em>Compartment Title Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentTitleVisibilityPreference()
* @generated
@@ -1102,7 +1094,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1112,7 +1104,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Visible By Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1122,7 +1114,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Compartments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1132,18 +1124,17 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Compartment Title Visibility Preference</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int COMPARTMENT_TITLE_VISIBILITY_PREFERENCE_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 2;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
* @generated
@@ -1154,7 +1145,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1164,7 +1155,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Gen View</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1174,362 +1165,28 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl <em>External Element Types Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalElementTypesLibrary()
- * @generated
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY = 21;
-
- /**
- * The feature id for the '<em><b>Diagram Run Time Class</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__DIAGRAM_RUN_TIME_CLASS = GMFGenPackage.GEN_NODE__DIAGRAM_RUN_TIME_CLASS;
-
- /**
- * The feature id for the '<em><b>Visual ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__VISUAL_ID = GMFGenPackage.GEN_NODE__VISUAL_ID;
-
- /**
- * The feature id for the '<em><b>Element Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__ELEMENT_TYPE = GMFGenPackage.GEN_NODE__ELEMENT_TYPE;
-
- /**
- * The feature id for the '<em><b>Edit Part Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__EDIT_PART_CLASS_NAME = GMFGenPackage.GEN_NODE__EDIT_PART_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Item Semantic Edit Policy Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__ITEM_SEMANTIC_EDIT_POLICY_CLASS_NAME = GMFGenPackage.GEN_NODE__ITEM_SEMANTIC_EDIT_POLICY_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Notation View Factory Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__NOTATION_VIEW_FACTORY_CLASS_NAME = GMFGenPackage.GEN_NODE__NOTATION_VIEW_FACTORY_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Viewmap</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__VIEWMAP = GMFGenPackage.GEN_NODE__VIEWMAP;
-
- /**
- * The feature id for the '<em><b>Styles</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__STYLES = GMFGenPackage.GEN_NODE__STYLES;
-
- /**
- * The feature id for the '<em><b>Behaviour</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__BEHAVIOUR = GMFGenPackage.GEN_NODE__BEHAVIOUR;
-
- /**
- * The feature id for the '<em><b>Sans Domain</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__SANS_DOMAIN = GMFGenPackage.GEN_NODE__SANS_DOMAIN;
-
- /**
- * The feature id for the '<em><b>Contained Nodes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__CONTAINED_NODES = GMFGenPackage.GEN_NODE__CONTAINED_NODES;
-
- /**
- * The feature id for the '<em><b>Canonical Edit Policy Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__CANONICAL_EDIT_POLICY_CLASS_NAME = GMFGenPackage.GEN_NODE__CANONICAL_EDIT_POLICY_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Child Nodes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__CHILD_NODES = GMFGenPackage.GEN_NODE__CHILD_NODES;
-
- /**
- * The feature id for the '<em><b>Gen Outgoing Links</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__GEN_OUTGOING_LINKS = GMFGenPackage.GEN_NODE__GEN_OUTGOING_LINKS;
-
- /**
- * The feature id for the '<em><b>Gen Incoming Links</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__GEN_INCOMING_LINKS = GMFGenPackage.GEN_NODE__GEN_INCOMING_LINKS;
-
- /**
- * The feature id for the '<em><b>Model Facet</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__MODEL_FACET = GMFGenPackage.GEN_NODE__MODEL_FACET;
-
- /**
- * The feature id for the '<em><b>Labels</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__LABELS = GMFGenPackage.GEN_NODE__LABELS;
-
- /**
- * The feature id for the '<em><b>Compartments</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__COMPARTMENTS = GMFGenPackage.GEN_NODE__COMPARTMENTS;
-
- /**
- * The feature id for the '<em><b>Primary Drag Edit Policy Qualified Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__PRIMARY_DRAG_EDIT_POLICY_QUALIFIED_CLASS_NAME = GMFGenPackage.GEN_NODE__PRIMARY_DRAG_EDIT_POLICY_QUALIFIED_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Graphical Node Edit Policy Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__GRAPHICAL_NODE_EDIT_POLICY_CLASS_NAME = GMFGenPackage.GEN_NODE__GRAPHICAL_NODE_EDIT_POLICY_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Create Command Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__CREATE_COMMAND_CLASS_NAME = GMFGenPackage.GEN_NODE__CREATE_COMMAND_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Reoriented Incoming Links</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__REORIENTED_INCOMING_LINKS = GMFGenPackage.GEN_NODE__REORIENTED_INCOMING_LINKS;
-
- /**
- * The feature id for the '<em><b>Comment</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT = GMFGenPackage.GEN_NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>External Element Types Library</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_ELEMENT_TYPES_LIBRARY_FEATURE_COUNT = GMFGenPackage.GEN_NODE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl <em>External Metamodel Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalMetamodelType()
- * @generated
- */
- int EXTERNAL_METAMODEL_TYPE = 22;
-
- /**
- * The feature id for the '<em><b>Diagram Element</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__DIAGRAM_ELEMENT = GMFGenPackage.METAMODEL_TYPE__DIAGRAM_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Unique Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__UNIQUE_IDENTIFIER = GMFGenPackage.METAMODEL_TYPE__UNIQUE_IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Display Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__DISPLAY_NAME = GMFGenPackage.METAMODEL_TYPE__DISPLAY_NAME;
-
- /**
- * The feature id for the '<em><b>Defined Externally</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__DEFINED_EXTERNALLY = GMFGenPackage.METAMODEL_TYPE__DEFINED_EXTERNALLY;
-
- /**
- * The feature id for the '<em><b>Edit Helper Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__EDIT_HELPER_CLASS_NAME = GMFGenPackage.METAMODEL_TYPE__EDIT_HELPER_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Element Type Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF = GMFGenPackage.METAMODEL_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>External Metamodel Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EXTERNAL_METAMODEL_TYPE_FEATURE_COUNT = GMFGenPackage.METAMODEL_TYPE_FEATURE_COUNT + 1;
-
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl <em>Generate Using Element Type Creation Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenerateUsingElementTypeCreationCommand()
* @generated
*/
- int GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND = 23;
+ int GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND = 21;
/**
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1539,29 +1196,28 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Generate Using Element Type Creation Command</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 0;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl <em>Custom Diagram Updater Singleton</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCustomDiagramUpdaterSingleton()
* @generated
*/
- int CUSTOM_DIAGRAM_UPDATER_SINGLETON = 24;
+ int CUSTOM_DIAGRAM_UPDATER_SINGLETON = 22;
/**
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1571,7 +1227,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Singleton Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1581,29 +1237,28 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Custom Diagram Updater Singleton</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int CUSTOM_DIAGRAM_UPDATER_SINGLETON_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 1;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl <em>Specific Node Plate</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificNodePlate()
* @generated
*/
- int SPECIFIC_NODE_PLATE = 25;
+ int SPECIFIC_NODE_PLATE = 23;
/**
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1613,7 +1268,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Edit Parts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1623,7 +1278,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1633,7 +1288,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Node Plate Qualified Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1643,29 +1298,28 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Specific Node Plate</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int SPECIFIC_NODE_PLATE_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 3;
-
/**
* The meta object id for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl <em>Gen Visual Type Provider</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenVisualTypeProvider()
* @generated
*/
- int GEN_VISUAL_TYPE_PROVIDER = 26;
+ int GEN_VISUAL_TYPE_PROVIDER = 24;
/**
* The feature id for the '<em><b>Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1675,7 +1329,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The feature id for the '<em><b>Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -1685,17 +1339,18 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The number of structural features of the '<em>Gen Visual Type Provider</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
int GEN_VISUAL_TYPE_PROVIDER_FEATURE_COUNT = COMMENTED_ELEMENT_FEATURE_COUNT + 1;
+
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView <em>Extended Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Extended Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView
* @generated
@@ -1706,7 +1361,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getGenView()
* @see #getExtendedGenView()
@@ -1718,7 +1373,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract <em>Is Abstract</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Is Abstract</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#isIsAbstract()
* @see #getExtendedGenView()
@@ -1730,7 +1385,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews <em>Super Gen Views</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Super Gen Views</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperGenViews()
* @see #getExtendedGenView()
@@ -1742,7 +1397,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook <em>Prop Refresh Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Prop Refresh Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getPropRefreshHook()
* @see #getExtendedGenView()
@@ -1754,7 +1409,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getName()
* @see #getExtendedGenView()
@@ -1766,7 +1421,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Super Owned Edit Part</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView#getSuperOwnedEditPart()
* @see #getExtendedGenView()
@@ -1778,7 +1433,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement <em>Commented Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Commented Element</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement
* @generated
@@ -1789,7 +1444,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment <em>Comment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Comment</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement#getComment()
* @see #getCommentedElement()
@@ -1801,7 +1456,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook <em>Property Refresh Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Property Refresh Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook
* @generated
@@ -1812,7 +1467,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Triggering Condition</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition()
* @see #getPropertyRefreshHook()
@@ -1824,7 +1479,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Action</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction()
* @see #getPropertyRefreshHook()
@@ -1836,7 +1491,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook <em>External Hook</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>External Hook</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook
* @generated
@@ -1847,7 +1502,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath <em>Classpath</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Classpath</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook#getClasspath()
* @see #getExternalHook()
@@ -1859,7 +1514,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator <em>Specific Locator</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specific Locator</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator
* @generated
@@ -1870,7 +1525,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen Child Side Affixed Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode()
* @see #getSpecificLocator()
@@ -1882,7 +1537,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode <em>Papyrus Extension Root Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Papyrus Extension Root Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode
* @generated
@@ -1893,7 +1548,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes <em>Extension Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Extension Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode#getExtensionNodes()
* @see #getPapyrusExtensionRootNode()
@@ -1905,7 +1560,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas <em>Alternate Canvas</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Alternate Canvas</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas
* @generated
@@ -1916,7 +1571,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement <em>Domain Diagram Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Domain Diagram Element</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDomainDiagramElement()
* @see #getAlternateCanvas()
@@ -1928,7 +1583,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Alternate Top Level Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateTopLevelNodes()
* @see #getAlternateCanvas()
@@ -1940,7 +1595,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes <em>Alternate Link Nodes</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Alternate Link Nodes</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getAlternateLinkNodes()
* @see #getAlternateCanvas()
@@ -1952,7 +1607,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram <em>Diagram</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Diagram</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas#getDiagram()
* @see #getAlternateCanvas()
@@ -1964,7 +1619,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode <em>Alternate Gen Top Level Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Alternate Gen Top Level Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode
* @generated
@@ -1975,7 +1630,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode <em>Gen Top Level Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Gen Top Level Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getGenTopLevelNode()
* @see #getAlternateGenTopLevelNode()
@@ -1987,7 +1642,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet <em>Type Model Facet</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Type Model Facet</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode#getTypeModelFacet()
* @see #getAlternateGenTopLevelNode()
@@ -1999,7 +1654,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink <em>Alternate Gen Link</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Alternate Gen Link</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink
* @generated
@@ -2010,7 +1665,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode <em>Gen Link Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Gen Link Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getGenLinkNode()
* @see #getAlternateGenLink()
@@ -2022,7 +1677,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet <em>Type Model Facet</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Type Model Facet</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink#getTypeModelFacet()
* @see #getAlternateGenLink()
@@ -2034,7 +1689,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas <em>Mutating Canvas</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Mutating Canvas</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas
* @generated
@@ -2045,7 +1700,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases <em>Alternate Canvases</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Alternate Canvases</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas#getAlternateCanvases()
* @see #getMutatingCanvas()
@@ -2057,7 +1712,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart <em>Owned Editpart</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Owned Editpart</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart
* @generated
@@ -2068,7 +1723,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart#getName()
* @see #getOwnedEditpart()
@@ -2080,7 +1735,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater <em>Specific Diagram Updater</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specific Diagram Updater</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater
* @generated
@@ -2091,7 +1746,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Gen Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode()
* @see #getSpecificDiagramUpdater()
@@ -2103,7 +1758,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint <em>Gen Node Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Node Constraint</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint
* @generated
@@ -2114,7 +1769,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode <em>Gen Node</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen Node</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenNode()
* @see #getGenNodeConstraint()
@@ -2126,7 +1781,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint <em>Gen Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Gen Constraint</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint#getGenConstraint()
* @see #getGenNodeConstraint()
@@ -2138,7 +1793,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel <em>Specific Locator External Label</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specific Locator External Label</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel
* @generated
@@ -2149,7 +1804,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel <em>Gen External Node Label</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen External Node Label</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel#getGenExternalNodeLabel()
* @see #getSpecificLocatorExternalLabel()
@@ -2161,7 +1816,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies <em>Additional Edit Part Candies</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Additional Edit Part Candies</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies
* @generated
@@ -2172,7 +1827,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Base Edit Helper Package</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies#getBaseEditHelperPackage()
* @see #getAdditionalEditPartCandies()
@@ -2184,7 +1839,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService <em>Edit Part Using Delete Service</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Edit Part Using Delete Service</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService
* @generated
@@ -2195,7 +1850,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getName()
* @see #getEditPartUsingDeleteService()
@@ -2207,7 +1862,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService#getGenView()
* @see #getEditPartUsingDeleteService()
@@ -2219,7 +1874,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService <em>Edit Part Using Reorient Service</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Edit Part Using Reorient Service</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService
* @generated
@@ -2230,7 +1885,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getName()
* @see #getEditPartUsingReorientService()
@@ -2242,7 +1897,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService#getGenView()
* @see #getEditPartUsingReorientService()
@@ -2254,7 +1909,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference <em>Label Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Label Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference
* @generated
@@ -2265,7 +1920,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole <em>Role</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Role</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getRole()
* @see #getLabelVisibilityPreference()
@@ -2277,7 +1932,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole <em>Icon Path Role</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Icon Path Role</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getIconPathRole()
* @see #getLabelVisibilityPreference()
@@ -2289,7 +1944,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels <em>Link Labels</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Link Labels</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getLinkLabels()
* @see #getLabelVisibilityPreference()
@@ -2301,7 +1956,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels <em>External Node Labels</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>External Node Labels</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#getExternalNodeLabels()
* @see #getLabelVisibilityPreference()
@@ -2313,7 +1968,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference#isVisibleByDefault()
* @see #getLabelVisibilityPreference()
@@ -2325,7 +1980,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference <em>Compartment Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Compartment Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference
* @generated
@@ -2336,7 +1991,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#isVisibleByDefault()
* @see #getCompartmentVisibilityPreference()
@@ -2348,7 +2003,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments <em>Compartments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Compartments</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference#getCompartments()
* @see #getCompartmentVisibilityPreference()
@@ -2360,7 +2015,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference <em>Compartment Title Visibility Preference</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Compartment Title Visibility Preference</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference
* @generated
@@ -2371,7 +2026,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault <em>Visible By Default</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Visible By Default</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#isVisibleByDefault()
* @see #getCompartmentTitleVisibilityPreference()
@@ -2383,7 +2038,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments <em>Compartments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Compartments</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference#getCompartments()
* @see #getCompartmentTitleVisibilityPreference()
@@ -2395,7 +2050,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Constrained By Reference Compartment Item Semantic Edit Policy</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy
* @generated
@@ -2406,7 +2061,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView <em>Gen View</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Gen View</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy#getGenView()
* @see #getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
@@ -2415,44 +2070,10 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
EReference getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary <em>External Element Types Library</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>External Element Types Library</em>'.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary
- * @generated
- */
- EClass getExternalElementTypesLibrary();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType <em>External Metamodel Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>External Metamodel Type</em>'.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType
- * @generated
- */
- EClass getExternalMetamodelType();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef <em>Element Type Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Element Type Ref</em>'.
- * @see org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType#getElementTypeRef()
- * @see #getExternalMetamodelType()
- * @generated
- */
- EReference getExternalMetamodelType_ElementTypeRef();
-
- /**
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand <em>Generate Using Element Type Creation Command</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Generate Using Element Type Creation Command</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand
* @generated
@@ -2463,7 +2084,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton <em>Custom Diagram Updater Singleton</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Custom Diagram Updater Singleton</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton
* @generated
@@ -2474,7 +2095,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath <em>Singleton Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Singleton Path</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton#getSingletonPath()
* @see #getCustomDiagramUpdaterSingleton()
@@ -2486,7 +2107,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate <em>Specific Node Plate</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Specific Node Plate</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate
* @generated
@@ -2497,7 +2118,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getEditParts <em>Edit Parts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Edit Parts</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getEditParts()
* @see #getSpecificNodePlate()
@@ -2509,7 +2130,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getName()
* @see #getSpecificNodePlate()
@@ -2521,7 +2142,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getNodePlateQualifiedName <em>Node Plate Qualified Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Node Plate Qualified Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getNodePlateQualifiedName()
* @see #getSpecificNodePlate()
@@ -2533,7 +2154,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider <em>Gen Visual Type Provider</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Gen Visual Type Provider</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider
* @generated
@@ -2544,7 +2165,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName <em>Class Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Class Name</em>'.
* @see org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider#getClassName()
* @see #getGenVisualTypeProvider()
@@ -2556,7 +2177,7 @@ public interface PapyrusgmfgenextensionPackage 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
*/
@@ -2572,19 +2193,15 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
- * @generated
*
- * @noimplement This interface is not intended to be implemented by clients.
- * @noextend This interface is not intended to be extended by clients.
+ * @generated
*/
interface Literals {
-
/**
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl <em>Extended Gen View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExtendedGenView()
* @generated
@@ -2595,7 +2212,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__GEN_VIEW = eINSTANCE.getExtendedGenView_GenView();
@@ -2604,7 +2221,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Is Abstract</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__IS_ABSTRACT = eINSTANCE.getExtendedGenView_IsAbstract();
@@ -2613,7 +2230,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Super Gen Views</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS = eINSTANCE.getExtendedGenView_SuperGenViews();
@@ -2622,7 +2239,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Prop Refresh Hook</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK = eINSTANCE.getExtendedGenView_PropRefreshHook();
@@ -2631,7 +2248,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__NAME = eINSTANCE.getExtendedGenView_Name();
@@ -2640,7 +2257,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Super Owned Edit Part</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART = eINSTANCE.getExtendedGenView_SuperOwnedEditPart();
@@ -2649,7 +2266,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl <em>Commented Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCommentedElement()
* @generated
@@ -2660,7 +2277,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Comment</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute COMMENTED_ELEMENT__COMMENT = eINSTANCE.getCommentedElement_Comment();
@@ -2669,7 +2286,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl <em>Property Refresh Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPropertyRefreshHook()
* @generated
@@ -2680,7 +2297,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Triggering Condition</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION = eINSTANCE.getPropertyRefreshHook_TriggeringCondition();
@@ -2689,7 +2306,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Action</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute PROPERTY_REFRESH_HOOK__ACTION = eINSTANCE.getPropertyRefreshHook_Action();
@@ -2698,7 +2315,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl <em>External Hook</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalHook()
* @generated
@@ -2709,7 +2326,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Classpath</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EXTERNAL_HOOK__CLASSPATH = eINSTANCE.getExternalHook_Classpath();
@@ -2718,7 +2335,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl <em>Specific Locator</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocator()
* @generated
@@ -2729,7 +2346,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Child Side Affixed Node</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE = eINSTANCE.getSpecificLocator_GenChildSideAffixedNode();
@@ -2738,7 +2355,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl <em>Papyrus Extension Root Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getPapyrusExtensionRootNode()
* @generated
@@ -2749,7 +2366,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Extension Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES = eINSTANCE.getPapyrusExtensionRootNode_ExtensionNodes();
@@ -2758,7 +2375,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl <em>Alternate Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateCanvas()
* @generated
@@ -2769,7 +2386,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Domain Diagram Element</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT = eINSTANCE.getAlternateCanvas_DomainDiagramElement();
@@ -2778,7 +2395,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Top Level Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES = eINSTANCE.getAlternateCanvas_AlternateTopLevelNodes();
@@ -2787,7 +2404,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Link Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__ALTERNATE_LINK_NODES = eINSTANCE.getAlternateCanvas_AlternateLinkNodes();
@@ -2796,7 +2413,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Diagram</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_CANVAS__DIAGRAM = eINSTANCE.getAlternateCanvas_Diagram();
@@ -2805,7 +2422,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl <em>Alternate Gen Top Level Node</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenTopLevelNode()
* @generated
@@ -2816,7 +2433,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Top Level Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE = eINSTANCE.getAlternateGenTopLevelNode_GenTopLevelNode();
@@ -2825,7 +2442,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Type Model Facet</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET = eINSTANCE.getAlternateGenTopLevelNode_TypeModelFacet();
@@ -2834,7 +2451,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl <em>Alternate Gen Link</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAlternateGenLink()
* @generated
@@ -2845,7 +2462,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Link Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_GEN_LINK__GEN_LINK_NODE = eINSTANCE.getAlternateGenLink_GenLinkNode();
@@ -2854,7 +2471,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Type Model Facet</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference ALTERNATE_GEN_LINK__TYPE_MODEL_FACET = eINSTANCE.getAlternateGenLink_TypeModelFacet();
@@ -2863,7 +2480,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl <em>Mutating Canvas</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getMutatingCanvas()
* @generated
@@ -2874,7 +2491,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Alternate Canvases</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference MUTATING_CANVAS__ALTERNATE_CANVASES = eINSTANCE.getMutatingCanvas_AlternateCanvases();
@@ -2883,7 +2500,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl <em>Owned Editpart</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getOwnedEditpart()
* @generated
@@ -2894,7 +2511,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute OWNED_EDITPART__NAME = eINSTANCE.getOwnedEditpart_Name();
@@ -2903,7 +2520,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl <em>Specific Diagram Updater</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificDiagramUpdater()
* @generated
@@ -2914,7 +2531,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Node</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIFIC_DIAGRAM_UPDATER__GEN_NODE = eINSTANCE.getSpecificDiagramUpdater_GenNode();
@@ -2923,7 +2540,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl <em>Gen Node Constraint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenNodeConstraint()
* @generated
@@ -2934,7 +2551,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Node</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_NODE_CONSTRAINT__GEN_NODE = eINSTANCE.getGenNodeConstraint_GenNode();
@@ -2943,7 +2560,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen Constraint</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference GEN_NODE_CONSTRAINT__GEN_CONSTRAINT = eINSTANCE.getGenNodeConstraint_GenConstraint();
@@ -2952,7 +2569,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl <em>Specific Locator External Label</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificLocatorExternalLabel()
* @generated
@@ -2963,7 +2580,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen External Node Label</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL = eINSTANCE.getSpecificLocatorExternalLabel_GenExternalNodeLabel();
@@ -2972,7 +2589,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl <em>Additional Edit Part Candies</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getAdditionalEditPartCandies()
* @generated
@@ -2983,7 +2600,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Base Edit Helper Package</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE = eINSTANCE.getAdditionalEditPartCandies_BaseEditHelperPackage();
@@ -2992,7 +2609,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl <em>Edit Part Using Delete Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingDeleteService()
* @generated
@@ -3003,7 +2620,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EDIT_PART_USING_DELETE_SERVICE__NAME = eINSTANCE.getEditPartUsingDeleteService_Name();
@@ -3012,7 +2629,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW = eINSTANCE.getEditPartUsingDeleteService_GenView();
@@ -3021,7 +2638,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl <em>Edit Part Using Reorient Service</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getEditPartUsingReorientService()
* @generated
@@ -3032,7 +2649,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EDIT_PART_USING_REORIENT_SERVICE__NAME = eINSTANCE.getEditPartUsingReorientService_Name();
@@ -3041,7 +2658,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW = eINSTANCE.getEditPartUsingReorientService_GenView();
@@ -3050,7 +2667,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl <em>Label Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getLabelVisibilityPreference()
* @generated
@@ -3061,7 +2678,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Role</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__ROLE = eINSTANCE.getLabelVisibilityPreference_Role();
@@ -3070,7 +2687,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Icon Path Role</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE = eINSTANCE.getLabelVisibilityPreference_IconPathRole();
@@ -3079,7 +2696,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Link Labels</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference LABEL_VISIBILITY_PREFERENCE__LINK_LABELS = eINSTANCE.getLabelVisibilityPreference_LinkLabels();
@@ -3088,7 +2705,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>External Node Labels</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS = eINSTANCE.getLabelVisibilityPreference_ExternalNodeLabels();
@@ -3097,7 +2714,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getLabelVisibilityPreference_VisibleByDefault();
@@ -3106,7 +2723,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl <em>Compartment Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentVisibilityPreference()
* @generated
@@ -3117,7 +2734,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getCompartmentVisibilityPreference_VisibleByDefault();
@@ -3126,7 +2743,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Compartments</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS = eINSTANCE.getCompartmentVisibilityPreference_Compartments();
@@ -3135,7 +2752,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl <em>Compartment Title Visibility Preference</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCompartmentTitleVisibilityPreference()
* @generated
@@ -3146,7 +2763,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Visible By Default</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT = eINSTANCE.getCompartmentTitleVisibilityPreference_VisibleByDefault();
@@ -3155,7 +2772,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Compartments</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS = eINSTANCE.getCompartmentTitleVisibilityPreference_Compartments();
@@ -3164,7 +2781,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl <em>Constrained By Reference Compartment Item Semantic Edit Policy</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getConstrainedByReferenceCompartmentItemSemanticEditPolicy()
* @generated
@@ -3175,47 +2792,16 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Gen View</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW = eINSTANCE.getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl <em>External Element Types Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalElementTypesLibrary()
- * @generated
- */
- EClass EXTERNAL_ELEMENT_TYPES_LIBRARY = eINSTANCE.getExternalElementTypesLibrary();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl <em>External Metamodel Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl
- * @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getExternalMetamodelType()
- * @generated
- */
- EClass EXTERNAL_METAMODEL_TYPE = eINSTANCE.getExternalMetamodelType();
-
- /**
- * The meta object literal for the '<em><b>Element Type Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF = eINSTANCE.getExternalMetamodelType_ElementTypeRef();
-
- /**
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl <em>Generate Using Element Type Creation Command</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenerateUsingElementTypeCreationCommandImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenerateUsingElementTypeCreationCommand()
* @generated
@@ -3226,7 +2812,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl <em>Custom Diagram Updater Singleton</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getCustomDiagramUpdaterSingleton()
* @generated
@@ -3237,7 +2823,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Singleton Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH = eINSTANCE.getCustomDiagramUpdaterSingleton_SingletonPath();
@@ -3246,7 +2832,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl <em>Specific Node Plate</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getSpecificNodePlate()
* @generated
@@ -3257,7 +2843,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Edit Parts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference SPECIFIC_NODE_PLATE__EDIT_PARTS = eINSTANCE.getSpecificNodePlate_EditParts();
@@ -3266,7 +2852,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute SPECIFIC_NODE_PLATE__NAME = eINSTANCE.getSpecificNodePlate_Name();
@@ -3275,7 +2861,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Node Plate Qualified Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME = eINSTANCE.getSpecificNodePlate_NodePlateQualifiedName();
@@ -3284,7 +2870,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl <em>Gen Visual Type Provider</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl
* @see org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusgmfgenextensionPackageImpl#getGenVisualTypeProvider()
* @generated
@@ -3295,7 +2881,7 @@ public interface PapyrusgmfgenextensionPackage extends EPackage {
* The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME = eINSTANCE.getGenVisualTypeProvider_ClassName();
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
index 55e49f3ea10..6fab632f77f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/PropertyRefreshHook.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -15,7 +21,7 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* <!-- begin-model-doc -->
* This class is used to refresh the figure by taking in account a property of domain element (in the case of Ecore, it can be an Efeature or EReference)
* The triggeringCondtion describe the needed condition to launch the action on the figure. these two properties can be code lines.
- *
+ *
* For instance we would like to display active class when the efeature class is "active". Or display composite kind of the association when the kind of the property end is "composite".
* <!-- end-model-doc -->
*
@@ -32,15 +38,15 @@ package org.eclipse.papyrus.papyrusgmfgenextension;
* @generated
*/
public interface PropertyRefreshHook extends ExternalHook {
-
/**
* Returns the value of the '<em><b>Triggering Condition</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Triggering Condition</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Triggering Condition</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Triggering Condition</em>' attribute.
* @see #setTriggeringCondition(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPropertyRefreshHook_TriggeringCondition()
@@ -53,7 +59,7 @@ public interface PropertyRefreshHook extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getTriggeringCondition <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Triggering Condition</em>' attribute.
* @see #getTriggeringCondition()
@@ -65,10 +71,11 @@ public interface PropertyRefreshHook extends ExternalHook {
* Returns the value of the '<em><b>Action</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Action</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Action</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Action</em>' attribute.
* @see #setAction(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getPropertyRefreshHook_Action()
@@ -81,7 +88,7 @@ public interface PropertyRefreshHook extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook#getAction <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Action</em>' attribute.
* @see #getAction()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
index 128dc310950..ab7bab9c7cf 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificDiagramUpdater.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -15,10 +21,10 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
* replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
* // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
* BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
@@ -39,15 +45,15 @@ import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
* @generated
*/
public interface SpecificDiagramUpdater extends ExternalHook {
-
/**
* Returns the value of the '<em><b>Gen Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Node</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Node</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Gen Node</em>' reference.
* @see #setGenNode(GenCommonBase)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificDiagramUpdater_GenNode()
@@ -60,7 +66,7 @@ public interface SpecificDiagramUpdater extends ExternalHook {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater#getGenNode <em>Gen Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Gen Node</em>' reference.
* @see #getGenNode()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
index eaf937c256a..6afb1a5d94e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocator.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
/**
@@ -16,10 +23,10 @@ import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
* replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
* // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
* BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
@@ -40,16 +47,16 @@ import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
* @generated
*/
public interface SpecificLocator extends ExternalHook {
-
/**
* Returns the value of the '<em><b>Gen Child Side Affixed Node</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen Child Side Affixed Node</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen Child Side Affixed Node</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>Gen Child Side Affixed Node</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocator_GenChildSideAffixedNode()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
index e743f7cf45a..433c03f40ab 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificLocatorExternalLabel.java
@@ -1,12 +1,19 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
/**
@@ -16,10 +23,10 @@ import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
- *
+ *
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
* replacement of the general BorderItemLocator is needed in order to constrain the movement.
- *
+ *
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
* // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
* BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
@@ -40,16 +47,16 @@ import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
* @generated
*/
public interface SpecificLocatorExternalLabel extends ExternalHook {
-
/**
* Returns the value of the '<em><b>Gen External Node Label</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Gen External Node Label</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Gen External Node Label</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>Gen External Node Label</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocatorExternalLabel_GenExternalNodeLabel()
* @model
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificNodePlate.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificNodePlate.java
index 5815ed4cd50..aa299e4c317 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificNodePlate.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/SpecificNodePlate.java
@@ -1,4 +1,14 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
@@ -15,7 +25,7 @@ import org.eclipse.gmf.codegen.gmfgen.GenNode;
* This element is always linked to a genView (topLevel, or child)
* Used set if an editPart is abstract.
* SuperGenViews is a list of all superEditPart.
- *
+ *
* Thanks to this, it is possible to factorize code and to decrease the number of generated classes.
* <!-- end-model-doc -->
*
@@ -38,10 +48,11 @@ public interface SpecificNodePlate extends CommentedElement {
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenNode}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Edit Parts</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Edit Parts</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>Edit Parts</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificNodePlate_EditParts()
* @model required="true" ordered="false"
@@ -53,10 +64,11 @@ public interface SpecificNodePlate extends CommentedElement {
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
+ * 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificNodePlate_Name()
@@ -69,7 +81,7 @@ public interface SpecificNodePlate extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
@@ -81,10 +93,11 @@ public interface SpecificNodePlate extends CommentedElement {
* Returns the value of the '<em><b>Node Plate Qualified Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Node Plate Qualified Name</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Node Plate Qualified 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>Node Plate Qualified Name</em>' attribute.
* @see #setNodePlateQualifiedName(String)
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificNodePlate_NodePlateQualifiedName()
@@ -97,7 +110,7 @@ public interface SpecificNodePlate extends CommentedElement {
* Sets the value of the '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate#getNodePlateQualifiedName <em>Node Plate Qualified Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Node Plate Qualified Name</em>' attribute.
* @see #getNodePlateQualifiedName()
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
index f75fc69ca67..678083c6e86 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AdditionalEditPartCandiesImpl.java
@@ -1,14 +1,23 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -20,18 +29,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AdditionalEditPartCandiesImpl#getBaseEditHelperPackage <em>Base Edit Helper Package</em>}</li>
* </ul>
*
* @generated
*/
public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implements AdditionalEditPartCandies {
-
/**
* The default value of the '{@link #getBaseEditHelperPackage() <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBaseEditHelperPackage()
* @generated
* @ordered
@@ -42,7 +49,6 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getBaseEditHelperPackage() <em>Base Edit Helper Package</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getBaseEditHelperPackage()
* @generated
* @ordered
@@ -52,7 +58,6 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AdditionalEditPartCandiesImpl() {
@@ -62,7 +67,6 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,10 +77,8 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getBaseEditHelperPackage() {
return baseEditHelperPackage;
}
@@ -84,29 +86,25 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setBaseEditHelperPackage(String newBaseEditHelperPackage) {
String oldBaseEditHelperPackage = baseEditHelperPackage;
baseEditHelperPackage = newBaseEditHelperPackage;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE, oldBaseEditHelperPackage, baseEditHelperPackage));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- return getBaseEditHelperPackage();
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ return getBaseEditHelperPackage();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,15 +112,14 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- setBaseEditHelperPackage((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ setBaseEditHelperPackage((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -130,15 +127,14 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- setBaseEditHelperPackage(BASE_EDIT_HELPER_PACKAGE_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ setBaseEditHelperPackage(BASE_EDIT_HELPER_PACKAGE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -146,14 +142,13 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
- return BASE_EDIT_HELPER_PACKAGE_EDEFAULT == null ? baseEditHelperPackage != null : !BASE_EDIT_HELPER_PACKAGE_EDEFAULT.equals(baseEditHelperPackage);
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES__BASE_EDIT_HELPER_PACKAGE:
+ return BASE_EDIT_HELPER_PACKAGE_EDEFAULT == null ? baseEditHelperPackage != null : !BASE_EDIT_HELPER_PACKAGE_EDEFAULT.equals(baseEditHelperPackage);
}
return super.eIsSet(featureID);
}
@@ -161,14 +156,11 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (baseEditHelperPackage: ");
@@ -177,4 +169,4 @@ public class AdditionalEditPartCandiesImpl extends CommentedElementImpl implemen
return result.toString();
}
-} // AdditionalEditPartCandiesImpl
+} //AdditionalEditPartCandiesImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
index a6d04160e24..146cd21b4ed 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateCanvasImpl.java
@@ -1,23 +1,36 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.codegen.ecore.genmodel.GenClass;
+
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas;
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink;
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode;
@@ -31,21 +44,19 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDiagram <em>Diagram</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDomainDiagramElement <em>Domain Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateTopLevelNodes <em>Alternate Top Level Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getAlternateLinkNodes <em>Alternate Link Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateCanvasImpl#getDiagram <em>Diagram</em>}</li>
* </ul>
*
* @generated
*/
public class AlternateCanvasImpl extends CommentedElementImpl implements AlternateCanvas {
-
/**
* The cached value of the '{@link #getDomainDiagramElement() <em>Domain Diagram Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDomainDiagramElement()
* @generated
* @ordered
@@ -56,7 +67,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getAlternateTopLevelNodes() <em>Alternate Top Level Nodes</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAlternateTopLevelNodes()
* @generated
* @ordered
@@ -67,7 +77,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getAlternateLinkNodes() <em>Alternate Link Nodes</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAlternateLinkNodes()
* @generated
* @ordered
@@ -78,7 +87,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
* The cached value of the '{@link #getDiagram() <em>Diagram</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getDiagram()
* @generated
* @ordered
@@ -88,7 +96,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AlternateCanvasImpl() {
@@ -98,7 +105,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -109,18 +115,15 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenClass getDomainDiagramElement() {
if (domainDiagramElement != null && domainDiagramElement.eIsProxy()) {
- InternalEObject oldDomainDiagramElement = (InternalEObject) domainDiagramElement;
- domainDiagramElement = (GenClass) eResolveProxy(oldDomainDiagramElement);
+ InternalEObject oldDomainDiagramElement = (InternalEObject)domainDiagramElement;
+ domainDiagramElement = (GenClass)eResolveProxy(oldDomainDiagramElement);
if (domainDiagramElement != oldDomainDiagramElement) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT, oldDomainDiagramElement, domainDiagramElement));
- }
}
}
return domainDiagramElement;
@@ -129,7 +132,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenClass basicGetDomainDiagramElement() {
@@ -139,25 +141,20 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setDomainDiagramElement(GenClass newDomainDiagramElement) {
GenClass oldDomainDiagramElement = domainDiagramElement;
domainDiagramElement = newDomainDiagramElement;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT, oldDomainDiagramElement, domainDiagramElement));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<AlternateGenTopLevelNode> getAlternateTopLevelNodes() {
if (alternateTopLevelNodes == null) {
alternateTopLevelNodes = new EObjectContainmentEList<AlternateGenTopLevelNode>(AlternateGenTopLevelNode.class, this, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES);
@@ -168,10 +165,8 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<AlternateGenLink> getAlternateLinkNodes() {
if (alternateLinkNodes == null) {
alternateLinkNodes = new EObjectContainmentEList<AlternateGenLink>(AlternateGenLink.class, this, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES);
@@ -182,18 +177,15 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenDiagram getDiagram() {
if (diagram != null && diagram.eIsProxy()) {
- InternalEObject oldDiagram = (InternalEObject) diagram;
- diagram = (GenDiagram) eResolveProxy(oldDiagram);
+ InternalEObject oldDiagram = (InternalEObject)diagram;
+ diagram = (GenDiagram)eResolveProxy(oldDiagram);
if (diagram != oldDiagram) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM, oldDiagram, diagram));
- }
}
}
return diagram;
@@ -202,7 +194,6 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenDiagram basicGetDiagram() {
@@ -212,31 +203,27 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setDiagram(GenDiagram newDiagram) {
GenDiagram oldDiagram = diagram;
diagram = newDiagram;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM, oldDiagram, diagram));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return ((InternalEList<?>) getAlternateTopLevelNodes()).basicRemove(otherEnd, msgs);
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return ((InternalEList<?>) getAlternateLinkNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return ((InternalEList<?>)getAlternateTopLevelNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return ((InternalEList<?>)getAlternateLinkNodes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -244,26 +231,21 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- if (resolve) {
- return getDomainDiagramElement();
- }
- return basicGetDomainDiagramElement();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return getAlternateTopLevelNodes();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return getAlternateLinkNodes();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- if (resolve) {
- return getDiagram();
- }
- return basicGetDiagram();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ if (resolve) return getDomainDiagramElement();
+ return basicGetDomainDiagramElement();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return getAlternateTopLevelNodes();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return getAlternateLinkNodes();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ if (resolve) return getDiagram();
+ return basicGetDiagram();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -271,27 +253,26 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- setDomainDiagramElement((GenClass) newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- getAlternateTopLevelNodes().clear();
- getAlternateTopLevelNodes().addAll((Collection<? extends AlternateGenTopLevelNode>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- getAlternateLinkNodes().clear();
- getAlternateLinkNodes().addAll((Collection<? extends AlternateGenLink>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- setDiagram((GenDiagram) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ setDomainDiagramElement((GenClass)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ getAlternateTopLevelNodes().clear();
+ getAlternateTopLevelNodes().addAll((Collection<? extends AlternateGenTopLevelNode>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ getAlternateLinkNodes().clear();
+ getAlternateLinkNodes().addAll((Collection<? extends AlternateGenLink>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ setDiagram((GenDiagram)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -299,24 +280,23 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- setDomainDiagramElement((GenClass) null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- getAlternateTopLevelNodes().clear();
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- getAlternateLinkNodes().clear();
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- setDiagram((GenDiagram) null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ setDomainDiagramElement((GenClass)null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ getAlternateTopLevelNodes().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ getAlternateLinkNodes().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ setDiagram((GenDiagram)null);
+ return;
}
super.eUnset(featureID);
}
@@ -324,22 +304,21 @@ public class AlternateCanvasImpl extends CommentedElementImpl implements Alterna
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
- return domainDiagramElement != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
- return alternateTopLevelNodes != null && !alternateTopLevelNodes.isEmpty();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
- return alternateLinkNodes != null && !alternateLinkNodes.isEmpty();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
- return diagram != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DOMAIN_DIAGRAM_ELEMENT:
+ return domainDiagramElement != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_TOP_LEVEL_NODES:
+ return alternateTopLevelNodes != null && !alternateTopLevelNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__ALTERNATE_LINK_NODES:
+ return alternateLinkNodes != null && !alternateLinkNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS__DIAGRAM:
+ return diagram != null;
}
return super.eIsSet(featureID);
}
-} // AlternateCanvasImpl
+} //AlternateCanvasImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
index 729b0843ce3..129c97875d6 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenLinkImpl.java
@@ -1,18 +1,28 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.gmf.codegen.gmfgen.GenLink;
import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -24,19 +34,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getGenLinkNode <em>Gen Link Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getGenLinkNode <em>Gen Link Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenLinkImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
*
* @generated
*/
public class AlternateGenLinkImpl extends CommentedElementImpl implements AlternateGenLink {
-
/**
* The cached value of the '{@link #getGenLinkNode() <em>Gen Link Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenLinkNode()
* @generated
* @ordered
@@ -47,7 +55,6 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
* The cached value of the '{@link #getTypeModelFacet() <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getTypeModelFacet()
* @generated
* @ordered
@@ -57,7 +64,6 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AlternateGenLinkImpl() {
@@ -67,7 +73,6 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -78,18 +83,15 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenLink getGenLinkNode() {
if (genLinkNode != null && genLinkNode.eIsProxy()) {
- InternalEObject oldGenLinkNode = (InternalEObject) genLinkNode;
- genLinkNode = (GenLink) eResolveProxy(oldGenLinkNode);
+ InternalEObject oldGenLinkNode = (InternalEObject)genLinkNode;
+ genLinkNode = (GenLink)eResolveProxy(oldGenLinkNode);
if (genLinkNode != oldGenLinkNode) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE, oldGenLinkNode, genLinkNode));
- }
}
}
return genLinkNode;
@@ -98,7 +100,6 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenLink basicGetGenLinkNode() {
@@ -108,25 +109,20 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setGenLinkNode(GenLink newGenLinkNode) {
GenLink oldGenLinkNode = genLinkNode;
genLinkNode = newGenLinkNode;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE, oldGenLinkNode, genLinkNode));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public TypeModelFacet getTypeModelFacet() {
return typeModelFacet;
}
@@ -134,7 +130,6 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetTypeModelFacet(TypeModelFacet newTypeModelFacet, NotificationChain msgs) {
@@ -142,11 +137,7 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
typeModelFacet = newTypeModelFacet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, oldTypeModelFacet, newTypeModelFacet);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
@@ -154,39 +145,32 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setTypeModelFacet(TypeModelFacet newTypeModelFacet) {
if (newTypeModelFacet != typeModelFacet) {
NotificationChain msgs = null;
- if (typeModelFacet != null) {
- msgs = ((InternalEObject) typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
- }
- if (newTypeModelFacet != null) {
- msgs = ((InternalEObject) newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
- }
+ if (typeModelFacet != null)
+ msgs = ((InternalEObject)typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
+ if (newTypeModelFacet != null)
+ msgs = ((InternalEObject)newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, null, msgs);
msgs = basicSetTypeModelFacet(newTypeModelFacet, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
+ if (msgs != null) msgs.dispatch();
}
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return basicSetTypeModelFacet(null, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return basicSetTypeModelFacet(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -194,19 +178,16 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- if (resolve) {
- return getGenLinkNode();
- }
- return basicGetGenLinkNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return getTypeModelFacet();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ if (resolve) return getGenLinkNode();
+ return basicGetGenLinkNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return getTypeModelFacet();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -214,18 +195,17 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- setGenLinkNode((GenLink) newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ setGenLinkNode((GenLink)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -233,18 +213,17 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- setGenLinkNode((GenLink) null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet) null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ setGenLinkNode((GenLink)null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet)null);
+ return;
}
super.eUnset(featureID);
}
@@ -252,18 +231,17 @@ public class AlternateGenLinkImpl extends CommentedElementImpl implements Altern
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
- return genLinkNode != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
- return typeModelFacet != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__GEN_LINK_NODE:
+ return genLinkNode != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK__TYPE_MODEL_FACET:
+ return typeModelFacet != null;
}
return super.eIsSet(featureID);
}
-} // AlternateGenLinkImpl
+} //AlternateGenLinkImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
index 03c9def22a4..61740c39c86 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/AlternateGenTopLevelNodeImpl.java
@@ -1,18 +1,28 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.gmf.codegen.gmfgen.GenTopLevelNode;
import org.eclipse.gmf.codegen.gmfgen.TypeModelFacet;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -24,19 +34,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getGenTopLevelNode <em>Gen Top Level Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.AlternateGenTopLevelNodeImpl#getTypeModelFacet <em>Type Model Facet</em>}</li>
* </ul>
*
* @generated
*/
public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implements AlternateGenTopLevelNode {
-
/**
* The cached value of the '{@link #getGenTopLevelNode() <em>Gen Top Level Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenTopLevelNode()
* @generated
* @ordered
@@ -47,7 +55,6 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
* The cached value of the '{@link #getTypeModelFacet() <em>Type Model Facet</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getTypeModelFacet()
* @generated
* @ordered
@@ -57,7 +64,6 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected AlternateGenTopLevelNodeImpl() {
@@ -67,7 +73,6 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -78,18 +83,15 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenTopLevelNode getGenTopLevelNode() {
if (genTopLevelNode != null && genTopLevelNode.eIsProxy()) {
- InternalEObject oldGenTopLevelNode = (InternalEObject) genTopLevelNode;
- genTopLevelNode = (GenTopLevelNode) eResolveProxy(oldGenTopLevelNode);
+ InternalEObject oldGenTopLevelNode = (InternalEObject)genTopLevelNode;
+ genTopLevelNode = (GenTopLevelNode)eResolveProxy(oldGenTopLevelNode);
if (genTopLevelNode != oldGenTopLevelNode) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE, oldGenTopLevelNode, genTopLevelNode));
- }
}
}
return genTopLevelNode;
@@ -98,7 +100,6 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenTopLevelNode basicGetGenTopLevelNode() {
@@ -108,25 +109,20 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setGenTopLevelNode(GenTopLevelNode newGenTopLevelNode) {
GenTopLevelNode oldGenTopLevelNode = genTopLevelNode;
genTopLevelNode = newGenTopLevelNode;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE, oldGenTopLevelNode, genTopLevelNode));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public TypeModelFacet getTypeModelFacet() {
return typeModelFacet;
}
@@ -134,7 +130,6 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetTypeModelFacet(TypeModelFacet newTypeModelFacet, NotificationChain msgs) {
@@ -142,11 +137,7 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
typeModelFacet = newTypeModelFacet;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, oldTypeModelFacet, newTypeModelFacet);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
@@ -154,39 +145,32 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setTypeModelFacet(TypeModelFacet newTypeModelFacet) {
if (newTypeModelFacet != typeModelFacet) {
NotificationChain msgs = null;
- if (typeModelFacet != null) {
- msgs = ((InternalEObject) typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
- }
- if (newTypeModelFacet != null) {
- msgs = ((InternalEObject) newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
- }
+ if (typeModelFacet != null)
+ msgs = ((InternalEObject)typeModelFacet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
+ if (newTypeModelFacet != null)
+ msgs = ((InternalEObject)newTypeModelFacet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, null, msgs);
msgs = basicSetTypeModelFacet(newTypeModelFacet, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
+ if (msgs != null) msgs.dispatch();
}
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET, newTypeModelFacet, newTypeModelFacet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return basicSetTypeModelFacet(null, msgs);
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return basicSetTypeModelFacet(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -194,19 +178,16 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- if (resolve) {
- return getGenTopLevelNode();
- }
- return basicGetGenTopLevelNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return getTypeModelFacet();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ if (resolve) return getGenTopLevelNode();
+ return basicGetGenTopLevelNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return getTypeModelFacet();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -214,18 +195,17 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- setGenTopLevelNode((GenTopLevelNode) newValue);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ setGenTopLevelNode((GenTopLevelNode)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -233,18 +213,17 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- setGenTopLevelNode((GenTopLevelNode) null);
- return;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- setTypeModelFacet((TypeModelFacet) null);
- return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ setGenTopLevelNode((GenTopLevelNode)null);
+ return;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ setTypeModelFacet((TypeModelFacet)null);
+ return;
}
super.eUnset(featureID);
}
@@ -252,18 +231,17 @@ public class AlternateGenTopLevelNodeImpl extends CommentedElementImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
- return genTopLevelNode != null;
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
- return typeModelFacet != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__GEN_TOP_LEVEL_NODE:
+ return genTopLevelNode != null;
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE__TYPE_MODEL_FACET:
+ return typeModelFacet != null;
}
return super.eIsSet(featureID);
}
-} // AlternateGenTopLevelNodeImpl
+} //AlternateGenTopLevelNodeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
index 7c98f63cd41..b3d2f5d015e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CommentedElementImpl.java
@@ -1,15 +1,24 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
+
import org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -21,18 +30,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl#getComment <em>Comment</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CommentedElementImpl#getComment <em>Comment</em>}</li>
* </ul>
*
* @generated
*/
public class CommentedElementImpl extends EObjectImpl implements CommentedElement {
-
/**
* The default value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getComment()
* @generated
* @ordered
@@ -43,7 +50,6 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
* The cached value of the '{@link #getComment() <em>Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getComment()
* @generated
* @ordered
@@ -53,7 +59,6 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected CommentedElementImpl() {
@@ -63,7 +68,6 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -74,10 +78,8 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getComment() {
return comment;
}
@@ -85,29 +87,25 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setComment(String newComment) {
String oldComment = comment;
comment = newComment;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT, oldComment, comment));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- return getComment();
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ return getComment();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -115,15 +113,14 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- setComment((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ setComment((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -131,15 +128,14 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- setComment(COMMENT_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ setComment(COMMENT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -147,14 +143,13 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
+ return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
}
return super.eIsSet(featureID);
}
@@ -162,14 +157,11 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (comment: ");
@@ -178,4 +170,4 @@ public class CommentedElementImpl extends EObjectImpl implements CommentedElemen
return result.toString();
}
-} // CommentedElementImpl
+} //CommentedElementImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
index 69c54228e1d..24659749a0e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentTitleVisibilityPreferenceImpl.java
@@ -1,19 +1,31 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
+
import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -25,8 +37,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentTitleVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
* </ul>
*
* @generated
@@ -36,7 +48,6 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -47,7 +58,6 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -58,7 +68,6 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
* The cached value of the '{@link #getCompartments() <em>Compartments</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getCompartments()
* @generated
* @ordered
@@ -68,7 +77,6 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected CompartmentTitleVisibilityPreferenceImpl() {
@@ -78,7 +86,6 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -89,10 +96,8 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -100,25 +105,20 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCompartment> getCompartments() {
if (compartments == null) {
compartments = new EObjectResolvingEList<GenCompartment>(GenCompartment.class, this, PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS);
@@ -129,16 +129,15 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return getCompartments();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return getCompartments();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -146,20 +145,19 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean) newValue);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- getCompartments().addAll((Collection<? extends GenCompartment>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ getCompartments().addAll((Collection<? extends GenCompartment>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -167,18 +165,17 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -186,16 +183,15 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return compartments != null && !compartments.isEmpty();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return compartments != null && !compartments.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -203,14 +199,11 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (visibleByDefault: ");
@@ -219,4 +212,4 @@ public class CompartmentTitleVisibilityPreferenceImpl extends CommentedElementIm
return result.toString();
}
-} // CompartmentTitleVisibilityPreferenceImpl
+} //CompartmentTitleVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
index bfe584f23b9..a500e28afa7 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CompartmentVisibilityPreferenceImpl.java
@@ -1,19 +1,31 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCompartment;
+
import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -25,8 +37,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CompartmentVisibilityPreferenceImpl#getCompartments <em>Compartments</em>}</li>
* </ul>
*
* @generated
@@ -36,7 +48,6 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -47,7 +58,6 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -58,7 +68,6 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
* The cached value of the '{@link #getCompartments() <em>Compartments</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getCompartments()
* @generated
* @ordered
@@ -68,7 +77,6 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected CompartmentVisibilityPreferenceImpl() {
@@ -78,7 +86,6 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -89,10 +96,8 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -100,25 +105,20 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCompartment> getCompartments() {
if (compartments == null) {
compartments = new EObjectResolvingEList<GenCompartment>(GenCompartment.class, this, PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS);
@@ -129,16 +129,15 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return getCompartments();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return getCompartments();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -146,20 +145,19 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean) newValue);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- getCompartments().addAll((Collection<? extends GenCompartment>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ getCompartments().addAll((Collection<? extends GenCompartment>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -167,18 +165,17 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- getCompartments().clear();
- return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ getCompartments().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -186,16 +183,15 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
- return compartments != null && !compartments.isEmpty();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE__COMPARTMENTS:
+ return compartments != null && !compartments.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -203,14 +199,11 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (visibleByDefault: ");
@@ -219,4 +212,4 @@ public class CompartmentVisibilityPreferenceImpl extends CommentedElementImpl im
return result.toString();
}
-} // CompartmentVisibilityPreferenceImpl
+} //CompartmentVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
index 42c356e72b8..bfe0daf9165 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl.java
@@ -1,13 +1,27 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
+
import org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -19,7 +33,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl#getGenView <em>Gen View</em>}</li>
* </ul>
*
* @generated
@@ -29,7 +43,6 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenView()
* @generated
* @ordered
@@ -39,7 +52,6 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl() {
@@ -49,7 +61,6 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -60,10 +71,8 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW);
@@ -74,14 +83,13 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -89,17 +97,16 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -107,15 +114,14 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -123,16 +129,15 @@ public class ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl extends
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
-} // ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
+} //ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
index 1de40b70ad9..cf69a618818 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/CustomDiagramUpdaterSingletonImpl.java
@@ -1,175 +1,172 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Custom Diagram Updater Singleton</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl#getSingletonPath <em>Singleton Path</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl implements CustomDiagramUpdaterSingleton {
- /**
- * The default value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSingletonPath()
- * @generated
- * @ordered
- */
- protected static final String SINGLETON_PATH_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSingletonPath()
- * @generated
- * @ordered
- */
- protected String singletonPath = SINGLETON_PATH_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected CustomDiagramUpdaterSingletonImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusgmfgenextensionPackage.Literals.CUSTOM_DIAGRAM_UPDATER_SINGLETON;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getSingletonPath() {
- return singletonPath;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setSingletonPath(String newSingletonPath) {
- String oldSingletonPath = singletonPath;
- singletonPath = newSingletonPath;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH, oldSingletonPath, singletonPath));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- return getSingletonPath();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- setSingletonPath((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- setSingletonPath(SINGLETON_PATH_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
- return SINGLETON_PATH_EDEFAULT == null ? singletonPath != null : !SINGLETON_PATH_EDEFAULT.equals(singletonPath);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (singletonPath: ");
- result.append(singletonPath);
- result.append(')');
- return result.toString();
- }
-
-} // CustomDiagramUpdaterSingletonImpl
+/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
+ */
+package org.eclipse.papyrus.papyrusgmfgenextension.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton;
+import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Custom Diagram Updater Singleton</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.CustomDiagramUpdaterSingletonImpl#getSingletonPath <em>Singleton Path</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class CustomDiagramUpdaterSingletonImpl extends CommentedElementImpl implements CustomDiagramUpdaterSingleton {
+ /**
+ * The default value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSingletonPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String SINGLETON_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSingletonPath() <em>Singleton Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSingletonPath()
+ * @generated
+ * @ordered
+ */
+ protected String singletonPath = SINGLETON_PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CustomDiagramUpdaterSingletonImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return PapyrusgmfgenextensionPackage.Literals.CUSTOM_DIAGRAM_UPDATER_SINGLETON;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSingletonPath() {
+ return singletonPath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSingletonPath(String newSingletonPath) {
+ String oldSingletonPath = singletonPath;
+ singletonPath = newSingletonPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH, oldSingletonPath, singletonPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ return getSingletonPath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ setSingletonPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ setSingletonPath(SINGLETON_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON__SINGLETON_PATH:
+ return SINGLETON_PATH_EDEFAULT == null ? singletonPath != null : !SINGLETON_PATH_EDEFAULT.equals(singletonPath);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (singletonPath: ");
+ result.append(singletonPath);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CustomDiagramUpdaterSingletonImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
index 060f751a95d..2fe03b22470 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingDeleteServiceImpl.java
@@ -1,19 +1,31 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
+
import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -25,19 +37,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingDeleteServiceImpl#getGenView <em>Gen View</em>}</li>
* </ul>
*
* @generated
*/
public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl implements EditPartUsingDeleteService {
-
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -48,7 +58,6 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -59,7 +68,6 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenView()
* @generated
* @ordered
@@ -69,7 +77,6 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EditPartUsingDeleteServiceImpl() {
@@ -79,7 +86,6 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -90,10 +96,8 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getName() {
return name;
}
@@ -101,25 +105,20 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME, oldName, name));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW);
@@ -130,16 +129,15 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -147,20 +145,19 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- setName((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ setName((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -168,18 +165,17 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -187,16 +183,15 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -204,14 +199,11 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -220,4 +212,4 @@ public class EditPartUsingDeleteServiceImpl extends CommentedElementImpl impleme
return result.toString();
}
-} // EditPartUsingDeleteServiceImpl
+} //EditPartUsingDeleteServiceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
index 76d9e82fb90..d805a85b341 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/EditPartUsingReorientServiceImpl.java
@@ -1,19 +1,31 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenLink;
+
import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -25,8 +37,8 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.EditPartUsingReorientServiceImpl#getGenView <em>Gen View</em>}</li>
* </ul>
*
* @generated
@@ -36,7 +48,6 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -47,7 +58,6 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -58,7 +68,6 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenView()
* @generated
* @ordered
@@ -68,7 +77,6 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected EditPartUsingReorientServiceImpl() {
@@ -78,7 +86,6 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -89,10 +96,8 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getName() {
return name;
}
@@ -100,25 +105,20 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME, oldName, name));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenLink> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenLink>(GenLink.class, this, PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW);
@@ -129,16 +129,15 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- return getGenView();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ return getGenView();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -146,20 +145,19 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- setName((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenLink>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ setName((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenLink>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -167,18 +165,17 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- getGenView().clear();
- return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ getGenView().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -186,16 +183,15 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
- return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
}
return super.eIsSet(featureID);
}
@@ -203,14 +199,11 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -219,4 +212,4 @@ public class EditPartUsingReorientServiceImpl extends CommentedElementImpl imple
return result.toString();
}
-} // EditPartUsingReorientServiceImpl
+} //EditPartUsingReorientServiceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
index 81628d60bd3..d81c9b76e58 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExtendedGenViewImpl.java
@@ -1,8 +1,14 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
@@ -10,12 +16,18 @@ import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
+
import org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
@@ -28,23 +40,21 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getGenView <em>Gen View</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#isIsAbstract <em>Is Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperGenViews <em>Super Gen Views</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getGenView <em>Gen View</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#isIsAbstract <em>Is Abstract</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperGenViews <em>Super Gen Views</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getPropRefreshHook <em>Prop Refresh Hook</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExtendedGenViewImpl#getSuperOwnedEditPart <em>Super Owned Edit Part</em>}</li>
* </ul>
*
* @generated
*/
public class ExtendedGenViewImpl extends CommentedElementImpl implements ExtendedGenView {
-
/**
* The cached value of the '{@link #getGenView() <em>Gen View</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenView()
* @generated
* @ordered
@@ -55,7 +65,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isIsAbstract()
* @generated
* @ordered
@@ -66,7 +75,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isIsAbstract()
* @generated
* @ordered
@@ -77,7 +85,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getSuperGenViews() <em>Super Gen Views</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getSuperGenViews()
* @generated
* @ordered
@@ -88,7 +95,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getPropRefreshHook() <em>Prop Refresh Hook</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getPropRefreshHook()
* @generated
* @ordered
@@ -99,7 +105,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -110,7 +115,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -121,7 +125,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The default value of the '{@link #getSuperOwnedEditPart() <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getSuperOwnedEditPart()
* @generated
* @ordered
@@ -132,7 +135,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
* The cached value of the '{@link #getSuperOwnedEditPart() <em>Super Owned Edit Part</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getSuperOwnedEditPart()
* @generated
* @ordered
@@ -142,7 +144,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ExtendedGenViewImpl() {
@@ -152,7 +153,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -163,10 +163,8 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCommonBase> getGenView() {
if (genView == null) {
genView = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW);
@@ -177,10 +175,8 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public boolean isIsAbstract() {
return isAbstract;
}
@@ -188,25 +184,20 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setIsAbstract(boolean newIsAbstract) {
boolean oldIsAbstract = isAbstract;
isAbstract = newIsAbstract;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT, oldIsAbstract, isAbstract));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenCommonBase> getSuperGenViews() {
if (superGenViews == null) {
superGenViews = new EObjectResolvingEList<GenCommonBase>(GenCommonBase.class, this, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS);
@@ -217,10 +208,8 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public PropertyRefreshHook getPropRefreshHook() {
return propRefreshHook;
}
@@ -228,7 +217,6 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPropRefreshHook(PropertyRefreshHook newPropRefreshHook, NotificationChain msgs) {
@@ -236,11 +224,7 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
propRefreshHook = newPropRefreshHook;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, oldPropRefreshHook, newPropRefreshHook);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
@@ -248,35 +232,27 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setPropRefreshHook(PropertyRefreshHook newPropRefreshHook) {
if (newPropRefreshHook != propRefreshHook) {
NotificationChain msgs = null;
- if (propRefreshHook != null) {
- msgs = ((InternalEObject) propRefreshHook).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
- }
- if (newPropRefreshHook != null) {
- msgs = ((InternalEObject) newPropRefreshHook).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
- }
+ if (propRefreshHook != null)
+ msgs = ((InternalEObject)propRefreshHook).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
+ if (newPropRefreshHook != null)
+ msgs = ((InternalEObject)newPropRefreshHook).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, null, msgs);
msgs = basicSetPropRefreshHook(newPropRefreshHook, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, newPropRefreshHook, newPropRefreshHook));
+ if (msgs != null) msgs.dispatch();
}
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK, newPropRefreshHook, newPropRefreshHook));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getName() {
return name;
}
@@ -284,25 +260,20 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME, oldName, name));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getSuperOwnedEditPart() {
return superOwnedEditPart;
}
@@ -310,29 +281,25 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setSuperOwnedEditPart(String newSuperOwnedEditPart) {
String oldSuperOwnedEditPart = superOwnedEditPart;
superOwnedEditPart = newSuperOwnedEditPart;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART, oldSuperOwnedEditPart, superOwnedEditPart));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return basicSetPropRefreshHook(null, msgs);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return basicSetPropRefreshHook(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -340,24 +307,23 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- return getGenView();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- return isIsAbstract();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- return getSuperGenViews();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return getPropRefreshHook();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- return getSuperOwnedEditPart();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ return getGenView();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ return isIsAbstract();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ return getSuperGenViews();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return getPropRefreshHook();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ return getSuperOwnedEditPart();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -365,33 +331,32 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- getGenView().clear();
- getGenView().addAll((Collection<? extends GenCommonBase>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- setIsAbstract((Boolean) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- getSuperGenViews().clear();
- getSuperGenViews().addAll((Collection<? extends GenCommonBase>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- setPropRefreshHook((PropertyRefreshHook) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- setName((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- setSuperOwnedEditPart((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ getGenView().clear();
+ getGenView().addAll((Collection<? extends GenCommonBase>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ setIsAbstract((Boolean)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ getSuperGenViews().clear();
+ getSuperGenViews().addAll((Collection<? extends GenCommonBase>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ setPropRefreshHook((PropertyRefreshHook)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ setName((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ setSuperOwnedEditPart((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -399,30 +364,29 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- getGenView().clear();
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- setIsAbstract(IS_ABSTRACT_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- getSuperGenViews().clear();
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- setPropRefreshHook((PropertyRefreshHook) null);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- setSuperOwnedEditPart(SUPER_OWNED_EDIT_PART_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ getGenView().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ setIsAbstract(IS_ABSTRACT_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ getSuperGenViews().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ setPropRefreshHook((PropertyRefreshHook)null);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ setSuperOwnedEditPart(SUPER_OWNED_EDIT_PART_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -430,24 +394,23 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
- return genView != null && !genView.isEmpty();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
- return isAbstract != IS_ABSTRACT_EDEFAULT;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
- return superGenViews != null && !superGenViews.isEmpty();
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
- return propRefreshHook != null;
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
- return SUPER_OWNED_EDIT_PART_EDEFAULT == null ? superOwnedEditPart != null : !SUPER_OWNED_EDIT_PART_EDEFAULT.equals(superOwnedEditPart);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__GEN_VIEW:
+ return genView != null && !genView.isEmpty();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__IS_ABSTRACT:
+ return isAbstract != IS_ABSTRACT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_GEN_VIEWS:
+ return superGenViews != null && !superGenViews.isEmpty();
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__PROP_REFRESH_HOOK:
+ return propRefreshHook != null;
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW__SUPER_OWNED_EDIT_PART:
+ return SUPER_OWNED_EDIT_PART_EDEFAULT == null ? superOwnedEditPart != null : !SUPER_OWNED_EDIT_PART_EDEFAULT.equals(superOwnedEditPart);
}
return super.eIsSet(featureID);
}
@@ -455,14 +418,11 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isAbstract: ");
@@ -475,4 +435,4 @@ public class ExtendedGenViewImpl extends CommentedElementImpl implements Extende
return result.toString();
}
-} // ExtendedGenViewImpl
+} //ExtendedGenViewImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java
deleted file mode 100644
index 66fc9cf8e07..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalElementTypesLibraryImpl.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.gmf.codegen.gmfgen.GenDiagram;
-import org.eclipse.gmf.codegen.gmfgen.impl.GenNodeImpl;
-import org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>External Element Types Library</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalElementTypesLibraryImpl#getComment <em>Comment</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ExternalElementTypesLibraryImpl extends GenNodeImpl implements ExternalElementTypesLibrary {
- /**
- * The default value of the '{@link #getComment() <em>Comment</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getComment()
- * @generated
- * @ordered
- */
- protected static final String COMMENT_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getComment() <em>Comment</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getComment()
- * @generated
- * @ordered
- */
- protected String comment = COMMENT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ExternalElementTypesLibraryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusgmfgenextensionPackage.Literals.EXTERNAL_ELEMENT_TYPES_LIBRARY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getComment() {
- return comment;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setComment(String newComment) {
- String oldComment = comment;
- comment = newComment;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT, oldComment, comment));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- return getComment();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- setComment((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- setComment(COMMENT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == CommentedElement.class) {
- switch (derivedFeatureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT:
- return PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT;
- default:
- return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == CommentedElement.class) {
- switch (baseFeatureID) {
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT__COMMENT:
- return PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY__COMMENT;
- default:
- return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (comment: ");
- result.append(comment);
- result.append(')');
- return result.toString();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public GenDiagram getDiagram() {
- return null;
- }
-
-} // ExternalElementTypesLibraryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
index dbbb3ab5d6d..0b0314e111e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalHookImpl.java
@@ -1,14 +1,23 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -20,18 +29,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl#getClasspath <em>Classpath</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalHookImpl#getClasspath <em>Classpath</em>}</li>
* </ul>
*
* @generated
*/
public class ExternalHookImpl extends CommentedElementImpl implements ExternalHook {
-
/**
* The default value of the '{@link #getClasspath() <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getClasspath()
* @generated
* @ordered
@@ -42,7 +49,6 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
* The cached value of the '{@link #getClasspath() <em>Classpath</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getClasspath()
* @generated
* @ordered
@@ -52,7 +58,6 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ExternalHookImpl() {
@@ -62,7 +67,6 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,10 +77,8 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getClasspath() {
return classpath;
}
@@ -84,29 +86,25 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setClasspath(String newClasspath) {
String oldClasspath = classpath;
classpath = newClasspath;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH, oldClasspath, classpath));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- return getClasspath();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ return getClasspath();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,15 +112,14 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- setClasspath((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ setClasspath((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -130,15 +127,14 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- setClasspath(CLASSPATH_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ setClasspath(CLASSPATH_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -146,14 +142,13 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
- return CLASSPATH_EDEFAULT == null ? classpath != null : !CLASSPATH_EDEFAULT.equals(classpath);
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK__CLASSPATH:
+ return CLASSPATH_EDEFAULT == null ? classpath != null : !CLASSPATH_EDEFAULT.equals(classpath);
}
return super.eIsSet(featureID);
}
@@ -161,14 +156,11 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (classpath: ");
@@ -177,4 +169,4 @@ public class ExternalHookImpl extends CommentedElementImpl implements ExternalHo
return result.toString();
}
-} // ExternalHookImpl
+} //ExternalHookImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java
deleted file mode 100644
index 7a5600afb16..00000000000
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/ExternalMetamodelTypeImpl.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.papyrusgmfgenextension.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.gmf.codegen.gmfgen.impl.MetamodelTypeImpl;
-import org.eclipse.papyrus.domaincontextcodegen.ElementType;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>External Metamodel Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.ExternalMetamodelTypeImpl#getElementTypeRef <em>Element Type Ref</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ExternalMetamodelTypeImpl extends MetamodelTypeImpl implements ExternalMetamodelType {
- /**
- * The cached value of the '{@link #getElementTypeRef() <em>Element Type Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getElementTypeRef()
- * @generated
- * @ordered
- */
- protected ElementType elementTypeRef;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ExternalMetamodelTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusgmfgenextensionPackage.Literals.EXTERNAL_METAMODEL_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ElementType getElementTypeRef() {
- if (elementTypeRef != null && elementTypeRef.eIsProxy()) {
- InternalEObject oldElementTypeRef = (InternalEObject) elementTypeRef;
- elementTypeRef = (ElementType) eResolveProxy(oldElementTypeRef);
- if (elementTypeRef != oldElementTypeRef) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF, oldElementTypeRef, elementTypeRef));
- }
- }
- }
- return elementTypeRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ElementType basicGetElementTypeRef() {
- return elementTypeRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setElementTypeRef(ElementType newElementTypeRef) {
- ElementType oldElementTypeRef = elementTypeRef;
- elementTypeRef = newElementTypeRef;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF, oldElementTypeRef, elementTypeRef));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- if (resolve) {
- return getElementTypeRef();
- }
- return basicGetElementTypeRef();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- setElementTypeRef((ElementType) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- setElementTypeRef((ElementType) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF:
- return elementTypeRef != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // ExternalMetamodelTypeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
index 3b5761b90b0..ae706bd9553 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenNodeConstraintImpl.java
@@ -1,21 +1,33 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenConstraint;
import org.eclipse.gmf.codegen.gmfgen.GenNode;
+
import org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -27,19 +39,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenNode <em>Gen Node</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenConstraint <em>Gen Constraint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenNodeConstraintImpl#getGenConstraint <em>Gen Constraint</em>}</li>
* </ul>
*
* @generated
*/
public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNodeConstraint {
-
/**
* The cached value of the '{@link #getGenNode() <em>Gen Node</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenNode()
* @generated
* @ordered
@@ -50,7 +60,6 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
* The cached value of the '{@link #getGenConstraint() <em>Gen Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenConstraint()
* @generated
* @ordered
@@ -60,7 +69,6 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected GenNodeConstraintImpl() {
@@ -70,7 +78,6 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -81,10 +88,8 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenNode> getGenNode() {
if (genNode == null) {
genNode = new EObjectResolvingEList<GenNode>(GenNode.class, this, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE);
@@ -95,18 +100,15 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenConstraint getGenConstraint() {
if (genConstraint != null && genConstraint.eIsProxy()) {
- InternalEObject oldGenConstraint = (InternalEObject) genConstraint;
- genConstraint = (GenConstraint) eResolveProxy(oldGenConstraint);
+ InternalEObject oldGenConstraint = (InternalEObject)genConstraint;
+ genConstraint = (GenConstraint)eResolveProxy(oldGenConstraint);
if (genConstraint != oldGenConstraint) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT, oldGenConstraint, genConstraint));
- }
}
}
return genConstraint;
@@ -115,7 +117,6 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenConstraint basicGetGenConstraint() {
@@ -125,34 +126,28 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setGenConstraint(GenConstraint newGenConstraint) {
GenConstraint oldGenConstraint = genConstraint;
genConstraint = newGenConstraint;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT, oldGenConstraint, genConstraint));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- return getGenNode();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- if (resolve) {
- return getGenConstraint();
- }
- return basicGetGenConstraint();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ return getGenNode();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ if (resolve) return getGenConstraint();
+ return basicGetGenConstraint();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -160,20 +155,19 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- getGenNode().clear();
- getGenNode().addAll((Collection<? extends GenNode>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- setGenConstraint((GenConstraint) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ getGenNode().clear();
+ getGenNode().addAll((Collection<? extends GenNode>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ setGenConstraint((GenConstraint)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -181,18 +175,17 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- getGenNode().clear();
- return;
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- setGenConstraint((GenConstraint) null);
- return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ getGenNode().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ setGenConstraint((GenConstraint)null);
+ return;
}
super.eUnset(featureID);
}
@@ -200,18 +193,17 @@ public class GenNodeConstraintImpl extends CommentedElementImpl implements GenNo
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
- return genNode != null && !genNode.isEmpty();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
- return genConstraint != null;
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_NODE:
+ return genNode != null && !genNode.isEmpty();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT__GEN_CONSTRAINT:
+ return genConstraint != null;
}
return super.eIsSet(featureID);
}
-} // GenNodeConstraintImpl
+} //GenNodeConstraintImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenVisualTypeProviderImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenVisualTypeProviderImpl.java
index 0f586c555eb..d4048339286 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenVisualTypeProviderImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenVisualTypeProviderImpl.java
@@ -1,188 +1,172 @@
-/**
- * Copyright (c) 2015 Christian W. Damus and others.
- *
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Christian W. Damus - Initial API and implementation
- *
- */
-package org.eclipse.papyrus.papyrusgmfgenextension.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Gen Visual Type Provider</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl#getClassName <em>Class Name</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class GenVisualTypeProviderImpl extends CommentedElementImpl implements GenVisualTypeProvider {
- /**
- * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassName()
- * @generated
- * @ordered
- */
- protected static final String CLASS_NAME_EDEFAULT = "UMLVisualTypeProvider";
-
- /**
- * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClassName()
- * @generated
- * @ordered
- */
- protected String className = CLASS_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GenVisualTypeProviderImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusgmfgenextensionPackage.Literals.GEN_VISUAL_TYPE_PROVIDER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getClassName() {
- return className;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setClassName(String newClassName) {
- String oldClassName = className;
- className = newClassName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME, oldClassName, className));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
- return getClassName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
- setClassName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
- setClassName(CLASS_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
- return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (className: ");
- result.append(className);
- result.append(')');
- return result.toString();
- }
-
-} // GenVisualTypeProviderImpl
+/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
+ */
+package org.eclipse.papyrus.papyrusgmfgenextension.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider;
+import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Gen Visual Type Provider</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.GenVisualTypeProviderImpl#getClassName <em>Class Name</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class GenVisualTypeProviderImpl extends CommentedElementImpl implements GenVisualTypeProvider {
+ /**
+ * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_NAME_EDEFAULT = "UMLVisualTypeProvider";
+
+ /**
+ * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected String className = CLASS_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GenVisualTypeProviderImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return PapyrusgmfgenextensionPackage.Literals.GEN_VISUAL_TYPE_PROVIDER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getClassName() {
+ return className;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setClassName(String newClassName) {
+ String oldClassName = className;
+ className = newClassName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME, oldClassName, className));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
+ return getClassName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
+ setClassName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
+ setClassName(CLASS_NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER__CLASS_NAME:
+ return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (className: ");
+ result.append(className);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GenVisualTypeProviderImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
index 7937bbf17a9..583a4895c1e 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/GenerateUsingElementTypeCreationCommandImpl.java
@@ -1,8 +1,19 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -17,7 +28,6 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected GenerateUsingElementTypeCreationCommandImpl() {
@@ -27,7 +37,6 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -35,4 +44,4 @@ public class GenerateUsingElementTypeCreationCommandImpl extends CommentedElemen
return PapyrusgmfgenextensionPackage.Literals.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND;
}
-} // GenerateUsingElementTypeCreationCommandImpl
+} //GenerateUsingElementTypeCreationCommandImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
index 7ad523f4860..dcb195eed0d 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/LabelVisibilityPreferenceImpl.java
@@ -1,20 +1,32 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
import org.eclipse.gmf.codegen.gmfgen.GenLinkLabel;
+
import org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -26,11 +38,11 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getRole <em>Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getIconPathRole <em>Icon Path Role</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getLinkLabels <em>Link Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getExternalNodeLabels <em>External Node Labels</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getRole <em>Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getIconPathRole <em>Icon Path Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getLinkLabels <em>Link Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#getExternalNodeLabels <em>External Node Labels</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.LabelVisibilityPreferenceImpl#isVisibleByDefault <em>Visible By Default</em>}</li>
* </ul>
*
* @generated
@@ -40,7 +52,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #getRole() <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getRole()
* @generated
* @ordered
@@ -51,7 +62,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getRole() <em>Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getRole()
* @generated
* @ordered
@@ -62,7 +72,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #getIconPathRole() <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getIconPathRole()
* @generated
* @ordered
@@ -73,7 +82,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getIconPathRole() <em>Icon Path Role</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getIconPathRole()
* @generated
* @ordered
@@ -84,7 +92,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getLinkLabels() <em>Link Labels</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getLinkLabels()
* @generated
* @ordered
@@ -95,7 +102,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #getExternalNodeLabels() <em>External Node Labels</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getExternalNodeLabels()
* @generated
* @ordered
@@ -106,7 +112,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The default value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -117,7 +122,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
* The cached value of the '{@link #isVisibleByDefault() <em>Visible By Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isVisibleByDefault()
* @generated
* @ordered
@@ -127,7 +131,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected LabelVisibilityPreferenceImpl() {
@@ -137,7 +140,6 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -148,10 +150,8 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getRole() {
return role;
}
@@ -159,25 +159,20 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setRole(String newRole) {
String oldRole = role;
role = newRole;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE, oldRole, role));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getIconPathRole() {
return iconPathRole;
}
@@ -185,25 +180,20 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setIconPathRole(String newIconPathRole) {
String oldIconPathRole = iconPathRole;
iconPathRole = newIconPathRole;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE, oldIconPathRole, iconPathRole));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenLinkLabel> getLinkLabels() {
if (linkLabels == null) {
linkLabels = new EObjectResolvingEList<GenLinkLabel>(GenLinkLabel.class, this, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS);
@@ -214,10 +204,8 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenExternalNodeLabel> getExternalNodeLabels() {
if (externalNodeLabels == null) {
externalNodeLabels = new EObjectResolvingEList<GenExternalNodeLabel>(GenExternalNodeLabel.class, this, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS);
@@ -228,10 +216,8 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public boolean isVisibleByDefault() {
return visibleByDefault;
}
@@ -239,37 +225,33 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setVisibleByDefault(boolean newVisibleByDefault) {
boolean oldVisibleByDefault = visibleByDefault;
visibleByDefault = newVisibleByDefault;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT, oldVisibleByDefault, visibleByDefault));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- return getRole();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- return getIconPathRole();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- return getLinkLabels();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- return getExternalNodeLabels();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return isVisibleByDefault();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ return getRole();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ return getIconPathRole();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ return getLinkLabels();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ return getExternalNodeLabels();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return isVisibleByDefault();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -277,30 +259,29 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- setRole((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- setIconPathRole((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- getLinkLabels().clear();
- getLinkLabels().addAll((Collection<? extends GenLinkLabel>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- getExternalNodeLabels().clear();
- getExternalNodeLabels().addAll((Collection<? extends GenExternalNodeLabel>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault((Boolean) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ setRole((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ setIconPathRole((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ getLinkLabels().clear();
+ getLinkLabels().addAll((Collection<? extends GenLinkLabel>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ getExternalNodeLabels().clear();
+ getExternalNodeLabels().addAll((Collection<? extends GenExternalNodeLabel>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -308,27 +289,26 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- setRole(ROLE_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- setIconPathRole(ICON_PATH_ROLE_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- getLinkLabels().clear();
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- getExternalNodeLabels().clear();
- return;
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ setRole(ROLE_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ setIconPathRole(ICON_PATH_ROLE_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ getLinkLabels().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ getExternalNodeLabels().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ setVisibleByDefault(VISIBLE_BY_DEFAULT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -336,22 +316,21 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
- return ROLE_EDEFAULT == null ? role != null : !ROLE_EDEFAULT.equals(role);
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
- return ICON_PATH_ROLE_EDEFAULT == null ? iconPathRole != null : !ICON_PATH_ROLE_EDEFAULT.equals(iconPathRole);
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
- return linkLabels != null && !linkLabels.isEmpty();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
- return externalNodeLabels != null && !externalNodeLabels.isEmpty();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
- return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ROLE:
+ return ROLE_EDEFAULT == null ? role != null : !ROLE_EDEFAULT.equals(role);
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__ICON_PATH_ROLE:
+ return ICON_PATH_ROLE_EDEFAULT == null ? iconPathRole != null : !ICON_PATH_ROLE_EDEFAULT.equals(iconPathRole);
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__LINK_LABELS:
+ return linkLabels != null && !linkLabels.isEmpty();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__EXTERNAL_NODE_LABELS:
+ return externalNodeLabels != null && !externalNodeLabels.isEmpty();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE__VISIBLE_BY_DEFAULT:
+ return visibleByDefault != VISIBLE_BY_DEFAULT_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -359,14 +338,11 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (role: ");
@@ -379,4 +355,4 @@ public class LabelVisibilityPreferenceImpl extends CommentedElementImpl implemen
return result.toString();
}
-} // LabelVisibilityPreferenceImpl
+} //LabelVisibilityPreferenceImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
index c14a7dc7d3b..aa26b55ed0b 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/MutatingCanvasImpl.java
@@ -1,19 +1,29 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas;
import org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -26,18 +36,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl#getAlternateCanvases <em>Alternate Canvases</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.MutatingCanvasImpl#getAlternateCanvases <em>Alternate Canvases</em>}</li>
* </ul>
*
* @generated
*/
public class MutatingCanvasImpl extends CommentedElementImpl implements MutatingCanvas {
-
/**
* The cached value of the '{@link #getAlternateCanvases() <em>Alternate Canvases</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAlternateCanvases()
* @generated
* @ordered
@@ -47,7 +55,6 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected MutatingCanvasImpl() {
@@ -57,7 +64,6 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -68,10 +74,8 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<AlternateCanvas> getAlternateCanvases() {
if (alternateCanvases == null) {
alternateCanvases = new EObjectContainmentEList<AlternateCanvas>(AlternateCanvas.class, this, PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES);
@@ -82,14 +86,13 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return ((InternalEList<?>) getAlternateCanvases()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return ((InternalEList<?>)getAlternateCanvases()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -97,14 +100,13 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return getAlternateCanvases();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return getAlternateCanvases();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -112,17 +114,16 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- getAlternateCanvases().clear();
- getAlternateCanvases().addAll((Collection<? extends AlternateCanvas>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ getAlternateCanvases().clear();
+ getAlternateCanvases().addAll((Collection<? extends AlternateCanvas>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -130,15 +131,14 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- getAlternateCanvases().clear();
- return;
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ getAlternateCanvases().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -146,16 +146,15 @@ public class MutatingCanvasImpl extends CommentedElementImpl implements Mutating
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
- return alternateCanvases != null && !alternateCanvases.isEmpty();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS__ALTERNATE_CANVASES:
+ return alternateCanvases != null && !alternateCanvases.isEmpty();
}
return super.eIsSet(featureID);
}
-} // MutatingCanvasImpl
+} //MutatingCanvasImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
index 03470ed64ba..f914fe72af0 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/OwnedEditpartImpl.java
@@ -1,14 +1,23 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
@@ -20,18 +29,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.OwnedEditpartImpl#getName <em>Name</em>}</li>
* </ul>
*
* @generated
*/
public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart {
-
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -42,7 +49,6 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -52,7 +58,6 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected OwnedEditpartImpl() {
@@ -62,7 +67,6 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,10 +77,8 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getName() {
return name;
}
@@ -84,29 +86,25 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME, oldName, name));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- return getName();
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ return getName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -114,15 +112,14 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- setName((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ setName((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -130,15 +127,14 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- setName(NAME_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ setName(NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -146,14 +142,13 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
@@ -161,14 +156,11 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -177,4 +169,4 @@ public class OwnedEditpartImpl extends ExternalHookImpl implements OwnedEditpart
return result.toString();
}
-} // OwnedEditpartImpl
+} //OwnedEditpartImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
index fdfb211a344..83b9c4e3d77 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusExtensionRootNodeImpl.java
@@ -1,40 +1,51 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
+
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+
import org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode;
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Papyrus Extension Root Node</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Papyrus Extension Root Node</b></em>'.
+ * <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl#getExtensionNodes <em>Extension Nodes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PapyrusExtensionRootNodeImpl#getExtensionNodes <em>Extension Nodes</em>}</li>
* </ul>
*
* @generated
*/
public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implements PapyrusExtensionRootNode {
-
/**
* The cached value of the '{@link #getExtensionNodes() <em>Extension Nodes</em>}' containment reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @see #getExtensionNodes()
* @generated
* @ordered
@@ -42,8 +53,8 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
protected EList<CommentedElement> extensionNodes;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
protected PapyrusExtensionRootNodeImpl() {
@@ -51,8 +62,8 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
@@ -61,11 +72,10 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EList<CommentedElement> getExtensionNodes() {
if (extensionNodes == null) {
extensionNodes = new EObjectContainmentEList<CommentedElement>(CommentedElement.class, this, PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES);
@@ -74,77 +84,77 @@ public class PapyrusExtensionRootNodeImpl extends CommentedElementImpl implement
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return ((InternalEList<?>) getExtensionNodes()).basicRemove(otherEnd, msgs);
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return ((InternalEList<?>)getExtensionNodes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return getExtensionNodes();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return getExtensionNodes();
}
return super.eGet(featureID, resolve, coreType);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- getExtensionNodes().clear();
- getExtensionNodes().addAll((Collection<? extends CommentedElement>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ getExtensionNodes().clear();
+ getExtensionNodes().addAll((Collection<? extends CommentedElement>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- getExtensionNodes().clear();
- return;
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ getExtensionNodes().clear();
+ return;
}
super.eUnset(featureID);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
- return extensionNodes != null && !extensionNodes.isEmpty();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE__EXTENSION_NODES:
+ return extensionNodes != null && !extensionNodes.isEmpty();
}
return super.eIsSet(featureID);
}
-} // PapyrusExtensionRootNodeImpl
+} //PapyrusExtensionRootNodeImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
index c4248da1f21..dc9097eaf63 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionFactoryImpl.java
@@ -1,68 +1,48 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
+
import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
import org.eclipse.papyrus.papyrusgmfgenextension.*;
-import org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode;
-import org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement;
-import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy;
-import org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton;
-import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService;
-import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType;
-import org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint;
-import org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand;
-import org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas;
-import org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionFactory;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements PapyrusgmfgenextensionFactory {
-
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static PapyrusgmfgenextensionFactory init() {
try {
- PapyrusgmfgenextensionFactory thePapyrusgmfgenextensionFactory = (PapyrusgmfgenextensionFactory) EPackage.Registry.INSTANCE.getEFactory(PapyrusgmfgenextensionPackage.eNS_URI);
+ PapyrusgmfgenextensionFactory thePapyrusgmfgenextensionFactory = (PapyrusgmfgenextensionFactory)EPackage.Registry.INSTANCE.getEFactory(PapyrusgmfgenextensionPackage.eNS_URI);
if (thePapyrusgmfgenextensionFactory != null) {
return thePapyrusgmfgenextensionFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new PapyrusgmfgenextensionFactoryImpl();
@@ -72,7 +52,6 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PapyrusgmfgenextensionFactoryImpl() {
@@ -82,78 +61,46 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW:
- return createExtendedGenView();
- case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT:
- return createCommentedElement();
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK:
- return createPropertyRefreshHook();
- case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK:
- return createExternalHook();
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR:
- return createSpecificLocator();
- case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE:
- return createPapyrusExtensionRootNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS:
- return createAlternateCanvas();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE:
- return createAlternateGenTopLevelNode();
- case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK:
- return createAlternateGenLink();
- case PapyrusgmfgenextensionPackage.MUTATING_CANVAS:
- return createMutatingCanvas();
- case PapyrusgmfgenextensionPackage.OWNED_EDITPART:
- return createOwnedEditpart();
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER:
- return createSpecificDiagramUpdater();
- case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT:
- return createGenNodeConstraint();
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL:
- return createSpecificLocatorExternalLabel();
- case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES:
- return createAdditionalEditPartCandies();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE:
- return createEditPartUsingDeleteService();
- case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE:
- return createEditPartUsingReorientService();
- case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE:
- return createLabelVisibilityPreference();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE:
- return createCompartmentVisibilityPreference();
- case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE:
- return createCompartmentTitleVisibilityPreference();
- case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY:
- return createConstrainedByReferenceCompartmentItemSemanticEditPolicy();
- case PapyrusgmfgenextensionPackage.EXTERNAL_ELEMENT_TYPES_LIBRARY:
- return createExternalElementTypesLibrary();
- case PapyrusgmfgenextensionPackage.EXTERNAL_METAMODEL_TYPE:
- return createExternalMetamodelType();
- case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND:
- return createGenerateUsingElementTypeCreationCommand();
- case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON:
- return createCustomDiagramUpdaterSingleton();
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE:
- return createSpecificNodePlate();
- case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER:
- return createGenVisualTypeProvider();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ case PapyrusgmfgenextensionPackage.EXTENDED_GEN_VIEW: return createExtendedGenView();
+ case PapyrusgmfgenextensionPackage.COMMENTED_ELEMENT: return createCommentedElement();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK: return createPropertyRefreshHook();
+ case PapyrusgmfgenextensionPackage.EXTERNAL_HOOK: return createExternalHook();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR: return createSpecificLocator();
+ case PapyrusgmfgenextensionPackage.PAPYRUS_EXTENSION_ROOT_NODE: return createPapyrusExtensionRootNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_CANVAS: return createAlternateCanvas();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_TOP_LEVEL_NODE: return createAlternateGenTopLevelNode();
+ case PapyrusgmfgenextensionPackage.ALTERNATE_GEN_LINK: return createAlternateGenLink();
+ case PapyrusgmfgenextensionPackage.MUTATING_CANVAS: return createMutatingCanvas();
+ case PapyrusgmfgenextensionPackage.OWNED_EDITPART: return createOwnedEditpart();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER: return createSpecificDiagramUpdater();
+ case PapyrusgmfgenextensionPackage.GEN_NODE_CONSTRAINT: return createGenNodeConstraint();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL: return createSpecificLocatorExternalLabel();
+ case PapyrusgmfgenextensionPackage.ADDITIONAL_EDIT_PART_CANDIES: return createAdditionalEditPartCandies();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_DELETE_SERVICE: return createEditPartUsingDeleteService();
+ case PapyrusgmfgenextensionPackage.EDIT_PART_USING_REORIENT_SERVICE: return createEditPartUsingReorientService();
+ case PapyrusgmfgenextensionPackage.LABEL_VISIBILITY_PREFERENCE: return createLabelVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_VISIBILITY_PREFERENCE: return createCompartmentVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.COMPARTMENT_TITLE_VISIBILITY_PREFERENCE: return createCompartmentTitleVisibilityPreference();
+ case PapyrusgmfgenextensionPackage.CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY: return createConstrainedByReferenceCompartmentItemSemanticEditPolicy();
+ case PapyrusgmfgenextensionPackage.GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND: return createGenerateUsingElementTypeCreationCommand();
+ case PapyrusgmfgenextensionPackage.CUSTOM_DIAGRAM_UPDATER_SINGLETON: return createCustomDiagramUpdaterSingleton();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE: return createSpecificNodePlate();
+ case PapyrusgmfgenextensionPackage.GEN_VISUAL_TYPE_PROVIDER: return createGenVisualTypeProvider();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public ExtendedGenView createExtendedGenView() {
ExtendedGenViewImpl extendedGenView = new ExtendedGenViewImpl();
return extendedGenView;
@@ -162,10 +109,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public CommentedElement createCommentedElement() {
CommentedElementImpl commentedElement = new CommentedElementImpl();
return commentedElement;
@@ -174,10 +119,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public PropertyRefreshHook createPropertyRefreshHook() {
PropertyRefreshHookImpl propertyRefreshHook = new PropertyRefreshHookImpl();
return propertyRefreshHook;
@@ -186,10 +129,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public ExternalHook createExternalHook() {
ExternalHookImpl externalHook = new ExternalHookImpl();
return externalHook;
@@ -198,10 +139,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public SpecificLocator createSpecificLocator() {
SpecificLocatorImpl specificLocator = new SpecificLocatorImpl();
return specificLocator;
@@ -210,10 +149,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public PapyrusExtensionRootNode createPapyrusExtensionRootNode() {
PapyrusExtensionRootNodeImpl papyrusExtensionRootNode = new PapyrusExtensionRootNodeImpl();
return papyrusExtensionRootNode;
@@ -222,10 +159,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public AlternateCanvas createAlternateCanvas() {
AlternateCanvasImpl alternateCanvas = new AlternateCanvasImpl();
return alternateCanvas;
@@ -234,10 +169,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public AlternateGenTopLevelNode createAlternateGenTopLevelNode() {
AlternateGenTopLevelNodeImpl alternateGenTopLevelNode = new AlternateGenTopLevelNodeImpl();
return alternateGenTopLevelNode;
@@ -246,10 +179,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public AlternateGenLink createAlternateGenLink() {
AlternateGenLinkImpl alternateGenLink = new AlternateGenLinkImpl();
return alternateGenLink;
@@ -258,10 +189,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public MutatingCanvas createMutatingCanvas() {
MutatingCanvasImpl mutatingCanvas = new MutatingCanvasImpl();
return mutatingCanvas;
@@ -270,10 +199,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public OwnedEditpart createOwnedEditpart() {
OwnedEditpartImpl ownedEditpart = new OwnedEditpartImpl();
return ownedEditpart;
@@ -282,10 +209,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public SpecificDiagramUpdater createSpecificDiagramUpdater() {
SpecificDiagramUpdaterImpl specificDiagramUpdater = new SpecificDiagramUpdaterImpl();
return specificDiagramUpdater;
@@ -294,10 +219,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenNodeConstraint createGenNodeConstraint() {
GenNodeConstraintImpl genNodeConstraint = new GenNodeConstraintImpl();
return genNodeConstraint;
@@ -306,10 +229,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public SpecificLocatorExternalLabel createSpecificLocatorExternalLabel() {
SpecificLocatorExternalLabelImpl specificLocatorExternalLabel = new SpecificLocatorExternalLabelImpl();
return specificLocatorExternalLabel;
@@ -318,10 +239,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public AdditionalEditPartCandies createAdditionalEditPartCandies() {
AdditionalEditPartCandiesImpl additionalEditPartCandies = new AdditionalEditPartCandiesImpl();
return additionalEditPartCandies;
@@ -330,10 +249,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EditPartUsingDeleteService createEditPartUsingDeleteService() {
EditPartUsingDeleteServiceImpl editPartUsingDeleteService = new EditPartUsingDeleteServiceImpl();
return editPartUsingDeleteService;
@@ -342,10 +259,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EditPartUsingReorientService createEditPartUsingReorientService() {
EditPartUsingReorientServiceImpl editPartUsingReorientService = new EditPartUsingReorientServiceImpl();
return editPartUsingReorientService;
@@ -354,10 +269,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public LabelVisibilityPreference createLabelVisibilityPreference() {
LabelVisibilityPreferenceImpl labelVisibilityPreference = new LabelVisibilityPreferenceImpl();
return labelVisibilityPreference;
@@ -366,10 +279,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public CompartmentVisibilityPreference createCompartmentVisibilityPreference() {
CompartmentVisibilityPreferenceImpl compartmentVisibilityPreference = new CompartmentVisibilityPreferenceImpl();
return compartmentVisibilityPreference;
@@ -378,10 +289,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public CompartmentTitleVisibilityPreference createCompartmentTitleVisibilityPreference() {
CompartmentTitleVisibilityPreferenceImpl compartmentTitleVisibilityPreference = new CompartmentTitleVisibilityPreferenceImpl();
return compartmentTitleVisibilityPreference;
@@ -390,10 +299,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public ConstrainedByReferenceCompartmentItemSemanticEditPolicy createConstrainedByReferenceCompartmentItemSemanticEditPolicy() {
ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl constrainedByReferenceCompartmentItemSemanticEditPolicy = new ConstrainedByReferenceCompartmentItemSemanticEditPolicyImpl();
return constrainedByReferenceCompartmentItemSemanticEditPolicy;
@@ -402,34 +309,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ExternalElementTypesLibrary createExternalElementTypesLibrary() {
- ExternalElementTypesLibraryImpl externalElementTypesLibrary = new ExternalElementTypesLibraryImpl();
- return externalElementTypesLibrary;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
* @generated
*/
- @Override
- public ExternalMetamodelType createExternalMetamodelType() {
- ExternalMetamodelTypeImpl externalMetamodelType = new ExternalMetamodelTypeImpl();
- return externalMetamodelType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
public GenerateUsingElementTypeCreationCommand createGenerateUsingElementTypeCreationCommand() {
GenerateUsingElementTypeCreationCommandImpl generateUsingElementTypeCreationCommand = new GenerateUsingElementTypeCreationCommandImpl();
return generateUsingElementTypeCreationCommand;
@@ -438,10 +319,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public CustomDiagramUpdaterSingleton createCustomDiagramUpdaterSingleton() {
CustomDiagramUpdaterSingletonImpl customDiagramUpdaterSingleton = new CustomDiagramUpdaterSingletonImpl();
return customDiagramUpdaterSingleton;
@@ -450,10 +329,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public SpecificNodePlate createSpecificNodePlate() {
SpecificNodePlateImpl specificNodePlate = new SpecificNodePlateImpl();
return specificNodePlate;
@@ -462,10 +339,8 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenVisualTypeProvider createGenVisualTypeProvider() {
GenVisualTypeProviderImpl genVisualTypeProvider = new GenVisualTypeProviderImpl();
return genVisualTypeProvider;
@@ -474,18 +349,15 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public PapyrusgmfgenextensionPackage getPapyrusgmfgenextensionPackage() {
- return (PapyrusgmfgenextensionPackage) getEPackage();
+ return (PapyrusgmfgenextensionPackage)getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
@@ -494,4 +366,4 @@ public class PapyrusgmfgenextensionFactoryImpl extends EFactoryImpl implements P
return PapyrusgmfgenextensionPackage.eINSTANCE;
}
-} // PapyrusgmfgenextensionFactoryImpl
+} //PapyrusgmfgenextensionFactoryImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
index c6affb53b60..e8dc09a4cfe 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PapyrusgmfgenextensionPackageImpl.java
@@ -1,20 +1,29 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage;
+
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
+
import org.eclipse.emf.ecore.impl.EPackageImpl;
+
import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
-import org.eclipse.papyrus.domaincontextcodegen.DomaincontextcodegenPackage;
+
import org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies;
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas;
import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink;
@@ -27,9 +36,7 @@ import org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton;
import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService;
import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService;
import org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary;
import org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType;
import org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint;
import org.eclipse.papyrus.papyrusgmfgenextension.GenVisualTypeProvider;
import org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand;
@@ -46,85 +53,85 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
import org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate;
/**
- * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
* @generated
*/
public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements PapyrusgmfgenextensionPackage {
-
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass extendedGenViewEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass commentedElementEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass propertyRefreshHookEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass externalHookEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass specificLocatorEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass papyrusExtensionRootNodeEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass alternateCanvasEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass alternateGenTopLevelNodeEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass alternateGenLinkEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass mutatingCanvasEClass = null;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private EClass ownedEditpartEClass = null;
@@ -132,7 +139,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass specificDiagramUpdaterEClass = null;
@@ -140,7 +146,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass genNodeConstraintEClass = null;
@@ -148,7 +153,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass specificLocatorExternalLabelEClass = null;
@@ -156,7 +160,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass additionalEditPartCandiesEClass = null;
@@ -164,7 +167,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass editPartUsingDeleteServiceEClass = null;
@@ -172,7 +174,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass editPartUsingReorientServiceEClass = null;
@@ -180,7 +181,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass labelVisibilityPreferenceEClass = null;
@@ -188,7 +188,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass compartmentVisibilityPreferenceEClass = null;
@@ -196,7 +195,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass compartmentTitleVisibilityPreferenceEClass = null;
@@ -204,7 +202,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass constrainedByReferenceCompartmentItemSemanticEditPolicyEClass = null;
@@ -212,23 +209,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass externalElementTypesLibraryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass externalMetamodelTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
* @generated
*/
private EClass generateUsingElementTypeCreationCommandEClass = null;
@@ -236,7 +216,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass customDiagramUpdaterSingletonEClass = null;
@@ -244,7 +223,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass specificNodePlateEClass = null;
@@ -252,7 +230,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass genVisualTypeProviderEClass = null;
@@ -261,13 +238,12 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>
- * Note: the correct way to create the package is via the static
+ * <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 -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#eNS_URI
* @see #init()
@@ -278,39 +254,33 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- 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 PapyrusgmfgenextensionPackage#eINSTANCE} when that field is accessed.
+ *
+ * <p>This method is used to initialize {@link PapyrusgmfgenextensionPackage#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 -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static PapyrusgmfgenextensionPackage init() {
- if (isInited) {
- return (PapyrusgmfgenextensionPackage) EPackage.Registry.INSTANCE.getEPackage(PapyrusgmfgenextensionPackage.eNS_URI);
- }
+ if (isInited) return (PapyrusgmfgenextensionPackage)EPackage.Registry.INSTANCE.getEPackage(PapyrusgmfgenextensionPackage.eNS_URI);
// Obtain or create and register package
- PapyrusgmfgenextensionPackageImpl thePapyrusgmfgenextensionPackage = (PapyrusgmfgenextensionPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusgmfgenextensionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
- : new PapyrusgmfgenextensionPackageImpl());
+ PapyrusgmfgenextensionPackageImpl thePapyrusgmfgenextensionPackage = (PapyrusgmfgenextensionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusgmfgenextensionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PapyrusgmfgenextensionPackageImpl());
isInited = true;
// Initialize simple dependencies
- DomaincontextcodegenPackage.eINSTANCE.eClass();
GMFGenPackage.eINSTANCE.eClass();
// Create package meta-data objects
@@ -322,349 +292,314 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
// Mark meta-data to indicate it can't be changed
thePapyrusgmfgenextensionPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(PapyrusgmfgenextensionPackage.eNS_URI, thePapyrusgmfgenextensionPackage);
return thePapyrusgmfgenextensionPackage;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getExtendedGenView() {
return extendedGenViewEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getExtendedGenView_GenView() {
- return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(0);
+ return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getExtendedGenView_IsAbstract() {
- return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getExtendedGenView_SuperGenViews() {
- return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(2);
+ return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(2);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getExtendedGenView_PropRefreshHook() {
- return (EReference) extendedGenViewEClass.getEStructuralFeatures().get(3);
+ return (EReference)extendedGenViewEClass.getEStructuralFeatures().get(3);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getExtendedGenView_Name() {
- return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(4);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getExtendedGenView_SuperOwnedEditPart() {
- return (EAttribute) extendedGenViewEClass.getEStructuralFeatures().get(5);
+ return (EAttribute)extendedGenViewEClass.getEStructuralFeatures().get(5);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getCommentedElement() {
return commentedElementEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getCommentedElement_Comment() {
- return (EAttribute) commentedElementEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)commentedElementEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getPropertyRefreshHook() {
return propertyRefreshHookEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getPropertyRefreshHook_TriggeringCondition() {
- return (EAttribute) propertyRefreshHookEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)propertyRefreshHookEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getPropertyRefreshHook_Action() {
- return (EAttribute) propertyRefreshHookEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)propertyRefreshHookEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getExternalHook() {
return externalHookEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getExternalHook_Classpath() {
- return (EAttribute) externalHookEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)externalHookEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getSpecificLocator() {
return specificLocatorEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getSpecificLocator_GenChildSideAffixedNode() {
- return (EReference) specificLocatorEClass.getEStructuralFeatures().get(0);
+ return (EReference)specificLocatorEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getPapyrusExtensionRootNode() {
return papyrusExtensionRootNodeEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getPapyrusExtensionRootNode_ExtensionNodes() {
- return (EReference) papyrusExtensionRootNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference)papyrusExtensionRootNodeEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getAlternateCanvas() {
return alternateCanvasEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateCanvas_DomainDiagramElement() {
- return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(0);
+ return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateCanvas_AlternateTopLevelNodes() {
- return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(1);
+ return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateCanvas_AlternateLinkNodes() {
- return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(2);
+ return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(2);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateCanvas_Diagram() {
- return (EReference) alternateCanvasEClass.getEStructuralFeatures().get(3);
+ return (EReference)alternateCanvasEClass.getEStructuralFeatures().get(3);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getAlternateGenTopLevelNode() {
return alternateGenTopLevelNodeEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateGenTopLevelNode_GenTopLevelNode() {
- return (EReference) alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(0);
+ return (EReference)alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateGenTopLevelNode_TypeModelFacet() {
- return (EReference) alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(1);
+ return (EReference)alternateGenTopLevelNodeEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getAlternateGenLink() {
return alternateGenLinkEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateGenLink_GenLinkNode() {
- return (EReference) alternateGenLinkEClass.getEStructuralFeatures().get(0);
+ return (EReference)alternateGenLinkEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getAlternateGenLink_TypeModelFacet() {
- return (EReference) alternateGenLinkEClass.getEStructuralFeatures().get(1);
+ return (EReference)alternateGenLinkEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getMutatingCanvas() {
return mutatingCanvasEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EReference getMutatingCanvas_AlternateCanvases() {
- return (EReference) mutatingCanvasEClass.getEStructuralFeatures().get(0);
+ return (EReference)mutatingCanvasEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EClass getOwnedEditpart() {
return ownedEditpartEClass;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public EAttribute getOwnedEditpart_Name() {
- return (EAttribute) ownedEditpartEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)ownedEditpartEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getSpecificDiagramUpdater() {
return specificDiagramUpdaterEClass;
}
@@ -672,21 +607,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getSpecificDiagramUpdater_GenNode() {
- return (EReference) specificDiagramUpdaterEClass.getEStructuralFeatures().get(0);
+ return (EReference)specificDiagramUpdaterEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getGenNodeConstraint() {
return genNodeConstraintEClass;
}
@@ -694,32 +625,26 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getGenNodeConstraint_GenNode() {
- return (EReference) genNodeConstraintEClass.getEStructuralFeatures().get(0);
+ return (EReference)genNodeConstraintEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getGenNodeConstraint_GenConstraint() {
- return (EReference) genNodeConstraintEClass.getEStructuralFeatures().get(1);
+ return (EReference)genNodeConstraintEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getSpecificLocatorExternalLabel() {
return specificLocatorExternalLabelEClass;
}
@@ -727,21 +652,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getSpecificLocatorExternalLabel_GenExternalNodeLabel() {
- return (EReference) specificLocatorExternalLabelEClass.getEStructuralFeatures().get(0);
+ return (EReference)specificLocatorExternalLabelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getAdditionalEditPartCandies() {
return additionalEditPartCandiesEClass;
}
@@ -749,21 +670,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getAdditionalEditPartCandies_BaseEditHelperPackage() {
- return (EAttribute) additionalEditPartCandiesEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)additionalEditPartCandiesEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getEditPartUsingDeleteService() {
return editPartUsingDeleteServiceEClass;
}
@@ -771,32 +688,26 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getEditPartUsingDeleteService_Name() {
- return (EAttribute) editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getEditPartUsingDeleteService_GenView() {
- return (EReference) editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(1);
+ return (EReference)editPartUsingDeleteServiceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getEditPartUsingReorientService() {
return editPartUsingReorientServiceEClass;
}
@@ -804,32 +715,26 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getEditPartUsingReorientService_Name() {
- return (EAttribute) editPartUsingReorientServiceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)editPartUsingReorientServiceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getEditPartUsingReorientService_GenView() {
- return (EReference) editPartUsingReorientServiceEClass.getEStructuralFeatures().get(1);
+ return (EReference)editPartUsingReorientServiceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getLabelVisibilityPreference() {
return labelVisibilityPreferenceEClass;
}
@@ -837,65 +742,53 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getLabelVisibilityPreference_Role() {
- return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getLabelVisibilityPreference_IconPathRole() {
- return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getLabelVisibilityPreference_LinkLabels() {
- return (EReference) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(2);
+ return (EReference)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getLabelVisibilityPreference_ExternalNodeLabels() {
- return (EReference) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(3);
+ return (EReference)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getLabelVisibilityPreference_VisibleByDefault() {
- return (EAttribute) labelVisibilityPreferenceEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)labelVisibilityPreferenceEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getCompartmentVisibilityPreference() {
return compartmentVisibilityPreferenceEClass;
}
@@ -903,32 +796,26 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getCompartmentVisibilityPreference_VisibleByDefault() {
- return (EAttribute) compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getCompartmentVisibilityPreference_Compartments() {
- return (EReference) compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EReference)compartmentVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getCompartmentTitleVisibilityPreference() {
return compartmentTitleVisibilityPreferenceEClass;
}
@@ -936,32 +823,26 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getCompartmentTitleVisibilityPreference_VisibleByDefault() {
- return (EAttribute) compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getCompartmentTitleVisibilityPreference_Compartments() {
- return (EReference) compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
+ return (EReference)compartmentTitleVisibilityPreferenceEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getConstrainedByReferenceCompartmentItemSemanticEditPolicy() {
return constrainedByReferenceCompartmentItemSemanticEditPolicyEClass;
}
@@ -969,54 +850,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView() {
- return (EReference) constrainedByReferenceCompartmentItemSemanticEditPolicyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getExternalElementTypesLibrary() {
- return externalElementTypesLibraryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getExternalMetamodelType() {
- return externalMetamodelTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getExternalMetamodelType_ElementTypeRef() {
- return (EReference) externalMetamodelTypeEClass.getEStructuralFeatures().get(0);
+ return (EReference)constrainedByReferenceCompartmentItemSemanticEditPolicyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getGenerateUsingElementTypeCreationCommand() {
return generateUsingElementTypeCreationCommandEClass;
}
@@ -1024,10 +868,8 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getCustomDiagramUpdaterSingleton() {
return customDiagramUpdaterSingletonEClass;
}
@@ -1035,21 +877,17 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getCustomDiagramUpdaterSingleton_SingletonPath() {
- return (EAttribute) customDiagramUpdaterSingletonEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)customDiagramUpdaterSingletonEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getSpecificNodePlate() {
return specificNodePlateEClass;
}
@@ -1057,43 +895,35 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EReference getSpecificNodePlate_EditParts() {
- return (EReference) specificNodePlateEClass.getEStructuralFeatures().get(0);
+ return (EReference)specificNodePlateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getSpecificNodePlate_Name() {
- return (EAttribute) specificNodePlateEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)specificNodePlateEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getSpecificNodePlate_NodePlateQualifiedName() {
- return (EAttribute) specificNodePlateEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)specificNodePlateEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EClass getGenVisualTypeProvider() {
return genVisualTypeProviderEClass;
}
@@ -1101,42 +931,37 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EAttribute getGenVisualTypeProvider_ClassName() {
- return (EAttribute) genVisualTypeProviderEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)genVisualTypeProviderEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
public PapyrusgmfgenextensionFactory getPapyrusgmfgenextensionFactory() {
- return (PapyrusgmfgenextensionFactory) getEFactoryInstance();
+ return (PapyrusgmfgenextensionFactory)getEFactoryInstance();
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
- if (isCreated) {
- return;
- }
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -1223,11 +1048,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
constrainedByReferenceCompartmentItemSemanticEditPolicyEClass = createEClass(CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY);
createEReference(constrainedByReferenceCompartmentItemSemanticEditPolicyEClass, CONSTRAINED_BY_REFERENCE_COMPARTMENT_ITEM_SEMANTIC_EDIT_POLICY__GEN_VIEW);
- externalElementTypesLibraryEClass = createEClass(EXTERNAL_ELEMENT_TYPES_LIBRARY);
-
- externalMetamodelTypeEClass = createEClass(EXTERNAL_METAMODEL_TYPE);
- createEReference(externalMetamodelTypeEClass, EXTERNAL_METAMODEL_TYPE__ELEMENT_TYPE_REF);
-
generateUsingElementTypeCreationCommandEClass = createEClass(GENERATE_USING_ELEMENT_TYPE_CREATION_COMMAND);
customDiagramUpdaterSingletonEClass = createEClass(CUSTOM_DIAGRAM_UPDATER_SINGLETON);
@@ -1243,23 +1063,21 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) {
- return;
- }
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -1268,10 +1086,9 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
setNsURI(eNS_URI);
// Obtain other dependent packages
- GMFGenPackage theGMFGenPackage = (GMFGenPackage) EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI);
- EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- GenModelPackage theGenModelPackage = (GenModelPackage) EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI);
- DomaincontextcodegenPackage theDomaincontextcodegenPackage = (DomaincontextcodegenPackage) EPackage.Registry.INSTANCE.getEPackage(DomaincontextcodegenPackage.eNS_URI);
+ GMFGenPackage theGMFGenPackage = (GMFGenPackage)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ GenModelPackage theGenModelPackage = (GenModelPackage)EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI);
// Create type parameters
@@ -1298,9 +1115,6 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
compartmentVisibilityPreferenceEClass.getESuperTypes().add(this.getCommentedElement());
compartmentTitleVisibilityPreferenceEClass.getESuperTypes().add(this.getCommentedElement());
constrainedByReferenceCompartmentItemSemanticEditPolicyEClass.getESuperTypes().add(this.getCommentedElement());
- externalElementTypesLibraryEClass.getESuperTypes().add(theGMFGenPackage.getGenNode());
- externalElementTypesLibraryEClass.getESuperTypes().add(this.getCommentedElement());
- externalMetamodelTypeEClass.getESuperTypes().add(theGMFGenPackage.getMetamodelType());
generateUsingElementTypeCreationCommandEClass.getESuperTypes().add(this.getCommentedElement());
customDiagramUpdaterSingletonEClass.getESuperTypes().add(this.getCommentedElement());
specificNodePlateEClass.getESuperTypes().add(this.getCommentedElement());
@@ -1308,13 +1122,10 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
// Initialize classes and features; add operations and parameters
initEClass(extendedGenViewEClass, ExtendedGenView.class, "ExtendedGenView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExtendedGenView_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 1, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 1, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getExtendedGenView_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 1, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getExtendedGenView_SuperGenViews(), theGMFGenPackage.getGenCommonBase(), null, "superGenViews", null, 0, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getExtendedGenView_PropRefreshHook(), this.getPropertyRefreshHook(), null, "propRefreshHook", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_SuperGenViews(), theGMFGenPackage.getGenCommonBase(), null, "superGenViews", null, 0, -1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getExtendedGenView_PropRefreshHook(), this.getPropertyRefreshHook(), null, "propRefreshHook", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getExtendedGenView_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getExtendedGenView_SuperOwnedEditPart(), theEcorePackage.getEString(), "superOwnedEditPart", null, 0, 1, ExtendedGenView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1322,130 +1133,92 @@ public class PapyrusgmfgenextensionPackageImpl extends EPackageImpl implements P
initEAttribute(getCommentedElement_Comment(), ecorePackage.getEString(), "comment", null, 1, 1, CommentedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(propertyRefreshHookEClass, PropertyRefreshHook.class, "PropertyRefreshHook", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPropertyRefreshHook_TriggeringCondition(), ecorePackage.getEString(), "triggeringCondition", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
+ initEAttribute(getPropertyRefreshHook_TriggeringCondition(), ecorePackage.getEString(), "triggeringCondition", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getPropertyRefreshHook_Action(), ecorePackage.getEString(), "action", null, 1, 1, PropertyRefreshHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(externalHookEClass, ExternalHook.class, "ExternalHook", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getExternalHook_Classpath(), ecorePackage.getEString(), "classpath", null, 0, 1, ExternalHook.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(specificLocatorEClass, SpecificLocator.class, "SpecificLocator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificLocator_GenChildSideAffixedNode(), theGMFGenPackage.getGenChildSideAffixedNode(), null, "genChildSideAffixedNode", null, 0, -1, SpecificLocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificLocator_GenChildSideAffixedNode(), theGMFGenPackage.getGenChildSideAffixedNode(), null, "genChildSideAffixedNode", null, 0, -1, SpecificLocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(papyrusExtensionRootNodeEClass, PapyrusExtensionRootNode.class, "PapyrusExtensionRootNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusExtensionRootNode_ExtensionNodes(), this.getCommentedElement(), null, "extensionNodes", null, 0, -1, PapyrusExtensionRootNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPapyrusExtensionRootNode_ExtensionNodes(), this.getCommentedElement(), null, "extensionNodes", null, 0, -1, PapyrusExtensionRootNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alternateCanvasEClass, AlternateCanvas.class, "AlternateCanvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateCanvas_DomainDiagramElement(), theGenModelPackage.getGenClass(), null, "domainDiagramElement", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_AlternateTopLevelNodes(), this.getAlternateGenTopLevelNode(), null, "alternateTopLevelNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_AlternateLinkNodes(), this.getAlternateGenLink(), null, "alternateLinkNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateCanvas_Diagram(), theGMFGenPackage.getGenDiagram(), null, "diagram", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getAlternateCanvas_DomainDiagramElement(), theGenModelPackage.getGenClass(), null, "domainDiagramElement", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_AlternateTopLevelNodes(), this.getAlternateGenTopLevelNode(), null, "alternateTopLevelNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_AlternateLinkNodes(), this.getAlternateGenLink(), null, "alternateLinkNodes", null, 0, -1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateCanvas_Diagram(), theGMFGenPackage.getGenDiagram(), null, "diagram", null, 1, 1, AlternateCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alternateGenTopLevelNodeEClass, AlternateGenTopLevelNode.class, "AlternateGenTopLevelNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateGenTopLevelNode_GenTopLevelNode(), theGMFGenPackage.getGenTopLevelNode(), null, "genTopLevelNode", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateGenTopLevelNode_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenTopLevelNode_GenTopLevelNode(), theGMFGenPackage.getGenTopLevelNode(), null, "genTopLevelNode", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenTopLevelNode_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenTopLevelNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(alternateGenLinkEClass, AlternateGenLink.class, "AlternateGenLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAlternateGenLink_GenLinkNode(), theGMFGenPackage.getGenLink(), null, "genLinkNode", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getAlternateGenLink_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenLink_GenLinkNode(), theGMFGenPackage.getGenLink(), null, "genLinkNode", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAlternateGenLink_TypeModelFacet(), theGMFGenPackage.getTypeModelFacet(), null, "typeModelFacet", null, 1, 1, AlternateGenLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mutatingCanvasEClass, MutatingCanvas.class, "MutatingCanvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMutatingCanvas_AlternateCanvases(), this.getAlternateCanvas(), null, "alternateCanvases", null, 0, -1, MutatingCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
+ initEReference(getMutatingCanvas_AlternateCanvases(), this.getAlternateCanvas(), null, "alternateCanvases", null, 0, -1, MutatingCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(ownedEditpartEClass, OwnedEditpart.class, "OwnedEditpart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getOwnedEditpart_Name(), theEcorePackage.getEString(), "name", null, 0, 1, OwnedEditpart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(specificDiagramUpdaterEClass, SpecificDiagramUpdater.class, "SpecificDiagramUpdater", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificDiagramUpdater_GenNode(), theGMFGenPackage.getGenCommonBase(), null, "genNode", null, 0, 1, SpecificDiagramUpdater.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificDiagramUpdater_GenNode(), theGMFGenPackage.getGenCommonBase(), null, "genNode", null, 0, 1, SpecificDiagramUpdater.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(genNodeConstraintEClass, GenNodeConstraint.class, "GenNodeConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGenNodeConstraint_GenNode(), theGMFGenPackage.getGenNode(), null, "genNode", null, 0, -1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getGenNodeConstraint_GenConstraint(), theGMFGenPackage.getGenConstraint(), null, "genConstraint", null, 0, 1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGenNodeConstraint_GenNode(), theGMFGenPackage.getGenNode(), null, "genNode", null, 0, -1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGenNodeConstraint_GenConstraint(), theGMFGenPackage.getGenConstraint(), null, "genConstraint", null, 0, 1, GenNodeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(specificLocatorExternalLabelEClass, SpecificLocatorExternalLabel.class, "SpecificLocatorExternalLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificLocatorExternalLabel_GenExternalNodeLabel(), theGMFGenPackage.getGenExternalNodeLabel(), null, "genExternalNodeLabel", null, 0, -1, SpecificLocatorExternalLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecificLocatorExternalLabel_GenExternalNodeLabel(), theGMFGenPackage.getGenExternalNodeLabel(), null, "genExternalNodeLabel", null, 0, -1, SpecificLocatorExternalLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(additionalEditPartCandiesEClass, AdditionalEditPartCandies.class, "AdditionalEditPartCandies", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAdditionalEditPartCandies_BaseEditHelperPackage(), theEcorePackage.getEString(), "baseEditHelperPackage", null, 0, 1, AdditionalEditPartCandies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAdditionalEditPartCandies_BaseEditHelperPackage(), theEcorePackage.getEString(), "baseEditHelperPackage", null, 0, 1, AdditionalEditPartCandies.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(editPartUsingDeleteServiceEClass, EditPartUsingDeleteService.class, "EditPartUsingDeleteService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEditPartUsingDeleteService_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEditPartUsingDeleteService_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEditPartUsingDeleteService_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, EditPartUsingDeleteService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(editPartUsingReorientServiceEClass, EditPartUsingReorientService.class, "EditPartUsingReorientService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEditPartUsingReorientService_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEditPartUsingReorientService_GenView(), theGMFGenPackage.getGenLink(), null, "genView", null, 0, -1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEditPartUsingReorientService_GenView(), theGMFGenPackage.getGenLink(), null, "genView", null, 0, -1, EditPartUsingReorientService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEClass(labelVisibilityPreferenceEClass, LabelVisibilityPreference.class, "LabelVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getLabelVisibilityPreference_Role(), theEcorePackage.getEString(), "role", null, 1, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getLabelVisibilityPreference_IconPathRole(), ecorePackage.getEString(), "iconPathRole", null, 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLabelVisibilityPreference_LinkLabels(), theGMFGenPackage.getGenLinkLabel(), null, "linkLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLabelVisibilityPreference_ExternalNodeLabels(), theGMFGenPackage.getGenExternalNodeLabel(), null, "externalNodeLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLabelVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
+ initEReference(getLabelVisibilityPreference_LinkLabels(), theGMFGenPackage.getGenLinkLabel(), null, "linkLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getLabelVisibilityPreference_ExternalNodeLabels(), theGMFGenPackage.getGenExternalNodeLabel(), null, "externalNodeLabels", null, 0, -1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getLabelVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, LabelVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(compartmentVisibilityPreferenceEClass, CompartmentVisibilityPreference.class, "CompartmentVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCompartmentVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getCompartmentVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCompartmentVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCompartmentVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(compartmentTitleVisibilityPreferenceEClass, CompartmentTitleVisibilityPreference.class, "CompartmentTitleVisibilityPreference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCompartmentTitleVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCompartmentTitleVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(constrainedByReferenceCompartmentItemSemanticEditPolicyEClass, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, "ConstrainedByReferenceCompartmentItemSemanticEditPolicy", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(externalElementTypesLibraryEClass, ExternalElementTypesLibrary.class, "ExternalElementTypesLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCompartmentTitleVisibilityPreference_VisibleByDefault(), theEcorePackage.getEBoolean(), "visibleByDefault", "true", 0, 1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCompartmentTitleVisibilityPreference_Compartments(), theGMFGenPackage.getGenCompartment(), null, "compartments", null, 0, -1, CompartmentTitleVisibilityPreference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(externalMetamodelTypeEClass, ExternalMetamodelType.class, "ExternalMetamodelType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExternalMetamodelType_ElementTypeRef(), theDomaincontextcodegenPackage.getElementType(), null, "elementTypeRef", null, 0, 1, ExternalMetamodelType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(constrainedByReferenceCompartmentItemSemanticEditPolicyEClass, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, "ConstrainedByReferenceCompartmentItemSemanticEditPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getConstrainedByReferenceCompartmentItemSemanticEditPolicy_GenView(), theGMFGenPackage.getGenCommonBase(), null, "genView", null, 0, -1, ConstrainedByReferenceCompartmentItemSemanticEditPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(generateUsingElementTypeCreationCommandEClass, GenerateUsingElementTypeCreationCommand.class, "GenerateUsingElementTypeCreationCommand", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(customDiagramUpdaterSingletonEClass, CustomDiagramUpdaterSingleton.class, "CustomDiagramUpdaterSingleton", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCustomDiagramUpdaterSingleton_SingletonPath(), ecorePackage.getEString(), "singletonPath", null, 1, 1, CustomDiagramUpdaterSingleton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEAttribute(getCustomDiagramUpdaterSingleton_SingletonPath(), ecorePackage.getEString(), "singletonPath", null, 1, 1, CustomDiagramUpdaterSingleton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(specificNodePlateEClass, SpecificNodePlate.class, "SpecificNodePlate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSpecificNodePlate_EditParts(), theGMFGenPackage.getGenNode(), null, "editParts", null, 1, -1, SpecificNodePlate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
+ initEReference(getSpecificNodePlate_EditParts(), theGMFGenPackage.getGenNode(), null, "editParts", null, 1, -1, SpecificNodePlate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
initEAttribute(getSpecificNodePlate_Name(), theEcorePackage.getEString(), "name", null, 0, 1, SpecificNodePlate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getSpecificNodePlate_NodePlateQualifiedName(), theEcorePackage.getEString(), "nodePlateQualifiedName", null, 0, 1, SpecificNodePlate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEAttribute(getSpecificNodePlate_NodePlateQualifiedName(), theEcorePackage.getEString(), "nodePlateQualifiedName", null, 0, 1, SpecificNodePlate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(genVisualTypeProviderEClass, GenVisualTypeProvider.class, "GenVisualTypeProvider", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getGenVisualTypeProvider_ClassName(), ecorePackage.getEString(), "className", "UMLVisualTypeProvider", 0, 1, GenVisualTypeProvider.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEAttribute(getGenVisualTypeProvider_ClassName(), ecorePackage.getEString(), "className", "UMLVisualTypeProvider", 0, 1, GenVisualTypeProvider.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);
}
-} // PapyrusgmfgenextensionPackageImpl
+} //PapyrusgmfgenextensionPackageImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
index 00f1267ceda..dc1f71b5623 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/PropertyRefreshHookImpl.java
@@ -1,14 +1,23 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
@@ -20,19 +29,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getTriggeringCondition <em>Triggering Condition</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getAction <em>Action</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getTriggeringCondition <em>Triggering Condition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.PropertyRefreshHookImpl#getAction <em>Action</em>}</li>
* </ul>
*
* @generated
*/
public class PropertyRefreshHookImpl extends ExternalHookImpl implements PropertyRefreshHook {
-
/**
* The default value of the '{@link #getTriggeringCondition() <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getTriggeringCondition()
* @generated
* @ordered
@@ -43,7 +50,6 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The cached value of the '{@link #getTriggeringCondition() <em>Triggering Condition</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getTriggeringCondition()
* @generated
* @ordered
@@ -54,7 +60,6 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The default value of the '{@link #getAction() <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAction()
* @generated
* @ordered
@@ -65,7 +70,6 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
* The cached value of the '{@link #getAction() <em>Action</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getAction()
* @generated
* @ordered
@@ -75,7 +79,6 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected PropertyRefreshHookImpl() {
@@ -85,7 +88,6 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -96,10 +98,8 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getTriggeringCondition() {
return triggeringCondition;
}
@@ -107,25 +107,20 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setTriggeringCondition(String newTriggeringCondition) {
String oldTriggeringCondition = triggeringCondition;
triggeringCondition = newTriggeringCondition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION, oldTriggeringCondition, triggeringCondition));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getAction() {
return action;
}
@@ -133,31 +128,27 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setAction(String newAction) {
String oldAction = action;
action = newAction;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION, oldAction, action));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- return getTriggeringCondition();
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- return getAction();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ return getTriggeringCondition();
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ return getAction();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -165,18 +156,17 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- setTriggeringCondition((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- setAction((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ setTriggeringCondition((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ setAction((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -184,18 +174,17 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- setTriggeringCondition(TRIGGERING_CONDITION_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- setAction(ACTION_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ setTriggeringCondition(TRIGGERING_CONDITION_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ setAction(ACTION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -203,16 +192,15 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
- return TRIGGERING_CONDITION_EDEFAULT == null ? triggeringCondition != null : !TRIGGERING_CONDITION_EDEFAULT.equals(triggeringCondition);
- case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
- return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action);
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__TRIGGERING_CONDITION:
+ return TRIGGERING_CONDITION_EDEFAULT == null ? triggeringCondition != null : !TRIGGERING_CONDITION_EDEFAULT.equals(triggeringCondition);
+ case PapyrusgmfgenextensionPackage.PROPERTY_REFRESH_HOOK__ACTION:
+ return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action);
}
return super.eIsSet(featureID);
}
@@ -220,14 +208,11 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (triggeringCondition: ");
@@ -238,4 +223,4 @@ public class PropertyRefreshHookImpl extends ExternalHookImpl implements Propert
return result.toString();
}
-} // PropertyRefreshHookImpl
+} //PropertyRefreshHookImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
index 00fa440114d..c3567cb7d9f 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificDiagramUpdaterImpl.java
@@ -1,16 +1,26 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
+
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater;
@@ -22,18 +32,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl#getGenNode <em>Gen Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificDiagramUpdaterImpl#getGenNode <em>Gen Node</em>}</li>
* </ul>
*
* @generated
*/
public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements SpecificDiagramUpdater {
-
/**
* The cached value of the '{@link #getGenNode() <em>Gen Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenNode()
* @generated
* @ordered
@@ -43,7 +51,6 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected SpecificDiagramUpdaterImpl() {
@@ -53,7 +60,6 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -64,18 +70,15 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public GenCommonBase getGenNode() {
if (genNode != null && genNode.eIsProxy()) {
- InternalEObject oldGenNode = (InternalEObject) genNode;
- genNode = (GenCommonBase) eResolveProxy(oldGenNode);
+ InternalEObject oldGenNode = (InternalEObject)genNode;
+ genNode = (GenCommonBase)eResolveProxy(oldGenNode);
if (genNode != oldGenNode) {
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE, oldGenNode, genNode));
- }
}
}
return genNode;
@@ -84,7 +87,6 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public GenCommonBase basicGetGenNode() {
@@ -94,32 +96,26 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setGenNode(GenCommonBase newGenNode) {
GenCommonBase oldGenNode = genNode;
genNode = newGenNode;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE, oldGenNode, genNode));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- if (resolve) {
- return getGenNode();
- }
- return basicGetGenNode();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ if (resolve) return getGenNode();
+ return basicGetGenNode();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -127,15 +123,14 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- setGenNode((GenCommonBase) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ setGenNode((GenCommonBase)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -143,15 +138,14 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- setGenNode((GenCommonBase) null);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ setGenNode((GenCommonBase)null);
+ return;
}
super.eUnset(featureID);
}
@@ -159,16 +153,15 @@ public class SpecificDiagramUpdaterImpl extends ExternalHookImpl implements Spec
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
- return genNode != null;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_DIAGRAM_UPDATER__GEN_NODE:
+ return genNode != null;
}
return super.eIsSet(featureID);
}
-} // SpecificDiagramUpdaterImpl
+} //SpecificDiagramUpdaterImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
index 1cd4fa8c7dd..e73a4c191ac 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorExternalLabelImpl.java
@@ -1,17 +1,27 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenExternalNodeLabel;
+
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
@@ -23,18 +33,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorExternalLabelImpl#getGenExternalNodeLabel <em>Gen External Node Label</em>}</li>
* </ul>
*
* @generated
*/
public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implements SpecificLocatorExternalLabel {
-
/**
* The cached value of the '{@link #getGenExternalNodeLabel() <em>Gen External Node Label</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenExternalNodeLabel()
* @generated
* @ordered
@@ -44,7 +52,6 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected SpecificLocatorExternalLabelImpl() {
@@ -54,7 +61,6 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -65,10 +71,8 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenExternalNodeLabel> getGenExternalNodeLabel() {
if (genExternalNodeLabel == null) {
genExternalNodeLabel = new EObjectResolvingEList<GenExternalNodeLabel>(GenExternalNodeLabel.class, this, PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL);
@@ -79,14 +83,13 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- return getGenExternalNodeLabel();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ return getGenExternalNodeLabel();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -94,17 +97,16 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- getGenExternalNodeLabel().clear();
- getGenExternalNodeLabel().addAll((Collection<? extends GenExternalNodeLabel>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ getGenExternalNodeLabel().clear();
+ getGenExternalNodeLabel().addAll((Collection<? extends GenExternalNodeLabel>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -112,15 +114,14 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- getGenExternalNodeLabel().clear();
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ getGenExternalNodeLabel().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -128,16 +129,15 @@ public class SpecificLocatorExternalLabelImpl extends ExternalHookImpl implement
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
- return genExternalNodeLabel != null && !genExternalNodeLabel.isEmpty();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR_EXTERNAL_LABEL__GEN_EXTERNAL_NODE_LABEL:
+ return genExternalNodeLabel != null && !genExternalNodeLabel.isEmpty();
}
return super.eIsSet(featureID);
}
-} // SpecificLocatorExternalLabelImpl
+} //SpecificLocatorExternalLabelImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
index 76d9f38d6f1..5fb641ae1a8 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificLocatorImpl.java
@@ -1,17 +1,27 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+
import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
+
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator;
@@ -23,18 +33,16 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificLocatorImpl#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
* </ul>
*
* @generated
*/
public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLocator {
-
/**
* The cached value of the '{@link #getGenChildSideAffixedNode() <em>Gen Child Side Affixed Node</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getGenChildSideAffixedNode()
* @generated
* @ordered
@@ -44,7 +52,6 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected SpecificLocatorImpl() {
@@ -54,7 +61,6 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -65,10 +71,8 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenChildSideAffixedNode> getGenChildSideAffixedNode() {
if (genChildSideAffixedNode == null) {
genChildSideAffixedNode = new EObjectResolvingEList<GenChildSideAffixedNode>(GenChildSideAffixedNode.class, this, PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE);
@@ -79,14 +83,13 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- return getGenChildSideAffixedNode();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ return getGenChildSideAffixedNode();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -94,17 +97,16 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- getGenChildSideAffixedNode().clear();
- getGenChildSideAffixedNode().addAll((Collection<? extends GenChildSideAffixedNode>) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ getGenChildSideAffixedNode().clear();
+ getGenChildSideAffixedNode().addAll((Collection<? extends GenChildSideAffixedNode>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -112,15 +114,14 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- getGenChildSideAffixedNode().clear();
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ getGenChildSideAffixedNode().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -128,16 +129,15 @@ public class SpecificLocatorImpl extends ExternalHookImpl implements SpecificLoc
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
- return genChildSideAffixedNode != null && !genChildSideAffixedNode.isEmpty();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_LOCATOR__GEN_CHILD_SIDE_AFFIXED_NODE:
+ return genChildSideAffixedNode != null && !genChildSideAffixedNode.isEmpty();
}
return super.eIsSet(featureID);
}
-} // SpecificLocatorImpl
+} //SpecificLocatorImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificNodePlateImpl.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificNodePlateImpl.java
index a7c0b272933..30fda36bad1 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificNodePlateImpl.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/impl/SpecificNodePlateImpl.java
@@ -1,18 +1,31 @@
/**
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.gmf.codegen.gmfgen.GenNode;
+
import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
import org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate;
@@ -24,9 +37,9 @@ import org.eclipse.papyrus.papyrusgmfgenextension.SpecificNodePlate;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getEditParts <em>Edit Parts</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getNodePlateQualifiedName <em>Node Plate Qualified Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getEditParts <em>Edit Parts</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.impl.SpecificNodePlateImpl#getNodePlateQualifiedName <em>Node Plate Qualified Name</em>}</li>
* </ul>
*
* @generated
@@ -36,7 +49,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
* The cached value of the '{@link #getEditParts() <em>Edit Parts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getEditParts()
* @generated
* @ordered
@@ -47,7 +59,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -58,7 +69,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -69,7 +79,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
* The default value of the '{@link #getNodePlateQualifiedName() <em>Node Plate Qualified Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getNodePlateQualifiedName()
* @generated
* @ordered
@@ -80,7 +89,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
* The cached value of the '{@link #getNodePlateQualifiedName() <em>Node Plate Qualified Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getNodePlateQualifiedName()
* @generated
* @ordered
@@ -90,7 +98,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected SpecificNodePlateImpl() {
@@ -100,7 +107,6 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -111,10 +117,8 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public EList<GenNode> getEditParts() {
if (editParts == null) {
editParts = new EObjectResolvingEList<GenNode>(GenNode.class, this, PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS);
@@ -125,10 +129,8 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getName() {
return name;
}
@@ -136,25 +138,20 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME, oldName, name));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public String getNodePlateQualifiedName() {
return nodePlateQualifiedName;
}
@@ -162,33 +159,29 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- @Override
public void setNodePlateQualifiedName(String newNodePlateQualifiedName) {
String oldNodePlateQualifiedName = nodePlateQualifiedName;
nodePlateQualifiedName = newNodePlateQualifiedName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME, oldNodePlateQualifiedName, nodePlateQualifiedName));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
- return getEditParts();
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
- return getName();
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
- return getNodePlateQualifiedName();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
+ return getEditParts();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
+ return getName();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
+ return getNodePlateQualifiedName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -196,23 +189,22 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
- getEditParts().clear();
- getEditParts().addAll((Collection<? extends GenNode>) newValue);
- return;
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
- setName((String) newValue);
- return;
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
- setNodePlateQualifiedName((String) newValue);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
+ getEditParts().clear();
+ getEditParts().addAll((Collection<? extends GenNode>)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
+ setName((String)newValue);
+ return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
+ setNodePlateQualifiedName((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -220,21 +212,20 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
- getEditParts().clear();
- return;
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
- setNodePlateQualifiedName(NODE_PLATE_QUALIFIED_NAME_EDEFAULT);
- return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
+ getEditParts().clear();
+ return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
+ setNodePlateQualifiedName(NODE_PLATE_QUALIFIED_NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -242,18 +233,17 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
- return editParts != null && !editParts.isEmpty();
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
- return NODE_PLATE_QUALIFIED_NAME_EDEFAULT == null ? nodePlateQualifiedName != null : !NODE_PLATE_QUALIFIED_NAME_EDEFAULT.equals(nodePlateQualifiedName);
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__EDIT_PARTS:
+ return editParts != null && !editParts.isEmpty();
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PapyrusgmfgenextensionPackage.SPECIFIC_NODE_PLATE__NODE_PLATE_QUALIFIED_NAME:
+ return NODE_PLATE_QUALIFIED_NAME_EDEFAULT == null ? nodePlateQualifiedName != null : !NODE_PLATE_QUALIFIED_NAME_EDEFAULT.equals(nodePlateQualifiedName);
}
return super.eIsSet(featureID);
}
@@ -261,14 +251,11 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
@@ -279,4 +266,4 @@ public class SpecificNodePlateImpl extends CommentedElementImpl implements Speci
return result.toString();
}
-} // SpecificNodePlateImpl
+} //SpecificNodePlateImpl
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
index cb401b4b9bd..ef13ae129da 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
@@ -1,66 +1,39 @@
/**
- * <copyright>
- * </copyright>
- *
- * $Id$
+ * Copyright (c) 2015 CEA LIST and others.
+ *
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ *
*/
package org.eclipse.papyrus.papyrusgmfgenextension.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
+
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gmf.codegen.gmfgen.ElementType;
-import org.eclipse.gmf.codegen.gmfgen.GenChildContainer;
-import org.eclipse.gmf.codegen.gmfgen.GenCommonBase;
-import org.eclipse.gmf.codegen.gmfgen.GenContainerBase;
-import org.eclipse.gmf.codegen.gmfgen.GenLinkEnd;
-import org.eclipse.gmf.codegen.gmfgen.GenNode;
-import org.eclipse.gmf.codegen.gmfgen.MetamodelType;
+
import org.eclipse.papyrus.papyrusgmfgenextension.*;
-import org.eclipse.papyrus.papyrusgmfgenextension.AdditionalEditPartCandies;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateCanvas;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenLink;
-import org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode;
-import org.eclipse.papyrus.papyrusgmfgenextension.CommentedElement;
-import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentTitleVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.CompartmentVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.ConstrainedByReferenceCompartmentItemSemanticEditPolicy;
-import org.eclipse.papyrus.papyrusgmfgenextension.CustomDiagramUpdaterSingleton;
-import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingDeleteService;
-import org.eclipse.papyrus.papyrusgmfgenextension.EditPartUsingReorientService;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExtendedGenView;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalElementTypesLibrary;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalHook;
-import org.eclipse.papyrus.papyrusgmfgenextension.ExternalMetamodelType;
-import org.eclipse.papyrus.papyrusgmfgenextension.GenNodeConstraint;
-import org.eclipse.papyrus.papyrusgmfgenextension.GenerateUsingElementTypeCreationCommand;
-import org.eclipse.papyrus.papyrusgmfgenextension.LabelVisibilityPreference;
-import org.eclipse.papyrus.papyrusgmfgenextension.MutatingCanvas;
-import org.eclipse.papyrus.papyrusgmfgenextension.OwnedEditpart;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode;
-import org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage;
-import org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator;
-import org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocatorExternalLabel;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
*/
public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
-
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static PapyrusgmfgenextensionPackage modelPackage;
@@ -69,7 +42,6 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PapyrusgmfgenextensionAdapterFactory() {
@@ -83,7 +55,6 @@ public class PapyrusgmfgenextensionAdapterFactory 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
*/
@@ -93,7 +64,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -102,199 +73,127 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
- protected PapyrusgmfgenextensionSwitch<Adapter> modelSwitch = new PapyrusgmfgenextensionSwitch<Adapter>() {
- @Override
- public Adapter caseExtendedGenView(ExtendedGenView object) {
- return createExtendedGenViewAdapter();
- }
-
- @Override
- public Adapter caseCommentedElement(CommentedElement object) {
- return createCommentedElementAdapter();
- }
-
- @Override
- public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
- return createPropertyRefreshHookAdapter();
- }
-
- @Override
- public Adapter caseExternalHook(ExternalHook object) {
- return createExternalHookAdapter();
- }
-
- @Override
- public Adapter caseSpecificLocator(SpecificLocator object) {
- return createSpecificLocatorAdapter();
- }
-
- @Override
- public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
- return createPapyrusExtensionRootNodeAdapter();
- }
-
- @Override
- public Adapter caseAlternateCanvas(AlternateCanvas object) {
- return createAlternateCanvasAdapter();
- }
-
- @Override
- public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
- return createAlternateGenTopLevelNodeAdapter();
- }
-
- @Override
- public Adapter caseAlternateGenLink(AlternateGenLink object) {
- return createAlternateGenLinkAdapter();
- }
-
- @Override
- public Adapter caseMutatingCanvas(MutatingCanvas object) {
- return createMutatingCanvasAdapter();
- }
-
- @Override
- public Adapter caseOwnedEditpart(OwnedEditpart object) {
- return createOwnedEditpartAdapter();
- }
-
- @Override
- public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
- return createSpecificDiagramUpdaterAdapter();
- }
-
- @Override
- public Adapter caseGenNodeConstraint(GenNodeConstraint object) {
- return createGenNodeConstraintAdapter();
- }
-
- @Override
- public Adapter caseSpecificLocatorExternalLabel(SpecificLocatorExternalLabel object) {
- return createSpecificLocatorExternalLabelAdapter();
- }
-
- @Override
- public Adapter caseAdditionalEditPartCandies(AdditionalEditPartCandies object) {
- return createAdditionalEditPartCandiesAdapter();
- }
-
- @Override
- public Adapter caseEditPartUsingDeleteService(EditPartUsingDeleteService object) {
- return createEditPartUsingDeleteServiceAdapter();
- }
-
- @Override
- public Adapter caseEditPartUsingReorientService(EditPartUsingReorientService object) {
- return createEditPartUsingReorientServiceAdapter();
- }
-
- @Override
- public Adapter caseLabelVisibilityPreference(LabelVisibilityPreference object) {
- return createLabelVisibilityPreferenceAdapter();
- }
-
- @Override
- public Adapter caseCompartmentVisibilityPreference(CompartmentVisibilityPreference object) {
- return createCompartmentVisibilityPreferenceAdapter();
- }
-
- @Override
- public Adapter caseCompartmentTitleVisibilityPreference(CompartmentTitleVisibilityPreference object) {
- return createCompartmentTitleVisibilityPreferenceAdapter();
- }
-
- @Override
- public Adapter caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(ConstrainedByReferenceCompartmentItemSemanticEditPolicy object) {
- return createConstrainedByReferenceCompartmentItemSemanticEditPolicyAdapter();
- }
-
- @Override
- public Adapter caseExternalElementTypesLibrary(ExternalElementTypesLibrary object) {
- return createExternalElementTypesLibraryAdapter();
- }
-
- @Override
- public Adapter caseExternalMetamodelType(ExternalMetamodelType object) {
- return createExternalMetamodelTypeAdapter();
- }
-
- @Override
- public Adapter caseGenerateUsingElementTypeCreationCommand(GenerateUsingElementTypeCreationCommand object) {
- return createGenerateUsingElementTypeCreationCommandAdapter();
- }
-
- @Override
- public Adapter caseCustomDiagramUpdaterSingleton(CustomDiagramUpdaterSingleton object) {
- return createCustomDiagramUpdaterSingletonAdapter();
- }
-
- @Override
- public Adapter caseSpecificNodePlate(SpecificNodePlate object) {
- return createSpecificNodePlateAdapter();
- }
-
- @Override
- public Adapter caseGenVisualTypeProvider(GenVisualTypeProvider object) {
- return createGenVisualTypeProviderAdapter();
- }
-
- @Override
- public Adapter caseGenCommonBase(GenCommonBase object) {
- return createGenCommonBaseAdapter();
- }
-
- @Override
- public Adapter caseGenContainerBase(GenContainerBase object) {
- return createGenContainerBaseAdapter();
- }
-
- @Override
- public Adapter caseGenChildContainer(GenChildContainer object) {
- return createGenChildContainerAdapter();
- }
-
- @Override
- public Adapter caseGenLinkEnd(GenLinkEnd object) {
- return createGenLinkEndAdapter();
- }
-
- @Override
- public Adapter caseGenNode(GenNode object) {
- return createGenNodeAdapter();
- }
-
- @Override
- public Adapter caseElementType(ElementType object) {
- return createElementTypeAdapter();
- }
-
- @Override
- public Adapter caseMetamodelType(MetamodelType object) {
- return createMetamodelTypeAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ protected PapyrusgmfgenextensionSwitch<Adapter> modelSwitch =
+ new PapyrusgmfgenextensionSwitch<Adapter>() {
+ @Override
+ public Adapter caseExtendedGenView(ExtendedGenView object) {
+ return createExtendedGenViewAdapter();
+ }
+ @Override
+ public Adapter caseCommentedElement(CommentedElement object) {
+ return createCommentedElementAdapter();
+ }
+ @Override
+ public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
+ return createPropertyRefreshHookAdapter();
+ }
+ @Override
+ public Adapter caseExternalHook(ExternalHook object) {
+ return createExternalHookAdapter();
+ }
+ @Override
+ public Adapter caseSpecificLocator(SpecificLocator object) {
+ return createSpecificLocatorAdapter();
+ }
+ @Override
+ public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
+ return createPapyrusExtensionRootNodeAdapter();
+ }
+ @Override
+ public Adapter caseAlternateCanvas(AlternateCanvas object) {
+ return createAlternateCanvasAdapter();
+ }
+ @Override
+ public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
+ return createAlternateGenTopLevelNodeAdapter();
+ }
+ @Override
+ public Adapter caseAlternateGenLink(AlternateGenLink object) {
+ return createAlternateGenLinkAdapter();
+ }
+ @Override
+ public Adapter caseMutatingCanvas(MutatingCanvas object) {
+ return createMutatingCanvasAdapter();
+ }
+ @Override
+ public Adapter caseOwnedEditpart(OwnedEditpart object) {
+ return createOwnedEditpartAdapter();
+ }
+ @Override
+ public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
+ return createSpecificDiagramUpdaterAdapter();
+ }
+ @Override
+ public Adapter caseGenNodeConstraint(GenNodeConstraint object) {
+ return createGenNodeConstraintAdapter();
+ }
+ @Override
+ public Adapter caseSpecificLocatorExternalLabel(SpecificLocatorExternalLabel object) {
+ return createSpecificLocatorExternalLabelAdapter();
+ }
+ @Override
+ public Adapter caseAdditionalEditPartCandies(AdditionalEditPartCandies object) {
+ return createAdditionalEditPartCandiesAdapter();
+ }
+ @Override
+ public Adapter caseEditPartUsingDeleteService(EditPartUsingDeleteService object) {
+ return createEditPartUsingDeleteServiceAdapter();
+ }
+ @Override
+ public Adapter caseEditPartUsingReorientService(EditPartUsingReorientService object) {
+ return createEditPartUsingReorientServiceAdapter();
+ }
+ @Override
+ public Adapter caseLabelVisibilityPreference(LabelVisibilityPreference object) {
+ return createLabelVisibilityPreferenceAdapter();
+ }
+ @Override
+ public Adapter caseCompartmentVisibilityPreference(CompartmentVisibilityPreference object) {
+ return createCompartmentVisibilityPreferenceAdapter();
+ }
+ @Override
+ public Adapter caseCompartmentTitleVisibilityPreference(CompartmentTitleVisibilityPreference object) {
+ return createCompartmentTitleVisibilityPreferenceAdapter();
+ }
+ @Override
+ public Adapter caseConstrainedByReferenceCompartmentItemSemanticEditPolicy(ConstrainedByReferenceCompartmentItemSemanticEditPolicy object) {
+ return createConstrainedByReferenceCompartmentItemSemanticEditPolicyAdapter();
+ }
+ @Override
+ public Adapter caseGenerateUsingElementTypeCreationCommand(GenerateUsingElementTypeCreationCommand object) {
+ return createGenerateUsingElementTypeCreationCommandAdapter();
+ }
+ @Override
+ public Adapter caseCustomDiagramUpdaterSingleton(CustomDiagramUpdaterSingleton object) {
+ return createCustomDiagramUpdaterSingletonAdapter();
+ }
+ @Override
+ public Adapter caseSpecificNodePlate(SpecificNodePlate object) {
+ return createSpecificNodePlateAdapter();
+ }
+ @Override
+ public Adapter caseGenVisualTypeProvider(GenVisualTypeProvider object) {
+ return createGenVisualTypeProviderAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
*