From 7ab641ed1c9dd82fbc36fa6128261c45a785024b Mon Sep 17 00:00:00 2001 From: Laurent Wouters Date: Fri, 4 Apr 2014 16:08:34 +0200 Subject: [clean] Retiring org.eclipse.papyrus.conversion.di2 Signed-off-by: Laurent Wouters --- .../org.eclipse.papyrus.conversion.di2/.classpath | 8 - .../org.eclipse.papyrus.conversion.di2/.project | 33 - .../META-INF/MANIFEST.MF | 20 - .../build.properties | 22 - .../papyrus/conversion/di2/DiConstants.java | 33 - .../model/OLDdi2.genmodel | 115 - .../model/UML.ecore | 10032 ------------------- .../model/di2-master.ecore | 148 - .../model/di2.ecore | 172 - .../model/di2.genmodel | 125 - .../model/di2withoutUMLEcore.ecore | 117 - .../model/note.txt | 132 - .../plugin.properties | 13 - .../org.eclipse.papyrus.conversion.di2/plugin.xml | 20 - .../conversion/di2/CoreSemanticModelBridge.java | 19 - .../eclipse/papyrus/conversion/di2/Di2Factory.java | 205 - .../eclipse/papyrus/conversion/di2/Di2Package.java | 4337 -------- .../eclipse/papyrus/conversion/di2/Diagram.java | 187 - .../papyrus/conversion/di2/DiagramElement.java | 489 - .../papyrus/conversion/di2/DiagramLink.java | 144 - .../eclipse/papyrus/conversion/di2/Ellipse.java | 195 - .../papyrus/conversion/di2/GraphConnector.java | 115 - .../eclipse/papyrus/conversion/di2/GraphEdge.java | 106 - .../papyrus/conversion/di2/GraphElement.java | 150 - .../eclipse/papyrus/conversion/di2/GraphNode.java | 55 - .../papyrus/conversion/di2/GraphicPrimitive.java | 19 - .../org/eclipse/papyrus/conversion/di2/Image.java | 81 - .../papyrus/conversion/di2/LeafElement.java | 19 - .../conversion/di2/PapyrusKeyEnumeration.java | 182 - .../eclipse/papyrus/conversion/di2/Polilyne.java | 63 - .../eclipse/papyrus/conversion/di2/Property.java | 83 - .../eclipse/papyrus/conversion/di2/Reference.java | 86 - .../conversion/di2/SemanticModelBridge.java | 87 - .../conversion/di2/SimpleSemanticModelElement.java | 55 - .../papyrus/conversion/di2/TextElement.java | 53 - .../conversion/di2/Uml1SemanticModelBridge.java | 57 - .../di2/impl/CoreSemanticModelBridgeImpl.java | 43 - .../conversion/di2/impl/Di2FactoryImpl.java | 508 - .../conversion/di2/impl/Di2PackageImpl.java | 1436 --- .../conversion/di2/impl/DiagramElementImpl.java | 1048 -- .../papyrus/conversion/di2/impl/DiagramImpl.java | 466 - .../conversion/di2/impl/DiagramLinkImpl.java | 356 - .../papyrus/conversion/di2/impl/EllipseImpl.java | 445 - .../conversion/di2/impl/GraphConnectorImpl.java | 328 - .../papyrus/conversion/di2/impl/GraphEdgeImpl.java | 278 - .../conversion/di2/impl/GraphElementImpl.java | 401 - .../papyrus/conversion/di2/impl/GraphNodeImpl.java | 169 - .../conversion/di2/impl/GraphicPrimitiveImpl.java | 43 - .../papyrus/conversion/di2/impl/ImageImpl.java | 222 - .../conversion/di2/impl/LeafElementImpl.java | 43 - .../papyrus/conversion/di2/impl/PolilyneImpl.java | 191 - .../papyrus/conversion/di2/impl/PropertyImpl.java | 222 - .../papyrus/conversion/di2/impl/ReferenceImpl.java | 238 - .../di2/impl/SemanticModelBridgeImpl.java | 236 - .../di2/impl/SimpleSemanticModelElementImpl.java | 170 - .../conversion/di2/impl/TextElementImpl.java | 167 - .../di2/impl/Uml1SemanticModelBridgeImpl.java | 165 - .../conversion/di2/util/Di2AdapterFactory.java | 481 - .../papyrus/conversion/di2/util/Di2Switch.java | 574 -- 59 files changed, 26007 deletions(-) delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/.classpath delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/.project delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/META-INF/MANIFEST.MF delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/build.properties delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/customsrc/org/eclipse/papyrus/conversion/di2/DiConstants.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/OLDdi2.genmodel delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/UML.ecore delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/di2-master.ecore delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/di2.genmodel delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/di2withoutUMLEcore.ecore delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/model/note.txt delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/plugin.properties delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/plugin.xml delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/CoreSemanticModelBridge.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Factory.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Package.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Diagram.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramElement.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramLink.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Ellipse.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphConnector.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphEdge.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphElement.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphNode.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphicPrimitive.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Image.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/LeafElement.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Polilyne.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Property.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Reference.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SemanticModelBridge.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SimpleSemanticModelElement.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/TextElement.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Uml1SemanticModelBridge.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/CoreSemanticModelBridgeImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2FactoryImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramElementImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramLinkImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/EllipseImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphConnectorImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphEdgeImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphElementImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphNodeImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphicPrimitiveImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ImageImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/LeafElementImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PolilyneImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PropertyImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ReferenceImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SemanticModelBridgeImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SimpleSemanticModelElementImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/TextElementImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Uml1SemanticModelBridgeImpl.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2AdapterFactory.java delete mode 100644 deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2Switch.java diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/.classpath b/deprecated/org.eclipse.papyrus.conversion.di2/.classpath deleted file mode 100644 index aad3b0bc0eb..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/.project b/deprecated/org.eclipse.papyrus.conversion.di2/.project deleted file mode 100644 index fd7cb505981..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/.project +++ /dev/null @@ -1,33 +0,0 @@ - - - org.eclipse.papyrus.conversion.di2 - - - - - - com.ibm.etools.common.migration.MigrationBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/META-INF/MANIFEST.MF b/deprecated/org.eclipse.papyrus.conversion.di2/META-INF/MANIFEST.MF deleted file mode 100644 index 8443b2db054..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.papyrus.conversion.di2;singleton:=true -Bundle-Version: 0.8.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %pluginProvider -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 -Export-Package: org.eclipse.papyrus.conversion.di2, - org.eclipse.papyrus.conversion.di2.impl, - org.eclipse.papyrus.conversion.di2.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.ecore.xmi;visibility:=reexport, - org.eclipse.uml2.types;visibility:=reexport, - org.eclipse.gef, - org.eclipse.uml2.uml -Bundle-ActivationPolicy: lazy -Eclipse-LazyStart: true diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/build.properties b/deprecated/org.eclipse.papyrus.conversion.di2/build.properties deleted file mode 100644 index 9945044204e..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/build.properties +++ /dev/null @@ -1,22 +0,0 @@ -# -# -# -# $Id$ - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src/,\ - customsrc/ -output.. = bin/ -src.includes = src/,\ - plugin.xml,\ - plugin.properties,\ - model/,\ - build.properties,\ - META-INF/,\ - .project,\ - .classpath diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/customsrc/org/eclipse/papyrus/conversion/di2/DiConstants.java b/deprecated/org.eclipse.papyrus.conversion.di2/customsrc/org/eclipse/papyrus/conversion/di2/DiConstants.java deleted file mode 100644 index c48f281f5b9..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/customsrc/org/eclipse/papyrus/conversion/di2/DiConstants.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.eclipse.papyrus.conversion.di2; - -/** constant for DI2 **/ -public interface DiConstants { - - /** constant for Type diagram **/ - public final String CLASS_DIAGRAM = "ClassDiagram"; - - public final String COMPOSITE_STRUCTURE_DIAGRAM = "CompositeStructureDiagram"; - - public final String COMPONENT_DIAGRAM = "ComponentDiagram"; - - public final String DEPLOYMENT_DIAGRAM = "DeploymentDiagram"; - - public final String OBJECT_DIAGRAM = "ObjectDiagram"; - - public final String PACKAGE_DIAGRAM = "PackageDiagram"; - - public final String ACTIVITY_DIAGRAM = "ActivityDiagram"; - - public final String SEQUENCE_DIAGRAM = "SequenceDiagram"; - - public final String COMMUNICATION_DIAGRAM = "CommunicationDiagram"; - - public final String INTERACTION_OVERVIEW_DIAGRAM = "InteractionOverviewDiagram"; - - public final String TIMING_DIAGRAM = "TimingDiagram"; - - public final String USE_CASE_DIAGRAM = "UseCaseDiagram"; - - public final String STATE_MACHINE_DIAGRAM = "StateMachineDiagram"; - -} diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/OLDdi2.genmodel b/deprecated/org.eclipse.papyrus.conversion.di2/model/OLDdi2.genmodel deleted file mode 100644 index c0b6c84e8c9..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/OLDdi2.genmodel +++ /dev/null @@ -1,115 +0,0 @@ - - - di2.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/UML.ecore b/deprecated/org.eclipse.papyrus.conversion.di2/model/UML.ecore deleted file mode 100644 index 7206ff84e61..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/UML.ecore +++ /dev/null @@ -1,10032 +0,0 @@ - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - -
- - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - - -
- - -
- - - - -
- - -
- - - - - -
- - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - - -
- - -
- - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - - -
- - - -
- - - - - -
- - - - - - - - - - - - - - - - - -
- - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - - -
- - -
- - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - - -
- - -
- - - - - -
- - -
- - - - - - -
- - -
- - - - - -
- - -
- - - - - -
- - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - -
- - - - - -
- - -
- - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - -
- - - - -
- - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - -
- - - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - -
- - - - - - -
- - - - - - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - - -
- - -
- - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - -
- - - - - - -
- - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - - - - - - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - -
- - - - - - - - - - - - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - - - -
- - - - - -
- - - - - -
- - - - -
- - -
- - - - - - -
- - - - - -
- - - - - - - -
- - - - - - - - - - - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - - - -
- - - - - -
- - - - - - - - -
- - - - - - -
- - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - - - - - - -
- - - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - -
- - - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - - - -
- - -
- - - - - - -
- - -
- - - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - - -
- - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - -
- - - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - - - -
- - - - -
- - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - -
- - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - -
- - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - - -
- - - - -
- - -
- - - - - - -
- - -
- - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - - - - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - - - - - - -
- - -
- - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - - -
- - - - - - - - - - - -
- - -
- - - - - -
- - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - -
- - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - - - -
- - - -
- - - - - -
- - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - -
- - -
- - - - - - - -
- - - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - -
- - - - - - -
- - - -
- - - - - -
- - - - - - -
- - - - - - - -
- - - - - -
- - - - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - - - -
- - -
- - - - - -
- - -
- - - - - - -
- - - - - -
- - - - -
- - -
- - - - - -
- - -
- - - - - - -
- - - - - -
- - - - - - - -
- - -
- - - - - -
- - -
- - - - - - -
- - - - - -
- - - - -
- - -
- - - - - -
- - -
- - - - - - - -
- - - - - - - - -
- - - - - -
- - - - - - - -
- - -
- - - - - -
- - -
- - - - - - -
- - - - - -
- - - -
- - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - -
- - - - -
- - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - -
- - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - -
- - - - - -
- - - - -
- - - -
- - - - - - - -
- - - -
- - - - - - - -
- - - -
- - - - - -
- - - - -
- - - -
- - - - - -
- - - - -
- - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - -
- - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - -
- - - -
- - - - - - -
- - - -
- - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - - -
- - - -
- - - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - -
- - - -
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - -
- - -
- - - - - -
- - -
- - - - - -
- - -
- - - - -
- - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - - -
- - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - - - - -
- - - - -
- - - - - -
- - - - -
- - - - - -
- - - - - - - -
- - - -
- - - - -
- - - - - -
- - - - -
- - - - - - -
- - - - - -
- - - - -
- - - - - - - -
- - - - -
- - - - - -
- - - - - - - -
- - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - - - -
- - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - -
- - - - -
- - - - -
- - - - - - -
- - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - -
- - - - -
- - - - - -
- - - -
- - - - - - -
- - - - - - -
- - - - - - -
- - - - - -
- - - - -
- - - - - - -
- - - -
- - - - - - -
- - -
- - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2-master.ecore b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2-master.ecore deleted file mode 100644 index 0e2ecdd82a4..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2-master.ecore +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore deleted file mode 100644 index cebea7ea7c3..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -
- - - - - -
- - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
- - - - -
- - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.genmodel b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.genmodel deleted file mode 100644 index a5b082c3462..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.genmodel +++ /dev/null @@ -1,125 +0,0 @@ - - - di2.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2withoutUMLEcore.ecore b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2withoutUMLEcore.ecore deleted file mode 100644 index 1dd61696f84..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2withoutUMLEcore.ecore +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/note.txt b/deprecated/org.eclipse.papyrus.conversion.di2/model/note.txt deleted file mode 100644 index 7b2c4715872..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/model/note.txt +++ /dev/null @@ -1,132 +0,0 @@ - - /** - * - * - * @generated NOT - */ - public Point createPointFromString(EDataType eDataType, String initialValue) { - //return (Point)super.createFromString(eDataType, initialValue); - if (initialValue == null) return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue,":"); - return new Point(new Double(st.nextToken()).doubleValue(),new Double(st.nextToken()).doubleValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertPointToString(EDataType eDataType, Object instanceValue) { - //return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) return null; - - return ""+ ((Point) (instanceValue)).x+":"+((Point) (instanceValue)).y; - - } - - /** - * - * - * @generated NOT - */ - public Dimension createDimensionFromString(EDataType eDataType, String initialValue) { - //return (Dimension)super.createFromString(eDataType, initialValue); - if (initialValue == null) return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue,":"); - return new Dimension(new Integer(st.nextToken()).intValue(),new Integer(st.nextToken()).intValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertDimensionToString(EDataType eDataType, Object instanceValue) { - //return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) return null; - - return ""+ ((Dimension) (instanceValue)).width+":"+((Dimension) (instanceValue)).height; - } - - /** - * - * - * @generated NOT - */ - public RGB createRGBFromString(EDataType eDataType, String initialValue) { - //return (RGB)super.createFromString(eDataType, initialValue); - if (initialValue == null) return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue,":"); - return new RGB(new Integer(st.nextToken()).intValue(),new Integer(st.nextToken()).intValue(),new Integer(st.nextToken()).intValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertRGBToString(EDataType eDataType, Object instanceValue) { - //return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) return null; - - return ""+ ((RGB) (instanceValue)).red+":"+((RGB) (instanceValue)).green+":"+((RGB) (instanceValue)).blue; - } - - - - ////////////////// - //getType of Diagram - ///////////////////// - /** - * - * - * @NOT generated - */ - public String getType() { - if (this.type.equals("") ||this.type==null){ - return "ClassDiagram"; - } - return this.type; - } - - - /////////////////////////////////////////////////////////////////////////// - // Diagram Image.... - /////////////////////////////////////////////////////////////////////////// - /** - * This returns Diagram.gif. - * - * TODO code modified by RS for specific diagram display in di2.edit -> DiagramItemProvider - * - */ - @Override - public Object getImage(Object object) { - String typeDiagram = ((Diagram)object).getType(); - if(typeDiagram == null) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram")); - } - if( typeDiagram.equals("ActivityDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_ActivityDiagram")); - } - if( typeDiagram.equals("ClassDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_ClassDiagram")); - } - if( typeDiagram.equals("CompositeStructureDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_CompositeStructureDiagram")); - } - if( typeDiagram.equals("DeploymentDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_DeploymentDiagram")); - } - if( typeDiagram.equals("StateMachineDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_StateMachineDiagram")); - } - if( typeDiagram.equals("UseCaseDiagram")){ - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram_UseCaseDiagram")); - } - - return overlayImage(object, getResourceLocator().getImage("full/obj16/Diagram")); - - } - - - \ No newline at end of file diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/plugin.properties b/deprecated/org.eclipse.papyrus.conversion.di2/plugin.properties deleted file mode 100644 index cbf2f0234f4..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/plugin.properties +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################# -# Copyright (c) 2011 CEA LIST. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Manel Fredj, Ansgar Radermacher - Initial API and implementation -################################################################################## -pluginName=Di2 model code -providerName=Eclipse Modeling Project - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/plugin.xml b/deprecated/org.eclipse.papyrus.conversion.di2/plugin.xml deleted file mode 100644 index ca7c3c3889a..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/plugin.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/CoreSemanticModelBridge.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/CoreSemanticModelBridge.java deleted file mode 100644 index 97a55bc19fb..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/CoreSemanticModelBridge.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object ' - * Core Semantic Model Bridge'. - * - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getCoreSemanticModelBridge() - * @model - * @generated - */ -public interface CoreSemanticModelBridge extends SemanticModelBridge { -} // CoreSemanticModelBridge diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Factory.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Factory.java deleted file mode 100644 index 54c5e09e7a0..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Factory.java +++ /dev/null @@ -1,205 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.emf.ecore.EFactory; - -/** - * The Factory for the model. It provides a create method for each - * non-abstract class of the model. - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package - * @generated - */ -public interface Di2Factory extends EFactory { - - /** - * The singleton instance of the factory. - * - * @generated - */ - Di2Factory eINSTANCE = org.eclipse.papyrus.conversion.di2.impl.Di2FactoryImpl.init(); - - /** - * Returns a new object of class 'Diagram Element'. - * - * @return a new object of class 'Diagram Element'. - * @generated - */ - DiagramElement createDiagramElement(); - - /** - * Returns a new object of class 'Graph Element'. - * - * @return a new object of class 'Graph Element'. - * @generated - */ - GraphElement createGraphElement(); - - /** - * Returns a new object of class 'Reference'. - * - * @return a new object of class 'Reference'. - * @generated - */ - Reference createReference(); - - /** - * Returns a new object of class 'Property'. - * - * @return a new object of class 'Property'. - * @generated - */ - Property createProperty(); - - /** - * Returns a new object of class 'Graph Edge'. - * - * @return a new object of class 'Graph Edge'. - * @generated - */ - GraphEdge createGraphEdge(); - - /** - * Returns a new object of class 'Graph Connector'. - * - * @return a new object of class 'Graph Connector'. - * @generated - */ - GraphConnector createGraphConnector(); - - /** - * Returns a new object of class 'Graph Node'. - * - * @return a new object of class 'Graph Node'. - * @generated - */ - GraphNode createGraphNode(); - - /** - * Returns a new object of class 'Diagram Link'. - * - * @return a new object of class 'Diagram Link'. - * @generated - */ - DiagramLink createDiagramLink(); - - /** - * Returns a new object of class 'Diagram'. - * - * @return a new object of class 'Diagram'. - * @generated - */ - Diagram createDiagram(); - - /** - * Returns a new object of class 'Semantic Model Bridge'. - * - * @return a new object of class 'Semantic Model Bridge'. - * @generated - */ - SemanticModelBridge createSemanticModelBridge(); - - /** - * Returns a new object of class 'Simple Semantic Model Element'. - * - * @return a new object of class 'Simple Semantic Model Element'. - * @generated - */ - SimpleSemanticModelElement createSimpleSemanticModelElement(); - - /** - * Returns a new object of class 'Uml1 Semantic Model Bridge'. - * - * - * @return a new object of class 'Uml1 Semantic Model Bridge'. - * @generated - */ - Uml1SemanticModelBridge createUml1SemanticModelBridge(); - - /** - * Returns a new object of class 'Core Semantic Model Bridge'. - * - * - * @return a new object of class 'Core Semantic Model Bridge'. - * @generated - */ - CoreSemanticModelBridge createCoreSemanticModelBridge(); - - /** - * Returns a new object of class 'Leaf Element'. - * - * @return a new object of class 'Leaf Element'. - * @generated - */ - LeafElement createLeafElement(); - - /** - * Returns a new object of class 'Text Element'. - * - * @return a new object of class 'Text Element'. - * @generated - */ - TextElement createTextElement(); - - /** - * Returns a new object of class 'Image'. - * - * @return a new object of class 'Image'. - * @generated - */ - Image createImage(); - - /** - * Returns a new object of class 'Graphic Primitive'. - * - * @return a new object of class 'Graphic Primitive'. - * @generated - */ - GraphicPrimitive createGraphicPrimitive(); - - /** - * Returns a new object of class 'Polilyne'. - * - * @return a new object of class 'Polilyne'. - * @generated - */ - Polilyne createPolilyne(); - - /** - * Returns a new object of class 'Ellipse'. - * - * @return a new object of class 'Ellipse'. - * @generated - */ - Ellipse createEllipse(); - - /** - * Returns the package supported by this factory. - * - * @return the package supported by this factory. - * @generated - */ - Di2Package getDi2Package(); - -} // Di2Factory diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Package.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Package.java deleted file mode 100644 index a92a4a0fe6c..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Di2Package.java +++ /dev/null @@ -1,4337 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * The Package for the model. It contains accessors for the meta - * objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * - * @see org.eclipse.papyrus.conversion.di2.Di2Factory - * @model kind="package" - * @generated - */ -public interface Di2Package extends EPackage { - - /** - * The package name. - * - * @generated - */ - String eNAME = "di2"; - - /** - * The package namespace URI. - * - * @generated - */ - String eNS_URI = "http://www.papyrusuml.org/di2"; - - /** - * The package namespace name. - * - * @generated - */ - String eNS_PREFIX = "di2"; - - /** - * The singleton instance of the package. - * - * @generated - */ - Di2Package eINSTANCE = org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl.init(); - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl - * Diagram Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagramElement() - * @generated - */ - int DIAGRAM_ELEMENT = 0; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__PROPERTY = 0; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__IS_VISIBLE = 1; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__REFERENCE = 2; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__CONTAINER = 3; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__FONT_FAMILY = 4; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__FONT_SIZE = 5; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__LINE_STYLE = 6; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__LINE_THICKNESS = 7; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__FONT_COLOR = 8; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__FOREGROUND_COLOR = 9; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__BACKGROUND_COLOR = 10; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__BORDER_COLOR = 11; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__TRANSLUCENT = 12; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__SEMANTIC_PARENT = 13; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT__SEMANTIC_CHILD = 14; - - /** - * The number of structural features of the 'Diagram Element' class. - * - * @generated - * @ordered - */ - int DIAGRAM_ELEMENT_FEATURE_COUNT = 15; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl Graph Element}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphElement() - * @generated - */ - int GRAPH_ELEMENT = 1; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__PROPERTY = DIAGRAM_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__REFERENCE = DIAGRAM_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__CONTAINER = DIAGRAM_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Contained' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__CONTAINED = DIAGRAM_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Link' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__LINK = DIAGRAM_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Semantic Model' containment reference. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__SEMANTIC_MODEL = DIAGRAM_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Position' attribute. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__POSITION = DIAGRAM_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Anchorage' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT__ANCHORAGE = DIAGRAM_ELEMENT_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'Graph Element' class. - * - * @generated - * @ordered - */ - int GRAPH_ELEMENT_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 5; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl Reference}' class. - * - * - * @see org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getReference() - * @generated - */ - int REFERENCE = 2; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int REFERENCE__PROPERTY = DIAGRAM_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int REFERENCE__REFERENCE = DIAGRAM_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int REFERENCE__CONTAINER = DIAGRAM_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int REFERENCE__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int REFERENCE__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int REFERENCE__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int REFERENCE__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int REFERENCE__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Is Individual Representation' attribute. - * - * @generated - * @ordered - */ - int REFERENCE__IS_INDIVIDUAL_REPRESENTATION = DIAGRAM_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Referenced' reference. - * - * @generated - * @ordered - */ - int REFERENCE__REFERENCED = DIAGRAM_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Reference' class. - * - * - * @generated - * @ordered - */ - int REFERENCE_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.conversion.di2.impl.PropertyImpl - * Property}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.PropertyImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getProperty() - * @generated - */ - int PROPERTY = 3; - - /** - * The feature id for the 'Key' attribute. - * - * @generated - * @ordered - */ - int PROPERTY__KEY = 0; - - /** - * The feature id for the 'Value' attribute. - * - * @generated - * @ordered - */ - int PROPERTY__VALUE = 1; - - /** - * The number of structural features of the 'Property' class. - * - * - * @generated - * @ordered - */ - int PROPERTY_FEATURE_COUNT = 2; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl Graph Edge}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphEdge() - * @generated - */ - int GRAPH_EDGE = 4; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__PROPERTY = GRAPH_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__IS_VISIBLE = GRAPH_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__REFERENCE = GRAPH_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__CONTAINER = GRAPH_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__FONT_FAMILY = GRAPH_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__FONT_SIZE = GRAPH_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__LINE_STYLE = GRAPH_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__LINE_THICKNESS = GRAPH_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__FONT_COLOR = GRAPH_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__FOREGROUND_COLOR = GRAPH_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__BACKGROUND_COLOR = GRAPH_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__BORDER_COLOR = GRAPH_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__TRANSLUCENT = GRAPH_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__SEMANTIC_PARENT = GRAPH_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__SEMANTIC_CHILD = GRAPH_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Contained' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__CONTAINED = GRAPH_ELEMENT__CONTAINED; - - /** - * The feature id for the 'Link' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__LINK = GRAPH_ELEMENT__LINK; - - /** - * The feature id for the 'Semantic Model' containment reference. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__SEMANTIC_MODEL = GRAPH_ELEMENT__SEMANTIC_MODEL; - - /** - * The feature id for the 'Position' attribute. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__POSITION = GRAPH_ELEMENT__POSITION; - - /** - * The feature id for the 'Anchorage' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__ANCHORAGE = GRAPH_ELEMENT__ANCHORAGE; - - /** - * The feature id for the 'Anchor' reference list. - * - * @generated - * @ordered - */ - int GRAPH_EDGE__ANCHOR = GRAPH_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Waypoints' attribute list. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE__WAYPOINTS = GRAPH_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Graph Edge' class. - * - * - * @generated - * @ordered - */ - int GRAPH_EDGE_FEATURE_COUNT = GRAPH_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl - * Graph Connector}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphConnector() - * @generated - */ - int GRAPH_CONNECTOR = 5; - - /** - * The feature id for the 'Position' attribute. - * - * @generated - * @ordered - */ - int GRAPH_CONNECTOR__POSITION = 0; - - /** - * The feature id for the 'Graph Edge' reference list. - * - * - * @generated - * @ordered - */ - int GRAPH_CONNECTOR__GRAPH_EDGE = 1; - - /** - * The feature id for the 'Graph Element' container reference. - * - * @generated - * @ordered - */ - int GRAPH_CONNECTOR__GRAPH_ELEMENT = 2; - - /** - * The number of structural features of the 'Graph Connector' class. - * - * @generated - * @ordered - */ - int GRAPH_CONNECTOR_FEATURE_COUNT = 3; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphNodeImpl Graph Node}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphNodeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphNode() - * @generated - */ - int GRAPH_NODE = 6; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_NODE__PROPERTY = GRAPH_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__IS_VISIBLE = GRAPH_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE__REFERENCE = GRAPH_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int GRAPH_NODE__CONTAINER = GRAPH_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__FONT_FAMILY = GRAPH_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__FONT_SIZE = GRAPH_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__LINE_STYLE = GRAPH_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE__LINE_THICKNESS = GRAPH_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__FONT_COLOR = GRAPH_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE__FOREGROUND_COLOR = GRAPH_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE__BACKGROUND_COLOR = GRAPH_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__BORDER_COLOR = GRAPH_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__TRANSLUCENT = GRAPH_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE__SEMANTIC_PARENT = GRAPH_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int GRAPH_NODE__SEMANTIC_CHILD = GRAPH_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Contained' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_NODE__CONTAINED = GRAPH_ELEMENT__CONTAINED; - - /** - * The feature id for the 'Link' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_NODE__LINK = GRAPH_ELEMENT__LINK; - - /** - * The feature id for the 'Semantic Model' containment reference. - * - * @generated - * @ordered - */ - int GRAPH_NODE__SEMANTIC_MODEL = GRAPH_ELEMENT__SEMANTIC_MODEL; - - /** - * The feature id for the 'Position' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__POSITION = GRAPH_ELEMENT__POSITION; - - /** - * The feature id for the 'Anchorage' containment reference list. - * - * @generated - * @ordered - */ - int GRAPH_NODE__ANCHORAGE = GRAPH_ELEMENT__ANCHORAGE; - - /** - * The feature id for the 'Size' attribute. - * - * @generated - * @ordered - */ - int GRAPH_NODE__SIZE = GRAPH_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Graph Node' class. - * - * - * @generated - * @ordered - */ - int GRAPH_NODE_FEATURE_COUNT = GRAPH_ELEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl Diagram Link}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagramLink() - * @generated - */ - int DIAGRAM_LINK = 7; - - /** - * The feature id for the 'Diagram' reference. - * - * @generated - * @ordered - */ - int DIAGRAM_LINK__DIAGRAM = 0; - - /** - * The feature id for the 'Zoom' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_LINK__ZOOM = 1; - - /** - * The feature id for the 'Viewport' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM_LINK__VIEWPORT = 2; - - /** - * The feature id for the 'Graph Element' reference. - * - * - * @generated - * @ordered - */ - int DIAGRAM_LINK__GRAPH_ELEMENT = 3; - - /** - * The number of structural features of the 'Diagram Link' class. - * - * @generated - * @ordered - */ - int DIAGRAM_LINK_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl - * Diagram}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagram() - * @generated - */ - int DIAGRAM = 8; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int DIAGRAM__PROPERTY = GRAPH_NODE__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__IS_VISIBLE = GRAPH_NODE__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int DIAGRAM__REFERENCE = GRAPH_NODE__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int DIAGRAM__CONTAINER = GRAPH_NODE__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__FONT_FAMILY = GRAPH_NODE__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__FONT_SIZE = GRAPH_NODE__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__LINE_STYLE = GRAPH_NODE__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM__LINE_THICKNESS = GRAPH_NODE__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__FONT_COLOR = GRAPH_NODE__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM__FOREGROUND_COLOR = GRAPH_NODE__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int DIAGRAM__BACKGROUND_COLOR = GRAPH_NODE__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__BORDER_COLOR = GRAPH_NODE__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__TRANSLUCENT = GRAPH_NODE__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int DIAGRAM__SEMANTIC_PARENT = GRAPH_NODE__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int DIAGRAM__SEMANTIC_CHILD = GRAPH_NODE__SEMANTIC_CHILD; - - /** - * The feature id for the 'Contained' containment reference list. - * - * @generated - * @ordered - */ - int DIAGRAM__CONTAINED = GRAPH_NODE__CONTAINED; - - /** - * The feature id for the 'Link' containment reference list. - * - * @generated - * @ordered - */ - int DIAGRAM__LINK = GRAPH_NODE__LINK; - - /** - * The feature id for the 'Semantic Model' containment reference. - * - * @generated - * @ordered - */ - int DIAGRAM__SEMANTIC_MODEL = GRAPH_NODE__SEMANTIC_MODEL; - - /** - * The feature id for the 'Position' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__POSITION = GRAPH_NODE__POSITION; - - /** - * The feature id for the 'Anchorage' containment reference list. - * - * @generated - * @ordered - */ - int DIAGRAM__ANCHORAGE = GRAPH_NODE__ANCHORAGE; - - /** - * The feature id for the 'Size' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__SIZE = GRAPH_NODE__SIZE; - - /** - * The feature id for the 'Owner' containment reference. - * - * - * @generated - * @ordered - */ - int DIAGRAM__OWNER = GRAPH_NODE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Name' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__NAME = GRAPH_NODE_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Zoom' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__ZOOM = GRAPH_NODE_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Viewport' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__VIEWPORT = GRAPH_NODE_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Diagram Link' reference list. - * - * - * @generated - * @ordered - */ - int DIAGRAM__DIAGRAM_LINK = GRAPH_NODE_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Type' attribute. - * - * @generated - * @ordered - */ - int DIAGRAM__TYPE = GRAPH_NODE_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'Diagram' class. - * - * - * @generated - * @ordered - */ - int DIAGRAM_FEATURE_COUNT = GRAPH_NODE_FEATURE_COUNT + 6; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl - * Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getSemanticModelBridge() - * @generated - */ - int SEMANTIC_MODEL_BRIDGE = 9; - - /** - * The feature id for the 'Presentation' attribute. - * - * @generated - * @ordered - */ - int SEMANTIC_MODEL_BRIDGE__PRESENTATION = 0; - - /** - * The feature id for the 'Graph Element' reference. - * - * - * @generated - * @ordered - */ - int SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = 1; - - /** - * The number of structural features of the 'Semantic Model Bridge' class. - * - * @generated - * @ordered - */ - int SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT = 2; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.SimpleSemanticModelElementImpl - * Simple Semantic Model Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.SimpleSemanticModelElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getSimpleSemanticModelElement() - * @generated - */ - int SIMPLE_SEMANTIC_MODEL_ELEMENT = 10; - - /** - * The feature id for the 'Presentation' attribute. - * - * @generated - * @ordered - */ - int SIMPLE_SEMANTIC_MODEL_ELEMENT__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION; - - /** - * The feature id for the 'Graph Element' reference. - * - * - * @generated - * @ordered - */ - int SIMPLE_SEMANTIC_MODEL_ELEMENT__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT; - - /** - * The feature id for the 'Typeinfo' attribute. - * - * @generated - * @ordered - */ - int SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Simple Semantic Model Element' class. - * - * @generated - * @ordered - */ - int SIMPLE_SEMANTIC_MODEL_ELEMENT_FEATURE_COUNT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 1; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.Uml1SemanticModelBridgeImpl - * Uml1 Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.Uml1SemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getUml1SemanticModelBridge() - * @generated - */ - int UML1_SEMANTIC_MODEL_BRIDGE = 11; - - /** - * The feature id for the 'Presentation' attribute. - * - * @generated - * @ordered - */ - int UML1_SEMANTIC_MODEL_BRIDGE__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION; - - /** - * The feature id for the 'Graph Element' reference. - * - * - * @generated - * @ordered - */ - int UML1_SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT; - - /** - * The feature id for the 'Element' reference. - * - * @generated - * @ordered - */ - int UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Uml1 Semantic Model Bridge' class. - * - * @generated - * @ordered - */ - int UML1_SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 1; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.CoreSemanticModelBridgeImpl - * Core Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.CoreSemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getCoreSemanticModelBridge() - * @generated - */ - int CORE_SEMANTIC_MODEL_BRIDGE = 12; - - /** - * The feature id for the 'Presentation' attribute. - * - * @generated - * @ordered - */ - int CORE_SEMANTIC_MODEL_BRIDGE__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION; - - /** - * The feature id for the 'Graph Element' reference. - * - * - * @generated - * @ordered - */ - int CORE_SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT; - - /** - * The number of structural features of the 'Core Semantic Model Bridge' class. - * - * @generated - * @ordered - */ - int CORE_SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.LeafElementImpl Leaf Element}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.LeafElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getLeafElement() - * @generated - */ - int LEAF_ELEMENT = 13; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__PROPERTY = DIAGRAM_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__REFERENCE = DIAGRAM_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__CONTAINER = DIAGRAM_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD; - - /** - * The number of structural features of the 'Leaf Element' class. - * - * @generated - * @ordered - */ - int LEAF_ELEMENT_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.TextElementImpl Text Element}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.TextElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getTextElement() - * @generated - */ - int TEXT_ELEMENT = 14; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__PROPERTY = LEAF_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__REFERENCE = LEAF_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__CONTAINER = LEAF_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Text' attribute. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT__TEXT = LEAF_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Text Element' class. - * - * @generated - * @ordered - */ - int TEXT_ELEMENT_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.conversion.di2.impl.ImageImpl - * Image}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.ImageImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getImage() - * @generated - */ - int IMAGE = 15; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int IMAGE__PROPERTY = LEAF_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int IMAGE__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int IMAGE__REFERENCE = LEAF_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int IMAGE__CONTAINER = LEAF_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int IMAGE__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int IMAGE__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int IMAGE__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int IMAGE__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int IMAGE__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int IMAGE__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int IMAGE__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int IMAGE__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int IMAGE__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int IMAGE__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int IMAGE__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD; - - /** - * The feature id for the 'Uri' attribute. - * - * @generated - * @ordered - */ - int IMAGE__URI = LEAF_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Mime Type' attribute. - * - * @generated - * @ordered - */ - int IMAGE__MIME_TYPE = LEAF_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Image' class. - * - * @generated - * @ordered - */ - int IMAGE_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphicPrimitiveImpl - * Graphic Primitive}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphicPrimitiveImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphicPrimitive() - * @generated - */ - int GRAPHIC_PRIMITIVE = 16; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__PROPERTY = LEAF_ELEMENT__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__REFERENCE = LEAF_ELEMENT__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__CONTAINER = LEAF_ELEMENT__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD; - - /** - * The number of structural features of the 'Graphic Primitive' class. - * - * @generated - * @ordered - */ - int GRAPHIC_PRIMITIVE_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl - * Polilyne}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPolilyne() - * @generated - */ - int POLILYNE = 17; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int POLILYNE__PROPERTY = GRAPHIC_PRIMITIVE__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__IS_VISIBLE = GRAPHIC_PRIMITIVE__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int POLILYNE__REFERENCE = GRAPHIC_PRIMITIVE__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int POLILYNE__CONTAINER = GRAPHIC_PRIMITIVE__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__FONT_FAMILY = GRAPHIC_PRIMITIVE__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__FONT_SIZE = GRAPHIC_PRIMITIVE__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__LINE_STYLE = GRAPHIC_PRIMITIVE__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int POLILYNE__LINE_THICKNESS = GRAPHIC_PRIMITIVE__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__FONT_COLOR = GRAPHIC_PRIMITIVE__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int POLILYNE__FOREGROUND_COLOR = GRAPHIC_PRIMITIVE__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int POLILYNE__BACKGROUND_COLOR = GRAPHIC_PRIMITIVE__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__BORDER_COLOR = GRAPHIC_PRIMITIVE__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int POLILYNE__TRANSLUCENT = GRAPHIC_PRIMITIVE__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int POLILYNE__SEMANTIC_PARENT = GRAPHIC_PRIMITIVE__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int POLILYNE__SEMANTIC_CHILD = GRAPHIC_PRIMITIVE__SEMANTIC_CHILD; - - /** - * The feature id for the 'Waypoints' attribute list. - * - * - * @generated - * @ordered - */ - int POLILYNE__WAYPOINTS = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Closed' attribute list. - * - * @generated - * @ordered - */ - int POLILYNE__CLOSED = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Polilyne' class. - * - * - * @generated - * @ordered - */ - int POLILYNE_FEATURE_COUNT = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl - * Ellipse}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.EllipseImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getEllipse() - * @generated - */ - int ELLIPSE = 18; - - /** - * The feature id for the 'Property' containment reference list. - * - * @generated - * @ordered - */ - int ELLIPSE__PROPERTY = GRAPHIC_PRIMITIVE__PROPERTY; - - /** - * The feature id for the 'Is Visible' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__IS_VISIBLE = GRAPHIC_PRIMITIVE__IS_VISIBLE; - - /** - * The feature id for the 'Reference' reference list. - * - * - * @generated - * @ordered - */ - int ELLIPSE__REFERENCE = GRAPHIC_PRIMITIVE__REFERENCE; - - /** - * The feature id for the 'Container' container reference. - * - * @generated - * @ordered - */ - int ELLIPSE__CONTAINER = GRAPHIC_PRIMITIVE__CONTAINER; - - /** - * The feature id for the 'Font Family' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__FONT_FAMILY = GRAPHIC_PRIMITIVE__FONT_FAMILY; - - /** - * The feature id for the 'Font Size' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__FONT_SIZE = GRAPHIC_PRIMITIVE__FONT_SIZE; - - /** - * The feature id for the 'Line Style' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__LINE_STYLE = GRAPHIC_PRIMITIVE__LINE_STYLE; - - /** - * The feature id for the 'Line Thickness' attribute. - * - * - * @generated - * @ordered - */ - int ELLIPSE__LINE_THICKNESS = GRAPHIC_PRIMITIVE__LINE_THICKNESS; - - /** - * The feature id for the 'Font Color' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__FONT_COLOR = GRAPHIC_PRIMITIVE__FONT_COLOR; - - /** - * The feature id for the 'Foreground Color' attribute. - * - * - * @generated - * @ordered - */ - int ELLIPSE__FOREGROUND_COLOR = GRAPHIC_PRIMITIVE__FOREGROUND_COLOR; - - /** - * The feature id for the 'Background Color' attribute. - * - * - * @generated - * @ordered - */ - int ELLIPSE__BACKGROUND_COLOR = GRAPHIC_PRIMITIVE__BACKGROUND_COLOR; - - /** - * The feature id for the 'Border Color' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__BORDER_COLOR = GRAPHIC_PRIMITIVE__BORDER_COLOR; - - /** - * The feature id for the 'Translucent' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__TRANSLUCENT = GRAPHIC_PRIMITIVE__TRANSLUCENT; - - /** - * The feature id for the 'Semantic Parent' reference. - * - * - * @generated - * @ordered - */ - int ELLIPSE__SEMANTIC_PARENT = GRAPHIC_PRIMITIVE__SEMANTIC_PARENT; - - /** - * The feature id for the 'Semantic Child' reference list. - * - * @generated - * @ordered - */ - int ELLIPSE__SEMANTIC_CHILD = GRAPHIC_PRIMITIVE__SEMANTIC_CHILD; - - /** - * The feature id for the 'Center' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__CENTER = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Radius X' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__RADIUS_X = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Radius Y' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__RADIUS_Y = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Rotation' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__ROTATION = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Start Angle' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__START_ANGLE = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 4; - - /** - * The feature id for the 'End Angle' attribute. - * - * @generated - * @ordered - */ - int ELLIPSE__END_ANGLE = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 5; - - /** - * The number of structural features of the 'Ellipse' class. - * - * - * @generated - * @ordered - */ - int ELLIPSE_FEATURE_COUNT = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 6; - - /** - * The meta object id for the ' - * {@link org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * Papyrus Key Enumeration}' enum. - * - * @see org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPapyrusKeyEnumeration() - * @generated - */ - int PAPYRUS_KEY_ENUMERATION = 19; - - /** - * The meta object id for the 'Point' data type. - * - * @see org.eclipse.draw2d.geometry.Point - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPoint() - * @generated - */ - int POINT = 20; - - /** - * The meta object id for the 'Dimension' data type. - * - * @see org.eclipse.draw2d.geometry.Dimension - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDimension() - * @generated - */ - int DIMENSION = 21; - - /** - * The meta object id for the 'Double' data type. - * - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDouble() - * @generated - */ - int DOUBLE = 22; - - /** - * The meta object id for the 'RGB' data type. - * - * @see org.eclipse.swt.graphics.RGB - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getRGB() - * @generated - */ - int RGB = 23; - - /** - * The meta object id for the 'String' data type. - * - * @see java.lang.String - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getString() - * @generated - */ - int STRING = 24; - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement Diagram Element}'. - * - * - * @return the meta object for class 'Diagram Element'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement - * @generated - */ - EClass getDiagramElement(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getProperty Property} - * '. - * - * @return the meta object for the containment reference list 'Property'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getProperty() - * @see #getDiagramElement() - * @generated - */ - EReference getDiagramElement_Property(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isIsVisible - * Is Visible}'. - * - * @return the meta object for the attribute 'Is Visible'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#isIsVisible() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_IsVisible(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getReference - * Reference}'. - * - * @return the meta object for the reference list 'Reference'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getReference() - * @see #getDiagramElement() - * @generated - */ - EReference getDiagramElement_Reference(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer - * Container}'. - * - * @return the meta object for the container reference 'Container'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer() - * @see #getDiagramElement() - * @generated - */ - EReference getDiagramElement_Container(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontFamily - * Font Family}'. - * - * @return the meta object for the attribute 'Font Family'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getFontFamily() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_FontFamily(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontSize Font Size} - * '. - * - * @return the meta object for the attribute 'Font Size'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getFontSize() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_FontSize(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineStyle - * Line Style}'. - * - * @return the meta object for the attribute 'Line Style'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getLineStyle() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_LineStyle(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineThickness - * Line Thickness}'. - * - * @return the meta object for the attribute 'Line Thickness'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getLineThickness() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_LineThickness(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontColor - * Font Color}'. - * - * @return the meta object for the attribute 'Font Color'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getFontColor() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_FontColor(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getForegroundColor - * Foreground Color}'. - * - * @return the meta object for the attribute 'Foreground Color'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getForegroundColor() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_ForegroundColor(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBackgroundColor - * Background Color}'. - * - * @return the meta object for the attribute 'Background Color'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getBackgroundColor() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_BackgroundColor(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBorderColor - * Border Color}'. - * - * @return the meta object for the attribute 'Border Color'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getBorderColor() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_BorderColor(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isTranslucent - * Translucent}'. - * - * @return the meta object for the attribute 'Translucent'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#isTranslucent() - * @see #getDiagramElement() - * @generated - */ - EAttribute getDiagramElement_Translucent(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent - * Semantic Parent}'. - * - * @return the meta object for the reference 'Semantic Parent'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent() - * @see #getDiagramElement() - * @generated - */ - EReference getDiagramElement_SemanticParent(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticChild - * Semantic Child}'. - * - * @return the meta object for the reference list 'Semantic Child'. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticChild() - * @see #getDiagramElement() - * @generated - */ - EReference getDiagramElement_SemanticChild(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement Graph Element}'. - * - * @return the meta object for class 'Graph Element'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement - * @generated - */ - EClass getGraphElement(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getContained Contained} - * '. - * - * @return the meta object for the containment reference list 'Contained'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getContained() - * @see #getGraphElement() - * @generated - */ - EReference getGraphElement_Contained(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getLink Link}'. - * - * @return the meta object for the containment reference list 'Link'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getLink() - * @see #getGraphElement() - * @generated - */ - EReference getGraphElement_Link(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getSemanticModel - * Semantic Model}'. - * - * @return the meta object for the containment reference 'Semantic Model'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getSemanticModel() - * @see #getGraphElement() - * @generated - */ - EReference getGraphElement_SemanticModel(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getPosition Position}'. - * - * - * @return the meta object for the attribute 'Position'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getPosition() - * @see #getGraphElement() - * @generated - */ - EAttribute getGraphElement_Position(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getAnchorage Anchorage} - * '. - * - * @return the meta object for the containment reference list 'Anchorage'. - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getAnchorage() - * @see #getGraphElement() - * @generated - */ - EReference getGraphElement_Anchorage(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Reference - * Reference}'. - * - * @return the meta object for class 'Reference'. - * @see org.eclipse.papyrus.conversion.di2.Reference - * @generated - */ - EClass getReference(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Reference#isIsIndividualRepresentation - * Is Individual Representation}'. - * - * @return the meta object for the attribute 'Is Individual Representation'. - * @see org.eclipse.papyrus.conversion.di2.Reference#isIsIndividualRepresentation() - * @see #getReference() - * @generated - */ - EAttribute getReference_IsIndividualRepresentation(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.Reference#getReferenced Referenced}'. - * - * - * @return the meta object for the reference 'Referenced'. - * @see org.eclipse.papyrus.conversion.di2.Reference#getReferenced() - * @see #getReference() - * @generated - */ - EReference getReference_Referenced(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Property - * Property}'. - * - * @return the meta object for class 'Property'. - * @see org.eclipse.papyrus.conversion.di2.Property - * @generated - */ - EClass getProperty(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Property#getKey Key}'. - * - * @return the meta object for the attribute 'Key'. - * @see org.eclipse.papyrus.conversion.di2.Property#getKey() - * @see #getProperty() - * @generated - */ - EAttribute getProperty_Key(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Property#getValue Value}'. - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.papyrus.conversion.di2.Property#getValue() - * @see #getProperty() - * @generated - */ - EAttribute getProperty_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.GraphEdge - * Graph Edge}'. - * - * @return the meta object for class 'Graph Edge'. - * @see org.eclipse.papyrus.conversion.di2.GraphEdge - * @generated - */ - EClass getGraphEdge(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphEdge#getAnchor Anchor}'. - * - * @return the meta object for the reference list 'Anchor'. - * @see org.eclipse.papyrus.conversion.di2.GraphEdge#getAnchor() - * @see #getGraphEdge() - * @generated - */ - EReference getGraphEdge_Anchor(); - - /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphEdge#getWaypoints Waypoints}'. - * - * - * @return the meta object for the attribute list 'Waypoints'. - * @see org.eclipse.papyrus.conversion.di2.GraphEdge#getWaypoints() - * @see #getGraphEdge() - * @generated - */ - EAttribute getGraphEdge_Waypoints(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector Graph Connector}'. - * - * - * @return the meta object for class 'Graph Connector'. - * @see org.eclipse.papyrus.conversion.di2.GraphConnector - * @generated - */ - EClass getGraphConnector(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getPosition Position} - * '. - * - * @return the meta object for the attribute 'Position'. - * @see org.eclipse.papyrus.conversion.di2.GraphConnector#getPosition() - * @see #getGraphConnector() - * @generated - */ - EAttribute getGraphConnector_Position(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphEdge - * Graph Edge}'. - * - * @return the meta object for the reference list 'Graph Edge'. - * @see org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphEdge() - * @see #getGraphConnector() - * @generated - */ - EReference getGraphConnector_GraphEdge(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement - * Graph Element}'. - * - * @return the meta object for the container reference 'Graph Element'. - * @see org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement() - * @see #getGraphConnector() - * @generated - */ - EReference getGraphConnector_GraphElement(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.GraphNode - * Graph Node}'. - * - * @return the meta object for class 'Graph Node'. - * @see org.eclipse.papyrus.conversion.di2.GraphNode - * @generated - */ - EClass getGraphNode(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.GraphNode#getSize Size}'. - * - * @return the meta object for the attribute 'Size'. - * @see org.eclipse.papyrus.conversion.di2.GraphNode#getSize() - * @see #getGraphNode() - * @generated - */ - EAttribute getGraphNode_Size(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink Diagram Link}'. - * - * @return the meta object for class 'Diagram Link'. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink - * @generated - */ - EClass getDiagramLink(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getDiagram Diagram}'. - * - * - * @return the meta object for the reference 'Diagram'. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink#getDiagram() - * @see #getDiagramLink() - * @generated - */ - EReference getDiagramLink_Diagram(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getZoom Zoom}'. - * - * @return the meta object for the attribute 'Zoom'. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink#getZoom() - * @see #getDiagramLink() - * @generated - */ - EAttribute getDiagramLink_Zoom(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getViewport Viewport}'. - * - * - * @return the meta object for the attribute 'Viewport'. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink#getViewport() - * @see #getDiagramLink() - * @generated - */ - EAttribute getDiagramLink_Viewport(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getGraphElement - * Graph Element}'. - * - * @return the meta object for the reference 'Graph Element'. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink#getGraphElement() - * @see #getDiagramLink() - * @generated - */ - EReference getDiagramLink_GraphElement(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Diagram - * Diagram}'. - * - * @return the meta object for class 'Diagram'. - * @see org.eclipse.papyrus.conversion.di2.Diagram - * @generated - */ - EClass getDiagram(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getOwner Owner}'. - * - * @return the meta object for the containment reference 'Owner'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getOwner() - * @see #getDiagram() - * @generated - */ - EReference getDiagram_Owner(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getName Name}'. - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getName() - * @see #getDiagram() - * @generated - */ - EAttribute getDiagram_Name(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getZoom Zoom}'. - * - * @return the meta object for the attribute 'Zoom'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getZoom() - * @see #getDiagram() - * @generated - */ - EAttribute getDiagram_Zoom(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getViewport Viewport}'. - * - * @return the meta object for the attribute 'Viewport'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getViewport() - * @see #getDiagram() - * @generated - */ - EAttribute getDiagram_Viewport(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getDiagramLink Diagram Link} - * '. - * - * @return the meta object for the reference list 'Diagram Link'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getDiagramLink() - * @see #getDiagram() - * @generated - */ - EReference getDiagram_DiagramLink(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram#getType Type}'. - * - * @return the meta object for the attribute 'Type'. - * @see org.eclipse.papyrus.conversion.di2.Diagram#getType() - * @see #getDiagram() - * @generated - */ - EAttribute getDiagram_Type(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge - * Semantic Model Bridge}'. - * - * @return the meta object for class 'Semantic Model Bridge'. - * @see org.eclipse.papyrus.conversion.di2.SemanticModelBridge - * @generated - */ - EClass getSemanticModelBridge(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getPresentation - * Presentation}'. - * - * @return the meta object for the attribute 'Presentation'. - * @see org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getPresentation() - * @see #getSemanticModelBridge() - * @generated - */ - EAttribute getSemanticModelBridge_Presentation(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getGraphElement - * Graph Element}'. - * - * @return the meta object for the reference 'Graph Element'. - * @see org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getGraphElement() - * @see #getSemanticModelBridge() - * @generated - */ - EReference getSemanticModelBridge_GraphElement(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement - * Simple Semantic Model Element}'. - * - * @return the meta object for class 'Simple Semantic Model Element'. - * @see org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement - * @generated - */ - EClass getSimpleSemanticModelElement(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement#getTypeinfo - * Typeinfo}'. - * - * @return the meta object for the attribute 'Typeinfo'. - * @see org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement#getTypeinfo() - * @see #getSimpleSemanticModelElement() - * @generated - */ - EAttribute getSimpleSemanticModelElement_Typeinfo(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge - * Uml1 Semantic Model Bridge}'. - * - * @return the meta object for class 'Uml1 Semantic Model Bridge'. - * @see org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge - * @generated - */ - EClass getUml1SemanticModelBridge(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge#getElement - * Element}'. - * - * @return the meta object for the reference 'Element'. - * @see org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge#getElement() - * @see #getUml1SemanticModelBridge() - * @generated - */ - EReference getUml1SemanticModelBridge_Element(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.CoreSemanticModelBridge - * Core Semantic Model Bridge}'. - * - * @return the meta object for class 'Core Semantic Model Bridge'. - * @see org.eclipse.papyrus.conversion.di2.CoreSemanticModelBridge - * @generated - */ - EClass getCoreSemanticModelBridge(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.LeafElement Leaf Element}'. - * - * @return the meta object for class 'Leaf Element'. - * @see org.eclipse.papyrus.conversion.di2.LeafElement - * @generated - */ - EClass getLeafElement(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.TextElement Text Element}'. - * - * @return the meta object for class 'Text Element'. - * @see org.eclipse.papyrus.conversion.di2.TextElement - * @generated - */ - EClass getTextElement(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.TextElement#getText Text}'. - * - * @return the meta object for the attribute 'Text'. - * @see org.eclipse.papyrus.conversion.di2.TextElement#getText() - * @see #getTextElement() - * @generated - */ - EAttribute getTextElement_Text(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Image - * Image}'. - * - * @return the meta object for class 'Image'. - * @see org.eclipse.papyrus.conversion.di2.Image - * @generated - */ - EClass getImage(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Image#getUri Uri}'. - * - * @return the meta object for the attribute 'Uri'. - * @see org.eclipse.papyrus.conversion.di2.Image#getUri() - * @see #getImage() - * @generated - */ - EAttribute getImage_Uri(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Image#getMimeType Mime Type}'. - * - * @return the meta object for the attribute 'Mime Type'. - * @see org.eclipse.papyrus.conversion.di2.Image#getMimeType() - * @see #getImage() - * @generated - */ - EAttribute getImage_MimeType(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphicPrimitive Graphic Primitive}'. - * - * - * @return the meta object for class 'Graphic Primitive'. - * @see org.eclipse.papyrus.conversion.di2.GraphicPrimitive - * @generated - */ - EClass getGraphicPrimitive(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Polilyne - * Polilyne}'. - * - * @return the meta object for class 'Polilyne'. - * @see org.eclipse.papyrus.conversion.di2.Polilyne - * @generated - */ - EClass getPolilyne(); - - /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.conversion.di2.Polilyne#getWaypoints Waypoints}'. - * - * - * @return the meta object for the attribute list 'Waypoints'. - * @see org.eclipse.papyrus.conversion.di2.Polilyne#getWaypoints() - * @see #getPolilyne() - * @generated - */ - EAttribute getPolilyne_Waypoints(); - - /** - * Returns the meta object for the attribute list ' - * {@link org.eclipse.papyrus.conversion.di2.Polilyne#getClosed Closed}'. - * - * @return the meta object for the attribute list 'Closed'. - * @see org.eclipse.papyrus.conversion.di2.Polilyne#getClosed() - * @see #getPolilyne() - * @generated - */ - EAttribute getPolilyne_Closed(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.conversion.di2.Ellipse - * Ellipse}'. - * - * @return the meta object for class 'Ellipse'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse - * @generated - */ - EClass getEllipse(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getCenter Center}'. - * - * @return the meta object for the attribute 'Center'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getCenter() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_Center(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusX Radius X}'. - * - * @return the meta object for the attribute 'Radius X'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusX() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_RadiusX(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusY Radius Y}'. - * - * @return the meta object for the attribute 'Radius Y'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusY() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_RadiusY(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRotation Rotation}'. - * - * @return the meta object for the attribute 'Rotation'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getRotation() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_Rotation(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getStartAngle Start Angle}'. - * - * - * @return the meta object for the attribute 'Start Angle'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getStartAngle() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_StartAngle(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse#getEndAngle End Angle}'. - * - * @return the meta object for the attribute 'End Angle'. - * @see org.eclipse.papyrus.conversion.di2.Ellipse#getEndAngle() - * @see #getEllipse() - * @generated - */ - EAttribute getEllipse_EndAngle(); - - /** - * Returns the meta object for enum ' - * {@link org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * Papyrus Key Enumeration}'. - * - * @return the meta object for enum 'Papyrus Key Enumeration'. - * @see org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * @generated - */ - EEnum getPapyrusKeyEnumeration(); - - /** - * Returns the meta object for data type '{@link org.eclipse.draw2d.geometry.Point - * Point}'. - * - * @return the meta object for data type 'Point'. - * @see org.eclipse.draw2d.geometry.Point - * @model instanceClass="org.eclipse.draw2d.geometry.Point" - * @generated - */ - EDataType getPoint(); - - /** - * Returns the meta object for data type '{@link org.eclipse.draw2d.geometry.Dimension - * Dimension}'. - * - * @return the meta object for data type 'Dimension'. - * @see org.eclipse.draw2d.geometry.Dimension - * @model instanceClass="org.eclipse.draw2d.geometry.Dimension" - * @generated - */ - EDataType getDimension(); - - /** - * Returns the meta object for data type 'Double'. - * - * @return the meta object for data type 'Double'. - * @model instanceClass="double" - * @generated - */ - EDataType getDouble(); - - /** - * Returns the meta object for data type '{@link org.eclipse.swt.graphics.RGB RGB}'. - * - * - * @return the meta object for data type 'RGB'. - * @see org.eclipse.swt.graphics.RGB - * @model instanceClass="org.eclipse.swt.graphics.RGB" - * @generated - */ - EDataType getRGB(); - - /** - * Returns the meta object for data type '{@link java.lang.String String}'. - * - * @return the meta object for data type 'String'. - * @see java.lang.String - * @model instanceClass="java.lang.String" - * @generated - */ - EDataType getString(); - - /** - * Returns the factory that creates the instances of the model. - * - * @return the factory that creates the instances of the model. - * @generated - */ - Di2Factory getDi2Factory(); - - /** - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * - * @generated - */ - interface Literals { - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl - * Diagram Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagramElement() - * @generated - */ - EClass DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement(); - - /** - * The meta object literal for the 'Property' containment reference list - * feature. - * - * @generated - */ - EReference DIAGRAM_ELEMENT__PROPERTY = eINSTANCE.getDiagramElement_Property(); - - /** - * The meta object literal for the 'Is Visible' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__IS_VISIBLE = eINSTANCE.getDiagramElement_IsVisible(); - - /** - * The meta object literal for the 'Reference' reference list feature. - * - * @generated - */ - EReference DIAGRAM_ELEMENT__REFERENCE = eINSTANCE.getDiagramElement_Reference(); - - /** - * The meta object literal for the 'Container' container reference feature. - * - * - * @generated - */ - EReference DIAGRAM_ELEMENT__CONTAINER = eINSTANCE.getDiagramElement_Container(); - - /** - * The meta object literal for the 'Font Family' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__FONT_FAMILY = eINSTANCE.getDiagramElement_FontFamily(); - - /** - * The meta object literal for the 'Font Size' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__FONT_SIZE = eINSTANCE.getDiagramElement_FontSize(); - - /** - * The meta object literal for the 'Line Style' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__LINE_STYLE = eINSTANCE.getDiagramElement_LineStyle(); - - /** - * The meta object literal for the 'Line Thickness' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__LINE_THICKNESS = eINSTANCE.getDiagramElement_LineThickness(); - - /** - * The meta object literal for the 'Font Color' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__FONT_COLOR = eINSTANCE.getDiagramElement_FontColor(); - - /** - * The meta object literal for the 'Foreground Color' attribute feature. - * - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__FOREGROUND_COLOR = eINSTANCE.getDiagramElement_ForegroundColor(); - - /** - * The meta object literal for the 'Background Color' attribute feature. - * - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__BACKGROUND_COLOR = eINSTANCE.getDiagramElement_BackgroundColor(); - - /** - * The meta object literal for the 'Border Color' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__BORDER_COLOR = eINSTANCE.getDiagramElement_BorderColor(); - - /** - * The meta object literal for the 'Translucent' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_ELEMENT__TRANSLUCENT = eINSTANCE.getDiagramElement_Translucent(); - - /** - * The meta object literal for the 'Semantic Parent' reference feature. - * - * @generated - */ - EReference DIAGRAM_ELEMENT__SEMANTIC_PARENT = eINSTANCE.getDiagramElement_SemanticParent(); - - /** - * The meta object literal for the 'Semantic Child' reference list feature. - * - * - * @generated - */ - EReference DIAGRAM_ELEMENT__SEMANTIC_CHILD = eINSTANCE.getDiagramElement_SemanticChild(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl - * Graph Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphElement() - * @generated - */ - EClass GRAPH_ELEMENT = eINSTANCE.getGraphElement(); - - /** - * The meta object literal for the 'Contained' containment reference list - * feature. - * - * @generated - */ - EReference GRAPH_ELEMENT__CONTAINED = eINSTANCE.getGraphElement_Contained(); - - /** - * The meta object literal for the 'Link' containment reference list - * feature. - * - * @generated - */ - EReference GRAPH_ELEMENT__LINK = eINSTANCE.getGraphElement_Link(); - - /** - * The meta object literal for the 'Semantic Model' containment reference - * feature. - * - * @generated - */ - EReference GRAPH_ELEMENT__SEMANTIC_MODEL = eINSTANCE.getGraphElement_SemanticModel(); - - /** - * The meta object literal for the 'Position' attribute feature. - * - * @generated - */ - EAttribute GRAPH_ELEMENT__POSITION = eINSTANCE.getGraphElement_Position(); - - /** - * The meta object literal for the 'Anchorage' containment reference list - * feature. - * - * @generated - */ - EReference GRAPH_ELEMENT__ANCHORAGE = eINSTANCE.getGraphElement_Anchorage(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl Reference}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getReference() - * @generated - */ - EClass REFERENCE = eINSTANCE.getReference(); - - /** - * The meta object literal for the 'Is Individual Representation' attribute - * feature. - * - * @generated - */ - EAttribute REFERENCE__IS_INDIVIDUAL_REPRESENTATION = eINSTANCE.getReference_IsIndividualRepresentation(); - - /** - * The meta object literal for the 'Referenced' reference feature. - * - * @generated - */ - EReference REFERENCE__REFERENCED = eINSTANCE.getReference_Referenced(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.PropertyImpl Property}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.PropertyImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getProperty() - * @generated - */ - EClass PROPERTY = eINSTANCE.getProperty(); - - /** - * The meta object literal for the 'Key' attribute feature. - * - * @generated - */ - EAttribute PROPERTY__KEY = eINSTANCE.getProperty_Key(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * @generated - */ - EAttribute PROPERTY__VALUE = eINSTANCE.getProperty_Value(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl Graph Edge}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphEdge() - * @generated - */ - EClass GRAPH_EDGE = eINSTANCE.getGraphEdge(); - - /** - * The meta object literal for the 'Anchor' reference list feature. - * - * @generated - */ - EReference GRAPH_EDGE__ANCHOR = eINSTANCE.getGraphEdge_Anchor(); - - /** - * The meta object literal for the 'Waypoints' attribute list feature. - * - * @generated - */ - EAttribute GRAPH_EDGE__WAYPOINTS = eINSTANCE.getGraphEdge_Waypoints(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl - * Graph Connector}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphConnector() - * @generated - */ - EClass GRAPH_CONNECTOR = eINSTANCE.getGraphConnector(); - - /** - * The meta object literal for the 'Position' attribute feature. - * - * @generated - */ - EAttribute GRAPH_CONNECTOR__POSITION = eINSTANCE.getGraphConnector_Position(); - - /** - * The meta object literal for the 'Graph Edge' reference list feature. - * - * @generated - */ - EReference GRAPH_CONNECTOR__GRAPH_EDGE = eINSTANCE.getGraphConnector_GraphEdge(); - - /** - * The meta object literal for the 'Graph Element' container reference - * feature. - * - * @generated - */ - EReference GRAPH_CONNECTOR__GRAPH_ELEMENT = eINSTANCE.getGraphConnector_GraphElement(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphNodeImpl Graph Node}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphNodeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphNode() - * @generated - */ - EClass GRAPH_NODE = eINSTANCE.getGraphNode(); - - /** - * The meta object literal for the 'Size' attribute feature. - * - * @generated - */ - EAttribute GRAPH_NODE__SIZE = eINSTANCE.getGraphNode_Size(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl - * Diagram Link}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagramLink() - * @generated - */ - EClass DIAGRAM_LINK = eINSTANCE.getDiagramLink(); - - /** - * The meta object literal for the 'Diagram' reference feature. - * - * @generated - */ - EReference DIAGRAM_LINK__DIAGRAM = eINSTANCE.getDiagramLink_Diagram(); - - /** - * The meta object literal for the 'Zoom' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_LINK__ZOOM = eINSTANCE.getDiagramLink_Zoom(); - - /** - * The meta object literal for the 'Viewport' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM_LINK__VIEWPORT = eINSTANCE.getDiagramLink_Viewport(); - - /** - * The meta object literal for the 'Graph Element' reference feature. - * - * @generated - */ - EReference DIAGRAM_LINK__GRAPH_ELEMENT = eINSTANCE.getDiagramLink_GraphElement(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl Diagram}' class. - * - * - * @see org.eclipse.papyrus.conversion.di2.impl.DiagramImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDiagram() - * @generated - */ - EClass DIAGRAM = eINSTANCE.getDiagram(); - - /** - * The meta object literal for the 'Owner' containment reference feature. - * - * - * @generated - */ - EReference DIAGRAM__OWNER = eINSTANCE.getDiagram_Owner(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM__NAME = eINSTANCE.getDiagram_Name(); - - /** - * The meta object literal for the 'Zoom' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM__ZOOM = eINSTANCE.getDiagram_Zoom(); - - /** - * The meta object literal for the 'Viewport' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM__VIEWPORT = eINSTANCE.getDiagram_Viewport(); - - /** - * The meta object literal for the 'Diagram Link' reference list feature. - * - * - * @generated - */ - EReference DIAGRAM__DIAGRAM_LINK = eINSTANCE.getDiagram_DiagramLink(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * @generated - */ - EAttribute DIAGRAM__TYPE = eINSTANCE.getDiagram_Type(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl - * Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getSemanticModelBridge() - * @generated - */ - EClass SEMANTIC_MODEL_BRIDGE = eINSTANCE.getSemanticModelBridge(); - - /** - * The meta object literal for the 'Presentation' attribute feature. - * - * @generated - */ - EAttribute SEMANTIC_MODEL_BRIDGE__PRESENTATION = eINSTANCE.getSemanticModelBridge_Presentation(); - - /** - * The meta object literal for the 'Graph Element' reference feature. - * - * @generated - */ - EReference SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = eINSTANCE.getSemanticModelBridge_GraphElement(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.SimpleSemanticModelElementImpl - * Simple Semantic Model Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.SimpleSemanticModelElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getSimpleSemanticModelElement() - * @generated - */ - EClass SIMPLE_SEMANTIC_MODEL_ELEMENT = eINSTANCE.getSimpleSemanticModelElement(); - - /** - * The meta object literal for the 'Typeinfo' attribute feature. - * - * @generated - */ - EAttribute SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO = eINSTANCE.getSimpleSemanticModelElement_Typeinfo(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.Uml1SemanticModelBridgeImpl - * Uml1 Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.Uml1SemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getUml1SemanticModelBridge() - * @generated - */ - EClass UML1_SEMANTIC_MODEL_BRIDGE = eINSTANCE.getUml1SemanticModelBridge(); - - /** - * The meta object literal for the 'Element' reference feature. - * - * @generated - */ - EReference UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT = eINSTANCE.getUml1SemanticModelBridge_Element(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.CoreSemanticModelBridgeImpl - * Core Semantic Model Bridge}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.CoreSemanticModelBridgeImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getCoreSemanticModelBridge() - * @generated - */ - EClass CORE_SEMANTIC_MODEL_BRIDGE = eINSTANCE.getCoreSemanticModelBridge(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.LeafElementImpl - * Leaf Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.LeafElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getLeafElement() - * @generated - */ - EClass LEAF_ELEMENT = eINSTANCE.getLeafElement(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.TextElementImpl - * Text Element}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.TextElementImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getTextElement() - * @generated - */ - EClass TEXT_ELEMENT = eINSTANCE.getTextElement(); - - /** - * The meta object literal for the 'Text' attribute feature. - * - * @generated - */ - EAttribute TEXT_ELEMENT__TEXT = eINSTANCE.getTextElement_Text(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.ImageImpl Image}' class. - * - * - * @see org.eclipse.papyrus.conversion.di2.impl.ImageImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getImage() - * @generated - */ - EClass IMAGE = eINSTANCE.getImage(); - - /** - * The meta object literal for the 'Uri' attribute feature. - * - * @generated - */ - EAttribute IMAGE__URI = eINSTANCE.getImage_Uri(); - - /** - * The meta object literal for the 'Mime Type' attribute feature. - * - * @generated - */ - EAttribute IMAGE__MIME_TYPE = eINSTANCE.getImage_MimeType(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.GraphicPrimitiveImpl - * Graphic Primitive}' class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.GraphicPrimitiveImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getGraphicPrimitive() - * @generated - */ - EClass GRAPHIC_PRIMITIVE = eINSTANCE.getGraphicPrimitive(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl Polilyne}' - * class. - * - * @see org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPolilyne() - * @generated - */ - EClass POLILYNE = eINSTANCE.getPolilyne(); - - /** - * The meta object literal for the 'Waypoints' attribute list feature. - * - * @generated - */ - EAttribute POLILYNE__WAYPOINTS = eINSTANCE.getPolilyne_Waypoints(); - - /** - * The meta object literal for the 'Closed' attribute list feature. - * - * @generated - */ - EAttribute POLILYNE__CLOSED = eINSTANCE.getPolilyne_Closed(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl Ellipse}' class. - * - * - * @see org.eclipse.papyrus.conversion.di2.impl.EllipseImpl - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getEllipse() - * @generated - */ - EClass ELLIPSE = eINSTANCE.getEllipse(); - - /** - * The meta object literal for the 'Center' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__CENTER = eINSTANCE.getEllipse_Center(); - - /** - * The meta object literal for the 'Radius X' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__RADIUS_X = eINSTANCE.getEllipse_RadiusX(); - - /** - * The meta object literal for the 'Radius Y' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__RADIUS_Y = eINSTANCE.getEllipse_RadiusY(); - - /** - * The meta object literal for the 'Rotation' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__ROTATION = eINSTANCE.getEllipse_Rotation(); - - /** - * The meta object literal for the 'Start Angle' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__START_ANGLE = eINSTANCE.getEllipse_StartAngle(); - - /** - * The meta object literal for the 'End Angle' attribute feature. - * - * @generated - */ - EAttribute ELLIPSE__END_ANGLE = eINSTANCE.getEllipse_EndAngle(); - - /** - * The meta object literal for the ' - * {@link org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * Papyrus Key Enumeration}' enum. - * - * @see org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPapyrusKeyEnumeration() - * @generated - */ - EEnum PAPYRUS_KEY_ENUMERATION = eINSTANCE.getPapyrusKeyEnumeration(); - - /** - * The meta object literal for the 'Point' data type. - * - * @see org.eclipse.draw2d.geometry.Point - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getPoint() - * @generated - */ - EDataType POINT = eINSTANCE.getPoint(); - - /** - * The meta object literal for the 'Dimension' data type. - * - * - * @see org.eclipse.draw2d.geometry.Dimension - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDimension() - * @generated - */ - EDataType DIMENSION = eINSTANCE.getDimension(); - - /** - * The meta object literal for the 'Double' data type. - * - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getDouble() - * @generated - */ - EDataType DOUBLE = eINSTANCE.getDouble(); - - /** - * The meta object literal for the 'RGB' data type. - * - * @see org.eclipse.swt.graphics.RGB - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getRGB() - * @generated - */ - EDataType RGB = eINSTANCE.getRGB(); - - /** - * The meta object literal for the 'String' data type. - * - * @see java.lang.String - * @see org.eclipse.papyrus.conversion.di2.impl.Di2PackageImpl#getString() - * @generated - */ - EDataType STRING = eINSTANCE.getString(); - - } - -} // Di2Package diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Diagram.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Diagram.java deleted file mode 100644 index e407669b999..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Diagram.java +++ /dev/null @@ -1,187 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -/** - * A representation of the model object 'Diagram'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getOwner Owner}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getName Name}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getZoom Zoom}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getViewport Viewport}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getDiagramLink Diagram Link}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Diagram#getType Type}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram() - * @model - * @generated - */ -public interface Diagram extends GraphNode { - - /** - * Returns the value of the 'Owner' containment reference. - *

- * If the meaning of the 'Owner' containment reference isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Owner' containment reference. - * @see #setOwner(SemanticModelBridge) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_Owner() - * @model containment="true" required="true" - * @generated - */ - SemanticModelBridge getOwner(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Diagram#getOwner - * Owner}' containment reference. - * - * @param value - * the new value of the 'Owner' containment reference. - * @see #getOwner() - * @generated - */ - void setOwner(SemanticModelBridge value); - - /** - * Returns the value of the 'Name' attribute. - *

- * If the meaning of the 'Name' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_Name() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Diagram#getName - * Name}' attribute. - * - * @param value - * the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Zoom' attribute. - *

- * If the meaning of the 'Zoom' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Zoom' attribute. - * @see #setZoom(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_Zoom() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getZoom(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Diagram#getZoom - * Zoom}' attribute. - * - * @param value - * the new value of the 'Zoom' attribute. - * @see #getZoom() - * @generated - */ - void setZoom(double value); - - /** - * Returns the value of the 'Viewport' attribute. - *

- * If the meaning of the 'Viewport' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Viewport' attribute. - * @see #setViewport(Point) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_Viewport() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - Point getViewport(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Diagram#getViewport - * Viewport}' attribute. - * - * @param value - * the new value of the 'Viewport' attribute. - * @see #getViewport() - * @generated - */ - void setViewport(Point value); - - /** - * Returns the value of the 'Diagram Link' reference list. The list contents are - * of type {@link org.eclipse.papyrus.conversion.di2.DiagramLink}. - *

- * If the meaning of the 'Diagram Link' reference list isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Diagram Link' reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_DiagramLink() - * @model - * @generated - */ - EList getDiagramLink(); - - /** - * Returns the value of the 'Type' attribute. - *

- * If the meaning of the 'Type' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Type' attribute. - * @see #setType(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagram_Type() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getType(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Diagram#getType - * Type}' attribute. - * - * @param value - * the new value of the 'Type' attribute. - * @see #getType() - * @generated - */ - void setType(String value); - -} // Diagram diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramElement.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramElement.java deleted file mode 100644 index 96ac0a3a71b..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramElement.java +++ /dev/null @@ -1,489 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.swt.graphics.RGB; - -/** - * A representation of the model object 'Diagram Element'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getProperty Property}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isIsVisible Is Visible - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getReference Reference - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer Container - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontFamily Font Family - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontSize Font Size} - *
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineStyle Line Style - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineThickness Line - * Thickness}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontColor Font Color - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getForegroundColor - * Foreground Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBackgroundColor - * Background Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBorderColor Border Color - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isTranslucent Translucent - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent Semantic - * Parent}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticChild Semantic - * Child}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement() - * @model - * @generated - */ -public interface DiagramElement extends EObject { - - /** - * Returns the value of the 'Property' containment reference list. The list - * contents are of type {@link org.eclipse.papyrus.conversion.di2.Property}. - *

- * If the meaning of the 'Property' containment reference list isn't clear, there - * really should be more of a description here... - *

- * - * - * @return the value of the 'Property' containment reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_Property() - * @model containment="true" - * @generated - */ - EList getProperty(); - - /** - * Returns the value of the 'Is Visible' attribute. - *

- * If the meaning of the 'Is Visible' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Is Visible' attribute. - * @see #setIsVisible(boolean) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_IsVisible() - * @model dataType="org.eclipse.uml2.uml.Boolean" - * @generated - */ - boolean isIsVisible(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isIsVisible - * Is Visible}' attribute. - * - * @param value - * the new value of the 'Is Visible' attribute. - * @see #isIsVisible() - * @generated - */ - void setIsVisible(boolean value); - - /** - * Returns the value of the 'Reference' reference list. The list contents are of - * type {@link org.eclipse.papyrus.conversion.di2.Reference}. - *

- * If the meaning of the 'Reference' reference list isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Reference' reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_Reference() - * @model - * @generated - */ - EList getReference(); - - /** - * Returns the value of the 'Container' container reference. It is bidirectional - * and its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getContained Contained} - * '. - *

- * If the meaning of the 'Container' container reference isn't clear, there really - * should be more of a description here... - *

- * - * - * @return the value of the 'Container' container reference. - * @see #setContainer(GraphElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_Container() - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getContained - * @model opposite="contained" transient="false" - * @generated - */ - GraphElement getContainer(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer - * Container}' container reference. - * - * @param value - * the new value of the 'Container' container reference. - * @see #getContainer() - * @generated - */ - void setContainer(GraphElement value); - - /** - * Returns the value of the 'Font Family' attribute. The default value is - * "". - *

- * If the meaning of the 'Font Family' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Font Family' attribute. - * @see #setFontFamily(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_FontFamily() - * @model default="" dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getFontFamily(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontFamily - * Font Family}' attribute. - * - * @param value - * the new value of the 'Font Family' attribute. - * @see #getFontFamily() - * @generated - */ - void setFontFamily(String value); - - /** - * Returns the value of the 'Font Size' attribute. The default value is - * "10". - *

- * If the meaning of the 'Font Size' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Font Size' attribute. - * @see #setFontSize(int) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_FontSize() - * @model default="10" dataType="org.eclipse.uml2.uml.Integer" - * @generated - */ - int getFontSize(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontSize Font Size} - * ' attribute. - * - * @param value - * the new value of the 'Font Size' attribute. - * @see #getFontSize() - * @generated - */ - void setFontSize(int value); - - /** - * Returns the value of the 'Line Style' attribute. The default value is - * "". - *

- * If the meaning of the 'Line Style' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Line Style' attribute. - * @see #setLineStyle(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_LineStyle() - * @model default="" dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getLineStyle(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineStyle - * Line Style}' attribute. - * - * @param value - * the new value of the 'Line Style' attribute. - * @see #getLineStyle() - * @generated - */ - void setLineStyle(String value); - - /** - * Returns the value of the 'Line Thickness' attribute. The default value is - * "1". - *

- * If the meaning of the 'Line Thickness' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Line Thickness' attribute. - * @see #setLineThickness(int) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_LineThickness() - * @model default="1" dataType="org.eclipse.uml2.uml.Integer" - * @generated - */ - int getLineThickness(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getLineThickness - * Line Thickness}' attribute. - * - * @param value - * the new value of the 'Line Thickness' attribute. - * @see #getLineThickness() - * @generated - */ - void setLineThickness(int value); - - /** - * Returns the value of the 'Font Color' attribute. - *

- * If the meaning of the 'Font Color' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Font Color' attribute. - * @see #setFontColor(RGB) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_FontColor() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.RGB" - * @generated - */ - RGB getFontColor(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getFontColor - * Font Color}' attribute. - * - * @param value - * the new value of the 'Font Color' attribute. - * @see #getFontColor() - * @generated - */ - void setFontColor(RGB value); - - /** - * Returns the value of the 'Foreground Color' attribute. - *

- * If the meaning of the 'Foreground Color' attribute isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Foreground Color' attribute. - * @see #setForegroundColor(RGB) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_ForegroundColor() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.RGB" - * @generated - */ - RGB getForegroundColor(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getForegroundColor - * Foreground Color}' attribute. - * - * @param value - * the new value of the 'Foreground Color' attribute. - * @see #getForegroundColor() - * @generated - */ - void setForegroundColor(RGB value); - - /** - * Returns the value of the 'Background Color' attribute. - *

- * If the meaning of the 'Background Color' attribute isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Background Color' attribute. - * @see #setBackgroundColor(RGB) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_BackgroundColor() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.RGB" - * @generated - */ - RGB getBackgroundColor(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBackgroundColor - * Background Color}' attribute. - * - * @param value - * the new value of the 'Background Color' attribute. - * @see #getBackgroundColor() - * @generated - */ - void setBackgroundColor(RGB value); - - /** - * Returns the value of the 'Border Color' attribute. - *

- * If the meaning of the 'Border Color' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Border Color' attribute. - * @see #setBorderColor(RGB) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_BorderColor() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.RGB" - * @generated - */ - RGB getBorderColor(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getBorderColor - * Border Color}' attribute. - * - * @param value - * the new value of the 'Border Color' attribute. - * @see #getBorderColor() - * @generated - */ - void setBorderColor(RGB value); - - /** - * Returns the value of the 'Translucent' attribute. - *

- * If the meaning of the 'Translucent' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Translucent' attribute. - * @see #setTranslucent(boolean) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_Translucent() - * @model dataType="org.eclipse.uml2.uml.Boolean" - * @generated - */ - boolean isTranslucent(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#isTranslucent - * Translucent}' attribute. - * - * @param value - * the new value of the 'Translucent' attribute. - * @see #isTranslucent() - * @generated - */ - void setTranslucent(boolean value); - - /** - * Returns the value of the 'Semantic Parent' reference. It is bidirectional and - * its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticChild - * Semantic Child}'. - *

- * If the meaning of the 'Semantic Parent' reference isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Semantic Parent' reference. - * @see #setSemanticParent(DiagramElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_SemanticParent() - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticChild - * @model opposite="semanticChild" - * @generated - */ - DiagramElement getSemanticParent(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent - * Semantic Parent}' reference. - * - * @param value - * the new value of the 'Semantic Parent' reference. - * @see #getSemanticParent() - * @generated - */ - void setSemanticParent(DiagramElement value); - - /** - * Returns the value of the 'Semantic Child' reference list. The list contents - * are of type {@link org.eclipse.papyrus.conversion.di2.DiagramElement}. It is - * bidirectional and its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent - * Semantic Parent}'. - *

- * If the meaning of the 'Semantic Child' reference list isn't clear, there really - * should be more of a description here... - *

- * - * - * @return the value of the 'Semantic Child' reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramElement_SemanticChild() - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getSemanticParent - * @model opposite="semanticParent" - * @generated - */ - EList getSemanticChild(); - - /** - * - * - * @model keyDataType="org.eclipse.uml2.uml.String" annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Iterator it = getProperty().iterator();\r\nwhile (it.hasNext()) {\r\n\tProperty element = (Property) it.next();\r\n\tif(key.equals(element.getKey())) {\r\n\t\treturn element;\r\n\t}\r\n}\r\nreturn null;'" - * @generated - */ - Property getProperty(String key); - - /** - * - * - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.String" - * keyDataType="org.eclipse.uml2.uml.String" annotation="http://www.eclipse.org/emf/2002/GenModel body=' if(this.getProperty(key)!=null){\r\n\treturn this.getProperty(key).getValue();}\r\nreturn null;\r\n\t'" - * @generated - */ - String getPropertyValue(String key); - - /** - * it is used to obtain - * the name of the good editpart - * - * @model kind="operation" dataType="org.eclipse.uml2.uml.String" annotation="http://www.eclipse.org/emf/2002/GenModel body='return this.getPropertyValue(com.cea.papyrus.diagraminterchange2.di2.PapyrusKeyEnumeration.PAPYRUSEDITPART.getLiteral());'" - * @generated - */ - String getEditpartName(); - -} // DiagramElement diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramLink.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramLink.java deleted file mode 100644 index ad9325318a6..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/DiagramLink.java +++ /dev/null @@ -1,144 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.ecore.EObject; - -/** - * A representation of the model object 'Diagram Link'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getDiagram Diagram}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getZoom Zoom}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getViewport Viewport}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getGraphElement Graph Element - * }
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramLink() - * @model - * @generated - */ -public interface DiagramLink extends EObject { - - /** - * Returns the value of the 'Diagram' reference. - *

- * If the meaning of the 'Diagram' reference isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Diagram' reference. - * @see #setDiagram(Diagram) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramLink_Diagram() - * @model required="true" - * @generated - */ - Diagram getDiagram(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.DiagramLink#getDiagram - * Diagram}' reference. - * - * @param value - * the new value of the 'Diagram' reference. - * @see #getDiagram() - * @generated - */ - void setDiagram(Diagram value); - - /** - * Returns the value of the 'Zoom' attribute. - *

- * If the meaning of the 'Zoom' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Zoom' attribute. - * @see #setZoom(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramLink_Zoom() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getZoom(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.DiagramLink#getZoom - * Zoom}' attribute. - * - * @param value - * the new value of the 'Zoom' attribute. - * @see #getZoom() - * @generated - */ - void setZoom(double value); - - /** - * Returns the value of the 'Viewport' attribute. - *

- * If the meaning of the 'Viewport' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Viewport' attribute. - * @see #setViewport(Point) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramLink_Viewport() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - Point getViewport(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getViewport Viewport}' - * attribute. - * - * @param value - * the new value of the 'Viewport' attribute. - * @see #getViewport() - * @generated - */ - void setViewport(Point value); - - /** - * Returns the value of the 'Graph Element' reference. - *

- * If the meaning of the 'Graph Element' reference isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Graph Element' reference. - * @see #setGraphElement(GraphElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getDiagramLink_GraphElement() - * @model required="true" - * @generated - */ - GraphElement getGraphElement(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink#getGraphElement - * Graph Element}' reference. - * - * @param value - * the new value of the 'Graph Element' reference. - * @see #getGraphElement() - * @generated - */ - void setGraphElement(GraphElement value); - -} // DiagramLink diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Ellipse.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Ellipse.java deleted file mode 100644 index 201533a1643..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Ellipse.java +++ /dev/null @@ -1,195 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -/** - * A representation of the model object 'Ellipse'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getCenter Center}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusX Radius X}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusY Radius Y}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getRotation Rotation}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getStartAngle Start Angle}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Ellipse#getEndAngle End Angle}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse() - * @model - * @generated - */ -public interface Ellipse extends GraphicPrimitive { - - /** - * Returns the value of the 'Center' attribute. - *

- * If the meaning of the 'Center' attribute isn't clear, there really should be more of - * a description here... - *

- * - * - * @return the value of the 'Center' attribute. - * @see #setCenter(Point) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_Center() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - Point getCenter(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getCenter - * Center}' attribute. - * - * @param value - * the new value of the 'Center' attribute. - * @see #getCenter() - * @generated - */ - void setCenter(Point value); - - /** - * Returns the value of the 'Radius X' attribute. - *

- * If the meaning of the 'Radius X' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Radius X' attribute. - * @see #setRadiusX(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_RadiusX() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getRadiusX(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusX - * Radius X}' attribute. - * - * @param value - * the new value of the 'Radius X' attribute. - * @see #getRadiusX() - * @generated - */ - void setRadiusX(double value); - - /** - * Returns the value of the 'Radius Y' attribute. - *

- * If the meaning of the 'Radius Y' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Radius Y' attribute. - * @see #setRadiusY(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_RadiusY() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getRadiusY(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getRadiusY - * Radius Y}' attribute. - * - * @param value - * the new value of the 'Radius Y' attribute. - * @see #getRadiusY() - * @generated - */ - void setRadiusY(double value); - - /** - * Returns the value of the 'Rotation' attribute. - *

- * If the meaning of the 'Rotation' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Rotation' attribute. - * @see #setRotation(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_Rotation() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getRotation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getRotation - * Rotation}' attribute. - * - * @param value - * the new value of the 'Rotation' attribute. - * @see #getRotation() - * @generated - */ - void setRotation(double value); - - /** - * Returns the value of the 'Start Angle' attribute. - *

- * If the meaning of the 'Start Angle' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Start Angle' attribute. - * @see #setStartAngle(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_StartAngle() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getStartAngle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getStartAngle - * Start Angle}' attribute. - * - * @param value - * the new value of the 'Start Angle' attribute. - * @see #getStartAngle() - * @generated - */ - void setStartAngle(double value); - - /** - * Returns the value of the 'End Angle' attribute. - *

- * If the meaning of the 'End Angle' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'End Angle' attribute. - * @see #setEndAngle(double) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getEllipse_EndAngle() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Double" - * @generated - */ - double getEndAngle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Ellipse#getEndAngle - * End Angle}' attribute. - * - * @param value - * the new value of the 'End Angle' attribute. - * @see #getEndAngle() - * @generated - */ - void setEndAngle(double value); - -} // Ellipse diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphConnector.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphConnector.java deleted file mode 100644 index f2c69450c48..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphConnector.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * A representation of the model object 'Graph Connector'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getPosition Position}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphEdge Graph Edge - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement Graph - * Element}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphConnector() - * @model - * @generated - */ -public interface GraphConnector extends EObject { - - /** - * Returns the value of the 'Position' attribute. - *

- * If the meaning of the 'Position' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Position' attribute. - * @see #setPosition(Point) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphConnector_Position() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - Point getPosition(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getPosition Position}' - * attribute. - * - * @param value - * the new value of the 'Position' attribute. - * @see #getPosition() - * @generated - */ - void setPosition(Point value); - - /** - * Returns the value of the 'Graph Edge' reference list. The list contents are - * of type {@link org.eclipse.papyrus.conversion.di2.GraphEdge}. It is bidirectional and - * its opposite is '{@link org.eclipse.papyrus.conversion.di2.GraphEdge#getAnchor - * Anchor}'. - *

- * If the meaning of the 'Graph Edge' reference list isn't clear, there really should - * be more of a description here... - *

- * - * - * @return the value of the 'Graph Edge' reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphConnector_GraphEdge() - * @see org.eclipse.papyrus.conversion.di2.GraphEdge#getAnchor - * @model opposite="anchor" - * @generated - */ - EList getGraphEdge(); - - /** - * Returns the value of the 'Graph Element' container reference. It is - * bidirectional and its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getAnchorage Anchorage} - * '. - *

- * If the meaning of the 'Graph Element' container reference isn't clear, there really - * should be more of a description here... - *

- * - * - * @return the value of the 'Graph Element' container reference. - * @see #setGraphElement(GraphElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphConnector_GraphElement() - * @see org.eclipse.papyrus.conversion.di2.GraphElement#getAnchorage - * @model opposite="anchorage" required="true" transient="false" - * @generated - */ - GraphElement getGraphElement(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement - * Graph Element}' container reference. - * - * @param value - * the new value of the 'Graph Element' container reference. - * @see #getGraphElement() - * @generated - */ - void setGraphElement(GraphElement value); - -} // GraphConnector diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphEdge.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphEdge.java deleted file mode 100644 index c67362796e9..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphEdge.java +++ /dev/null @@ -1,106 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -/** - * A representation of the model object 'Graph Edge'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphEdge#getAnchor Anchor}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphEdge#getWaypoints Waypoints}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphEdge() - * @model - * @generated - */ -public interface GraphEdge extends GraphElement { - - /** - * Returns the value of the 'Anchor' reference list. The list contents are of - * type {@link org.eclipse.papyrus.conversion.di2.GraphConnector}. It is bidirectional and - * its opposite is '{@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphEdge - * Graph Edge}'. - *

- * If the meaning of the 'Anchor' reference list isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Anchor' reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphEdge_Anchor() - * @see org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphEdge - * @model opposite="graphEdge" upper="2" - * @generated - */ - EList getAnchor(); - - /** - * Returns the value of the 'Waypoints' attribute list. The list contents are of - * type {@link org.eclipse.draw2d.geometry.Point}. - *

- * If the meaning of the 'Waypoints' attribute list isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Waypoints' attribute list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphEdge_Waypoints() - * @model default="" dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - EList getWaypoints(); - - /** - * - * - * @model kind="operation" annotation="http://www.eclipse.org/emf/2002/GenModel body='return ((GraphConnector)getAnchor().get(0)).getGraphElement();'" - * @generated - */ - GraphElement getAnchorSource(); - - /** - * - * - * @model kind="operation" annotation="http://www.eclipse.org/emf/2002/GenModel body='return ((GraphConnector)getAnchor().get(1)).getGraphElement();'" - * @generated - */ - GraphElement getAnchorTarget(); - - /** - * - * - * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='initConnectors();\r\n((GraphConnector)getAnchor().get(0)).setGraphElement(value);'" - * @generated - */ - void setAnchorSource(GraphElement value); - - /** - * - * - * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='initConnectors();\r\n((GraphConnector)getAnchor().get(1)).setGraphElement(value);'" - * @generated - */ - void setAnchorTarget(GraphElement value); - - /** - * - * - * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='if(!getAnchor().isEmpty())\r\n return;\r\n \t\r\ngetAnchor().add( Di2Package.eINSTANCE.getDi2Factory().createGraphConnector() ) ;\r\ngetAnchor().add( Di2Package.eINSTANCE.getDi2Factory().createGraphConnector() ) ;\r\n'" - * @generated - */ - void initConnectors(); - -} // GraphEdge diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphElement.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphElement.java deleted file mode 100644 index 7a53f116396..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphElement.java +++ /dev/null @@ -1,150 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -/** - * A representation of the model object 'Graph Element'. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphElement#getContained Contained}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphElement#getLink Link}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphElement#getSemanticModel Semantic - * Model}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphElement#getPosition Position}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphElement#getAnchorage Anchorage}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement() - * @model - * @generated - */ -public interface GraphElement extends DiagramElement { - - /** - * Returns the value of the 'Contained' containment reference list. The list - * contents are of type {@link org.eclipse.papyrus.conversion.di2.DiagramElement}. It is - * bidirectional and its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer - * Container}'. - *

- * If the meaning of the 'Contained' containment reference list isn't clear, there - * really should be more of a description here... - *

- * - * - * @return the value of the 'Contained' containment reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement_Contained() - * @see org.eclipse.papyrus.conversion.di2.DiagramElement#getContainer - * @model opposite="container" containment="true" - * @generated - */ - EList getContained(); - - /** - * Returns the value of the 'Link' containment reference list. The list contents - * are of type {@link org.eclipse.papyrus.conversion.di2.DiagramLink}. - *

- * If the meaning of the 'Link' containment reference list isn't clear, there really - * should be more of a description here... - *

- * - * - * @return the value of the 'Link' containment reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement_Link() - * @model containment="true" - * @generated - */ - EList getLink(); - - /** - * Returns the value of the 'Semantic Model' containment reference. - *

- * If the meaning of the 'Semantic Model' containment reference isn't clear, there - * really should be more of a description here... - *

- * - * - * @return the value of the 'Semantic Model' containment reference. - * @see #setSemanticModel(SemanticModelBridge) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement_SemanticModel() - * @model containment="true" - * @generated - */ - SemanticModelBridge getSemanticModel(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getSemanticModel - * Semantic Model}' containment reference. - * - * @param value - * the new value of the 'Semantic Model' containment reference. - * @see #getSemanticModel() - * @generated - */ - void setSemanticModel(SemanticModelBridge value); - - /** - * Returns the value of the 'Position' attribute. - *

- * If the meaning of the 'Position' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Position' attribute. - * @see #setPosition(Point) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement_Position() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" - * @generated - */ - Point getPosition(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement#getPosition Position}' - * attribute. - * - * @param value - * the new value of the 'Position' attribute. - * @see #getPosition() - * @generated - */ - void setPosition(Point value); - - /** - * Returns the value of the 'Anchorage' containment reference list. The list - * contents are of type {@link org.eclipse.papyrus.conversion.di2.GraphConnector}. It is - * bidirectional and its opposite is ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement - * Graph Element}'. - *

- * If the meaning of the 'Anchorage' containment reference list isn't clear, there - * really should be more of a description here... - *

- * - * - * @return the value of the 'Anchorage' containment reference list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphElement_Anchorage() - * @see org.eclipse.papyrus.conversion.di2.GraphConnector#getGraphElement - * @model opposite="graphElement" containment="true" - * @generated - */ - EList getAnchorage(); - -} // GraphElement diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphNode.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphNode.java deleted file mode 100644 index 15c4722f878..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphNode.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Dimension; - -/** - * A representation of the model object 'Graph Node'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.GraphNode#getSize Size}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphNode() - * @model - * @generated - */ -public interface GraphNode extends GraphElement { - - /** - * Returns the value of the 'Size' attribute. - *

- * If the meaning of the 'Size' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Size' attribute. - * @see #setSize(Dimension) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphNode_Size() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Dimension" - * @generated - */ - Dimension getSize(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.GraphNode#getSize - * Size}' attribute. - * - * @param value - * the new value of the 'Size' attribute. - * @see #getSize() - * @generated - */ - void setSize(Dimension value); - -} // GraphNode diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphicPrimitive.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphicPrimitive.java deleted file mode 100644 index 2b3a65939f8..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/GraphicPrimitive.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object 'Graphic Primitive'. - * - * - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getGraphicPrimitive() - * @model - * @generated - */ -public interface GraphicPrimitive extends LeafElement { -} // GraphicPrimitive diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Image.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Image.java deleted file mode 100644 index 41157e8b0ef..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Image.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object 'Image'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Image#getUri Uri}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Image#getMimeType Mime Type}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getImage() - * @model - * @generated - */ -public interface Image extends LeafElement { - - /** - * Returns the value of the 'Uri' attribute. - *

- * If the meaning of the 'Uri' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Uri' attribute. - * @see #setUri(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getImage_Uri() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getUri(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Image#getUri - * Uri}' attribute. - * - * @param value - * the new value of the 'Uri' attribute. - * @see #getUri() - * @generated - */ - void setUri(String value); - - /** - * Returns the value of the 'Mime Type' attribute. - *

- * If the meaning of the 'Mime Type' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Mime Type' attribute. - * @see #setMimeType(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getImage_MimeType() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getMimeType(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Image#getMimeType - * Mime Type}' attribute. - * - * @param value - * the new value of the 'Mime Type' attribute. - * @see #getMimeType() - * @generated - */ - void setMimeType(String value); - -} // Image diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/LeafElement.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/LeafElement.java deleted file mode 100644 index 4b98cb5a984..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/LeafElement.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object 'Leaf Element'. - * - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getLeafElement() - * @model - * @generated - */ -public interface LeafElement extends DiagramElement { -} // LeafElement diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java deleted file mode 100644 index f7454d77909..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/PapyrusKeyEnumeration.java +++ /dev/null @@ -1,182 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * A representation of the literals of the enumeration ' - * Papyrus Key Enumeration', and utility methods for working with them. - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getPapyrusKeyEnumeration() - * @model - * @generated - */ -public enum PapyrusKeyEnumeration implements Enumerator { - /** - * The 'Papyruseditpart' literal object. - * - * @see #PAPYRUSEDITPART_VALUE - * @generated - * @ordered - */ - PAPYRUSEDITPART(0, "papyruseditpart", "papyruseditpart"); - - /** - * The 'Papyruseditpart' literal value. - *

- * If the meaning of 'Papyruseditpart' literal object isn't clear, there really - * should be more of a description here... - *

- * - * - * @see #PAPYRUSEDITPART - * @model name="papyruseditpart" - * @generated - * @ordered - */ - public static final int PAPYRUSEDITPART_VALUE = 0; - - /** - * An array of all the 'Papyrus Key Enumeration' enumerators. - * - * @generated - */ - private static final PapyrusKeyEnumeration[] VALUES_ARRAY = new PapyrusKeyEnumeration[] { PAPYRUSEDITPART, }; - - /** - * A public read-only list of all the 'Papyrus Key Enumeration' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Papyrus Key Enumeration' literal with the specified literal - * value. - * - * @generated - */ - public static PapyrusKeyEnumeration get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PapyrusKeyEnumeration result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Papyrus Key Enumeration' literal with the specified name. - * - * @generated - */ - public static PapyrusKeyEnumeration getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PapyrusKeyEnumeration result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Papyrus Key Enumeration' literal with the specified integer - * value. - * - * @generated - */ - public static PapyrusKeyEnumeration get(int value) { - switch (value) { - case PAPYRUSEDITPART_VALUE: - return PAPYRUSEDITPART; - } - return null; - } - - /** - * - * - * @generated - */ - private final int value; - - /** - * - * - * @generated - */ - private final String name; - - /** - * - * - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * - * @generated - */ - private PapyrusKeyEnumeration(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} // PapyrusKeyEnumeration diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Polilyne.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Polilyne.java deleted file mode 100644 index ea5529820ed..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Polilyne.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -/** - * A representation of the model object 'Polilyne'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Polilyne#getWaypoints Waypoints}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Polilyne#getClosed Closed}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getPolilyne() - * @model - * @generated - */ -public interface Polilyne extends GraphicPrimitive { - - /** - * Returns the value of the 'Waypoints' attribute list. The list contents are of - * type {@link org.eclipse.draw2d.geometry.Point}. - *

- * If the meaning of the 'Waypoints' attribute list isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Waypoints' attribute list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getPolilyne_Waypoints() - * @model dataType="com.cea.papyrus.diagraminterchange2.di2.Point" lower="2" - * @generated - */ - EList getWaypoints(); - - /** - * Returns the value of the 'Closed' attribute list. The list contents are of - * type {@link java.lang.Boolean}. - *

- * If the meaning of the 'Closed' attribute list isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Closed' attribute list. - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getPolilyne_Closed() - * @model dataType="org.eclipse.uml2.uml.Boolean" lower="2" - * @generated - */ - EList getClosed(); - -} // Polilyne diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Property.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Property.java deleted file mode 100644 index 722cf36092a..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Property.java +++ /dev/null @@ -1,83 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.emf.ecore.EObject; - -/** - * A representation of the model object 'Property'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Property#getKey Key}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Property#getValue Value}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getProperty() - * @model - * @generated - */ -public interface Property extends EObject { - - /** - * Returns the value of the 'Key' attribute. - *

- * If the meaning of the 'Key' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Key' attribute. - * @see #setKey(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getProperty_Key() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getKey(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Property#getKey - * Key}' attribute. - * - * @param value - * the new value of the 'Key' attribute. - * @see #getKey() - * @generated - */ - void setKey(String value); - - /** - * Returns the value of the 'Value' attribute. - *

- * If the meaning of the 'Value' attribute isn't clear, there really should be more of - * a description here... - *

- * - * - * @return the value of the 'Value' attribute. - * @see #setValue(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getProperty_Value() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.Property#getValue - * Value}' attribute. - * - * @param value - * the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // Property diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Reference.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Reference.java deleted file mode 100644 index 7a67ed0e5fa..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Reference.java +++ /dev/null @@ -1,86 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object 'Reference'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Reference#isIsIndividualRepresentation Is - * Individual Representation}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.Reference#getReferenced Referenced}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getReference() - * @model - * @generated - */ -public interface Reference extends DiagramElement { - - /** - * Returns the value of the 'Is Individual Representation' attribute. - *

- * If the meaning of the 'Is Individual Representation' attribute isn't clear, there - * really should be more of a description here... - *

- * - * - * @return the value of the 'Is Individual Representation' attribute. - * @see #setIsIndividualRepresentation(boolean) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getReference_IsIndividualRepresentation() - * @model dataType="org.eclipse.uml2.uml.Boolean" - * @generated - */ - boolean isIsIndividualRepresentation(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.Reference#isIsIndividualRepresentation - * Is Individual Representation}' attribute. - * - * @param value - * the new value of the 'Is Individual Representation' attribute. - * @see #isIsIndividualRepresentation() - * @generated - */ - void setIsIndividualRepresentation(boolean value); - - /** - * Returns the value of the 'Referenced' reference. - *

- * If the meaning of the 'Referenced' reference isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Referenced' reference. - * @see #setReferenced(DiagramElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getReference_Referenced() - * @model required="true" - * @generated - */ - DiagramElement getReferenced(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.Reference#getReferenced Referenced}' - * reference. - * - * @param value - * the new value of the 'Referenced' reference. - * @see #getReferenced() - * @generated - */ - void setReferenced(DiagramElement value); - -} // Reference diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SemanticModelBridge.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SemanticModelBridge.java deleted file mode 100644 index 01086766fef..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SemanticModelBridge.java +++ /dev/null @@ -1,87 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.emf.ecore.EObject; - -/** - * A representation of the model object ' - * Semantic Model Bridge'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getPresentation - * Presentation}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getGraphElement Graph - * Element}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getSemanticModelBridge() - * @model - * @generated - */ -public interface SemanticModelBridge extends EObject { - - /** - * Returns the value of the 'Presentation' attribute. - *

- * If the meaning of the 'Presentation' attribute isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Presentation' attribute. - * @see #setPresentation(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getSemanticModelBridge_Presentation() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getPresentation(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getPresentation - * Presentation}' attribute. - * - * @param value - * the new value of the 'Presentation' attribute. - * @see #getPresentation() - * @generated - */ - void setPresentation(String value); - - /** - * Returns the value of the 'Graph Element' reference. - *

- * If the meaning of the 'Graph Element' reference isn't clear, there really should be - * more of a description here... - *

- * - * - * @return the value of the 'Graph Element' reference. - * @see #setGraphElement(GraphElement) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getSemanticModelBridge_GraphElement() - * @model - * @generated - */ - GraphElement getGraphElement(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge#getGraphElement - * Graph Element}' reference. - * - * @param value - * the new value of the 'Graph Element' reference. - * @see #getGraphElement() - * @generated - */ - void setGraphElement(GraphElement value); - -} // SemanticModelBridge diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SimpleSemanticModelElement.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SimpleSemanticModelElement.java deleted file mode 100644 index 0177655afb4..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/SimpleSemanticModelElement.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object ' - * Simple Semantic Model Element'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement#getTypeinfo - * Typeinfo}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getSimpleSemanticModelElement() - * @model - * @generated - */ -public interface SimpleSemanticModelElement extends SemanticModelBridge { - - /** - * Returns the value of the 'Typeinfo' attribute. - *

- * If the meaning of the 'Typeinfo' attribute isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Typeinfo' attribute. - * @see #setTypeinfo(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getSimpleSemanticModelElement_Typeinfo() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getTypeinfo(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement#getTypeinfo - * Typeinfo}' attribute. - * - * @param value - * the new value of the 'Typeinfo' attribute. - * @see #getTypeinfo() - * @generated - */ - void setTypeinfo(String value); - -} // SimpleSemanticModelElement diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/TextElement.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/TextElement.java deleted file mode 100644 index 5c95c1f6012..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/TextElement.java +++ /dev/null @@ -1,53 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -/** - * A representation of the model object 'Text Element'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.TextElement#getText Text}
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getTextElement() - * @model - * @generated - */ -public interface TextElement extends LeafElement { - - /** - * Returns the value of the 'Text' attribute. - *

- * If the meaning of the 'Text' attribute isn't clear, there really should be more of a - * description here... - *

- * - * - * @return the value of the 'Text' attribute. - * @see #setText(String) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getTextElement_Text() - * @model dataType="org.eclipse.uml2.uml.String" - * @generated - */ - String getText(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.conversion.di2.TextElement#getText - * Text}' attribute. - * - * @param value - * the new value of the 'Text' attribute. - * @see #getText() - * @generated - */ - void setText(String value); - -} // TextElement diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Uml1SemanticModelBridge.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Uml1SemanticModelBridge.java deleted file mode 100644 index 1b167ab6e98..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/Uml1SemanticModelBridge.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2; - -import org.eclipse.uml2.uml.Element; - -/** - * A representation of the model object ' - * Uml1 Semantic Model Bridge'. - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge#getElement Element - * }
  • - *
- *

- * - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getUml1SemanticModelBridge() - * @model - * @generated - */ -public interface Uml1SemanticModelBridge extends SemanticModelBridge { - - /** - * Returns the value of the 'Element' reference. - *

- * If the meaning of the 'Element' reference isn't clear, there really should be more - * of a description here... - *

- * - * - * @return the value of the 'Element' reference. - * @see #setElement(Element) - * @see org.eclipse.papyrus.conversion.di2.Di2Package#getUml1SemanticModelBridge_Element() - * @model - * @generated - */ - Element getElement(); - - /** - * Sets the value of the ' - * {@link org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge#getElement - * Element}' reference. - * - * @param value - * the new value of the 'Element' reference. - * @see #getElement() - * @generated - */ - void setElement(Element value); - -} // Uml1SemanticModelBridge diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/CoreSemanticModelBridgeImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/CoreSemanticModelBridgeImpl.java deleted file mode 100644 index 7225744a610..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/CoreSemanticModelBridgeImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.papyrus.conversion.di2.CoreSemanticModelBridge; -import org.eclipse.papyrus.conversion.di2.Di2Package; - -/** - * An implementation of the model object ' - * Core Semantic Model Bridge'. - *

- *

- * - * @generated - */ -public class CoreSemanticModelBridgeImpl extends SemanticModelBridgeImpl implements CoreSemanticModelBridge { - - /** - * - * - * @generated - */ - protected CoreSemanticModelBridgeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.CORE_SEMANTIC_MODEL_BRIDGE; - } - -} // CoreSemanticModelBridgeImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2FactoryImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2FactoryImpl.java deleted file mode 100644 index 597ea47733e..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2FactoryImpl.java +++ /dev/null @@ -1,508 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.draw2d.geometry.Dimension; -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.conversion.di2.*; -import org.eclipse.swt.graphics.RGB; - -/** - * An implementation of the model Factory. - * - * @generated - */ -public class Di2FactoryImpl extends EFactoryImpl implements Di2Factory { - - /** - * Creates the default factory implementation. - * - * @generated - */ - public static Di2Factory init() { - try { - Di2Factory theDi2Factory = (Di2Factory) EPackage.Registry.INSTANCE.getEFactory("http://www.papyrusuml.org"); - if (theDi2Factory != null) { - return theDi2Factory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new Di2FactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * @generated - */ - public Di2FactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case Di2Package.DIAGRAM_ELEMENT: - return createDiagramElement(); - case Di2Package.GRAPH_ELEMENT: - return createGraphElement(); - case Di2Package.REFERENCE: - return createReference(); - case Di2Package.PROPERTY: - return createProperty(); - case Di2Package.GRAPH_EDGE: - return createGraphEdge(); - case Di2Package.GRAPH_CONNECTOR: - return createGraphConnector(); - case Di2Package.GRAPH_NODE: - return createGraphNode(); - case Di2Package.DIAGRAM_LINK: - return createDiagramLink(); - case Di2Package.DIAGRAM: - return createDiagram(); - case Di2Package.SEMANTIC_MODEL_BRIDGE: - return createSemanticModelBridge(); - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT: - return createSimpleSemanticModelElement(); - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE: - return createUml1SemanticModelBridge(); - case Di2Package.CORE_SEMANTIC_MODEL_BRIDGE: - return createCoreSemanticModelBridge(); - case Di2Package.LEAF_ELEMENT: - return createLeafElement(); - case Di2Package.TEXT_ELEMENT: - return createTextElement(); - case Di2Package.IMAGE: - return createImage(); - case Di2Package.GRAPHIC_PRIMITIVE: - return createGraphicPrimitive(); - case Di2Package.POLILYNE: - return createPolilyne(); - case Di2Package.ELLIPSE: - return createEllipse(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case Di2Package.PAPYRUS_KEY_ENUMERATION: - return createPapyrusKeyEnumerationFromString(eDataType, initialValue); - case Di2Package.POINT: - return createPointFromString(eDataType, initialValue); - case Di2Package.DIMENSION: - return createDimensionFromString(eDataType, initialValue); - case Di2Package.DOUBLE: - return createDoubleFromString(eDataType, initialValue); - case Di2Package.RGB: - return createRGBFromString(eDataType, initialValue); - case Di2Package.STRING: - return createStringFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case Di2Package.PAPYRUS_KEY_ENUMERATION: - return convertPapyrusKeyEnumerationToString(eDataType, instanceValue); - case Di2Package.POINT: - return convertPointToString(eDataType, instanceValue); - case Di2Package.DIMENSION: - return convertDimensionToString(eDataType, instanceValue); - case Di2Package.DOUBLE: - return convertDoubleToString(eDataType, instanceValue); - case Di2Package.RGB: - return convertRGBToString(eDataType, instanceValue); - case Di2Package.STRING: - return convertStringToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public DiagramElement createDiagramElement() { - DiagramElementImpl diagramElement = new DiagramElementImpl(); - return diagramElement; - } - - /** - * - * - * @generated - */ - public GraphElement createGraphElement() { - GraphElementImpl graphElement = new GraphElementImpl(); - return graphElement; - } - - /** - * - * - * @generated - */ - public Reference createReference() { - ReferenceImpl reference = new ReferenceImpl(); - return reference; - } - - /** - * - * - * @generated - */ - public Property createProperty() { - PropertyImpl property = new PropertyImpl(); - return property; - } - - /** - * - * - * @generated - */ - public GraphEdge createGraphEdge() { - GraphEdgeImpl graphEdge = new GraphEdgeImpl(); - return graphEdge; - } - - /** - * - * - * @generated - */ - public GraphConnector createGraphConnector() { - GraphConnectorImpl graphConnector = new GraphConnectorImpl(); - return graphConnector; - } - - /** - * - * - * @generated - */ - public GraphNode createGraphNode() { - GraphNodeImpl graphNode = new GraphNodeImpl(); - return graphNode; - } - - /** - * - * - * @generated - */ - public DiagramLink createDiagramLink() { - DiagramLinkImpl diagramLink = new DiagramLinkImpl(); - return diagramLink; - } - - /** - * - * - * @generated - */ - public Diagram createDiagram() { - DiagramImpl diagram = new DiagramImpl(); - return diagram; - } - - /** - * - * - * @generated - */ - public SemanticModelBridge createSemanticModelBridge() { - SemanticModelBridgeImpl semanticModelBridge = new SemanticModelBridgeImpl(); - return semanticModelBridge; - } - - /** - * - * - * @generated - */ - public SimpleSemanticModelElement createSimpleSemanticModelElement() { - SimpleSemanticModelElementImpl simpleSemanticModelElement = new SimpleSemanticModelElementImpl(); - return simpleSemanticModelElement; - } - - /** - * - * - * @generated - */ - public Uml1SemanticModelBridge createUml1SemanticModelBridge() { - Uml1SemanticModelBridgeImpl uml1SemanticModelBridge = new Uml1SemanticModelBridgeImpl(); - return uml1SemanticModelBridge; - } - - /** - * - * - * @generated - */ - public CoreSemanticModelBridge createCoreSemanticModelBridge() { - CoreSemanticModelBridgeImpl coreSemanticModelBridge = new CoreSemanticModelBridgeImpl(); - return coreSemanticModelBridge; - } - - /** - * - * - * @generated - */ - public LeafElement createLeafElement() { - LeafElementImpl leafElement = new LeafElementImpl(); - return leafElement; - } - - /** - * - * - * @generated - */ - public TextElement createTextElement() { - TextElementImpl textElement = new TextElementImpl(); - return textElement; - } - - /** - * - * - * @generated - */ - public Image createImage() { - ImageImpl image = new ImageImpl(); - return image; - } - - /** - * - * - * @generated - */ - public GraphicPrimitive createGraphicPrimitive() { - GraphicPrimitiveImpl graphicPrimitive = new GraphicPrimitiveImpl(); - return graphicPrimitive; - } - - /** - * - * - * @generated - */ - public Polilyne createPolilyne() { - PolilyneImpl polilyne = new PolilyneImpl(); - return polilyne; - } - - /** - * - * - * @generated - */ - public Ellipse createEllipse() { - EllipseImpl ellipse = new EllipseImpl(); - return ellipse; - } - - /** - * - * - * @generated - */ - public PapyrusKeyEnumeration createPapyrusKeyEnumerationFromString(EDataType eDataType, String initialValue) { - PapyrusKeyEnumeration result = PapyrusKeyEnumeration.get(initialValue); - if (result == null) - throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" - + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertPapyrusKeyEnumerationToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated NOT - */ - public Point createPointFromString(EDataType eDataType, String initialValue) { - // return (Point)super.createFromString(eDataType, initialValue); - if (initialValue == null) - return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue, ":"); - return new Point(new Double(st.nextToken()).doubleValue(), new Double(st.nextToken()).doubleValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertPointToString(EDataType eDataType, Object instanceValue) { - // return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) - return null; - - return "" + ((Point) (instanceValue)).x + ":" + ((Point) (instanceValue)).y; - - } - - /** - * - * - * @generated NOT - */ - public Dimension createDimensionFromString(EDataType eDataType, String initialValue) { - // return (Dimension)super.createFromString(eDataType, initialValue); - if (initialValue == null) - return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue, ":"); - return new Dimension(new Integer(st.nextToken()).intValue(), new Integer(st.nextToken()).intValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertDimensionToString(EDataType eDataType, Object instanceValue) { - // return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) - return null; - - return "" + ((Dimension) (instanceValue)).width + ":" + ((Dimension) (instanceValue)).height; - } - - /** - * - * - * @generated - */ - public Double createDoubleFromString(EDataType eDataType, String initialValue) { - return (Double) super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertDoubleToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated NOT - */ - public RGB createRGBFromString(EDataType eDataType, String initialValue) { - // return (RGB)super.createFromString(eDataType, initialValue); - if (initialValue == null) - return null; - java.util.StringTokenizer st = new java.util.StringTokenizer(initialValue, ":"); - return new RGB(new Integer(st.nextToken()).intValue(), new Integer(st.nextToken()).intValue(), new Integer(st - .nextToken()).intValue()); - } - - /** - * - * - * @generated NOT - */ - public String convertRGBToString(EDataType eDataType, Object instanceValue) { - // return super.convertToString(eDataType, instanceValue); - if (instanceValue == null) - return null; - - return "" + ((RGB) (instanceValue)).red + ":" + ((RGB) (instanceValue)).green + ":" - + ((RGB) (instanceValue)).blue; - } - - /** - * - * - * @generated - */ - public String createStringFromString(EDataType eDataType, String initialValue) { - return (String) super.createFromString(eDataType, initialValue); - } - - /** - * - * - * @generated - */ - public String convertStringToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * - * - * @generated - */ - public Di2Package getDi2Package() { - return (Di2Package) getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static Di2Package getPackage() { - return Di2Package.eINSTANCE; - } - -} // Di2FactoryImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java deleted file mode 100644 index 4241fa8b7d0..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java +++ /dev/null @@ -1,1436 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.draw2d.geometry.Dimension; -import org.eclipse.draw2d.geometry.Point; -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EOperation; -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.papyrus.conversion.di2.CoreSemanticModelBridge; -import org.eclipse.papyrus.conversion.di2.Di2Factory; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Diagram; -import org.eclipse.papyrus.conversion.di2.DiagramElement; -import org.eclipse.papyrus.conversion.di2.DiagramLink; -import org.eclipse.papyrus.conversion.di2.Ellipse; -import org.eclipse.papyrus.conversion.di2.GraphConnector; -import org.eclipse.papyrus.conversion.di2.GraphEdge; -import org.eclipse.papyrus.conversion.di2.GraphElement; -import org.eclipse.papyrus.conversion.di2.GraphNode; -import org.eclipse.papyrus.conversion.di2.LeafElement; -import org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration; -import org.eclipse.papyrus.conversion.di2.Polilyne; -import org.eclipse.papyrus.conversion.di2.Reference; -import org.eclipse.papyrus.conversion.di2.TextElement; -import org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * An implementation of the model Package. - * - * @generated - */ -public class Di2PackageImpl extends EPackageImpl implements Di2Package { - - /** - * - * - * @generated - */ - private EClass diagramElementEClass = null; - - /** - * - * - * @generated - */ - private EClass graphElementEClass = null; - - /** - * - * - * @generated - */ - private EClass referenceEClass = null; - - /** - * - * - * @generated - */ - private EClass propertyEClass = null; - - /** - * - * - * @generated - */ - private EClass graphEdgeEClass = null; - - /** - * - * - * @generated - */ - private EClass graphConnectorEClass = null; - - /** - * - * - * @generated - */ - private EClass graphNodeEClass = null; - - /** - * - * - * @generated - */ - private EClass diagramLinkEClass = null; - - /** - * - * - * @generated - */ - private EClass diagramEClass = null; - - /** - * - * - * @generated - */ - private EClass semanticModelBridgeEClass = null; - - /** - * - * - * @generated - */ - private EClass simpleSemanticModelElementEClass = null; - - /** - * - * - * @generated - */ - private EClass uml1SemanticModelBridgeEClass = null; - - /** - * - * - * @generated - */ - private EClass coreSemanticModelBridgeEClass = null; - - /** - * - * - * @generated - */ - private EClass leafElementEClass = null; - - /** - * - * - * @generated - */ - private EClass textElementEClass = null; - - /** - * - * - * @generated - */ - private EClass imageEClass = null; - - /** - * - * - * @generated - */ - private EClass graphicPrimitiveEClass = null; - - /** - * - * - * @generated - */ - private EClass polilyneEClass = null; - - /** - * - * - * @generated - */ - private EClass ellipseEClass = null; - - /** - * - * - * @generated - */ - private EEnum papyrusKeyEnumerationEEnum = null; - - /** - * - * - * @generated - */ - private EDataType pointEDataType = null; - - /** - * - * - * @generated - */ - private EDataType dimensionEDataType = null; - - /** - * - * - * @generated - */ - private EDataType doubleEDataType = null; - - /** - * - * - * @generated - */ - private EDataType rgbEDataType = null; - - /** - * - * - * @generated - */ - private EDataType stringEDataType = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package package URI - * value. - *

- * 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. - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.conversion.di2.Di2Package#eNS_URI - * @see #init() - * @generated - */ - private Di2PackageImpl() { - super(eNS_URI, Di2Factory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others - * upon which it depends. Simple dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives initialization for - * interdependent packages directly, in parallel with this package, itself. - *

- * Of this package and its interdependencies, all packages which have not yet been registered by - * their URI values are first created and registered. The packages are then initialized in two - * steps: meta-model objects for all of the packages are created before any are initialized, - * since one package's meta-model objects may refer to those of another. - *

- * Invocation of this method will not affect any packages that have already been initialized. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static Di2Package init() { - if (isInited) - return (Di2Package) EPackage.Registry.INSTANCE.getEPackage(Di2Package.eNS_URI); - - // Obtain or create and register package - Di2PackageImpl theDi2Package = (Di2PackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof Di2PackageImpl ? EPackage.Registry.INSTANCE - .getEPackage(eNS_URI) - : new Di2PackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - UMLPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theDi2Package.createPackageContents(); - - // Initialize created meta-data - theDi2Package.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theDi2Package.freeze(); - - return theDi2Package; - } - - /** - * - * - * @generated - */ - public EClass getDiagramElement() { - return diagramElementEClass; - } - - /** - * - * - * @generated - */ - public EReference getDiagramElement_Property() { - return (EReference) diagramElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_IsVisible() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getDiagramElement_Reference() { - return (EReference) diagramElementEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getDiagramElement_Container() { - return (EReference) diagramElementEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_FontFamily() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_FontSize() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_LineStyle() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_LineThickness() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_FontColor() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(8); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_ForegroundColor() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(9); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_BackgroundColor() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(10); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_BorderColor() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(11); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramElement_Translucent() { - return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(12); - } - - /** - * - * - * @generated - */ - public EReference getDiagramElement_SemanticParent() { - return (EReference) diagramElementEClass.getEStructuralFeatures().get(13); - } - - /** - * - * - * @generated - */ - public EReference getDiagramElement_SemanticChild() { - return (EReference) diagramElementEClass.getEStructuralFeatures().get(14); - } - - /** - * - * - * @generated - */ - public EClass getGraphElement() { - return graphElementEClass; - } - - /** - * - * - * @generated - */ - public EReference getGraphElement_Contained() { - return (EReference) graphElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getGraphElement_Link() { - return (EReference) graphElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getGraphElement_SemanticModel() { - return (EReference) graphElementEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EAttribute getGraphElement_Position() { - return (EAttribute) graphElementEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EReference getGraphElement_Anchorage() { - return (EReference) graphElementEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EClass getReference() { - return referenceEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getReference_IsIndividualRepresentation() { - return (EAttribute) referenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getReference_Referenced() { - return (EReference) referenceEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getProperty() { - return propertyEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getProperty_Key() { - return (EAttribute) propertyEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getProperty_Value() { - return (EAttribute) propertyEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getGraphEdge() { - return graphEdgeEClass; - } - - /** - * - * - * @generated - */ - public EReference getGraphEdge_Anchor() { - return (EReference) graphEdgeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getGraphEdge_Waypoints() { - return (EAttribute) graphEdgeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getGraphConnector() { - return graphConnectorEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getGraphConnector_Position() { - return (EAttribute) graphConnectorEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getGraphConnector_GraphEdge() { - return (EReference) graphConnectorEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getGraphConnector_GraphElement() { - return (EReference) graphConnectorEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getGraphNode() { - return graphNodeEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getGraphNode_Size() { - return (EAttribute) graphNodeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getDiagramLink() { - return diagramLinkEClass; - } - - /** - * - * - * @generated - */ - public EReference getDiagramLink_Diagram() { - return (EReference) diagramLinkEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramLink_Zoom() { - return (EAttribute) diagramLinkEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagramLink_Viewport() { - return (EAttribute) diagramLinkEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getDiagramLink_GraphElement() { - return (EReference) diagramLinkEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EClass getDiagram() { - return diagramEClass; - } - - /** - * - * - * @generated - */ - public EReference getDiagram_Owner() { - return (EReference) diagramEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagram_Name() { - return (EAttribute) diagramEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagram_Zoom() { - return (EAttribute) diagramEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagram_Viewport() { - return (EAttribute) diagramEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EReference getDiagram_DiagramLink() { - return (EReference) diagramEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getDiagram_Type() { - return (EAttribute) diagramEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EClass getSemanticModelBridge() { - return semanticModelBridgeEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSemanticModelBridge_Presentation() { - return (EAttribute) semanticModelBridgeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getSemanticModelBridge_GraphElement() { - return (EReference) semanticModelBridgeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getSimpleSemanticModelElement() { - return simpleSemanticModelElementEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getSimpleSemanticModelElement_Typeinfo() { - return (EAttribute) simpleSemanticModelElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getUml1SemanticModelBridge() { - return uml1SemanticModelBridgeEClass; - } - - /** - * - * - * @generated - */ - public EReference getUml1SemanticModelBridge_Element() { - return (EReference) uml1SemanticModelBridgeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getCoreSemanticModelBridge() { - return coreSemanticModelBridgeEClass; - } - - /** - * - * - * @generated - */ - public EClass getLeafElement() { - return leafElementEClass; - } - - /** - * - * - * @generated - */ - public EClass getTextElement() { - return textElementEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getTextElement_Text() { - return (EAttribute) textElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getImage() { - return imageEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getImage_Uri() { - return (EAttribute) imageEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getImage_MimeType() { - return (EAttribute) imageEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getGraphicPrimitive() { - return graphicPrimitiveEClass; - } - - /** - * - * - * @generated - */ - public EClass getPolilyne() { - return polilyneEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getPolilyne_Waypoints() { - return (EAttribute) polilyneEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getPolilyne_Closed() { - return (EAttribute) polilyneEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getEllipse() { - return ellipseEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_Center() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_RadiusX() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_RadiusY() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_Rotation() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_StartAngle() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getEllipse_EndAngle() { - return (EAttribute) ellipseEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EEnum getPapyrusKeyEnumeration() { - return papyrusKeyEnumerationEEnum; - } - - /** - * - * - * @generated - */ - public EDataType getPoint() { - return pointEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getDimension() { - return dimensionEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getDouble() { - return doubleEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getRGB() { - return rgbEDataType; - } - - /** - * - * - * @generated - */ - public EDataType getString() { - return stringEDataType; - } - - /** - * - * - * @generated - */ - public Di2Factory getDi2Factory() { - return (Di2Factory) getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is guarded to have no affect on - * any invocation but its first. - * - * @generated - */ - public void createPackageContents() { - if (isCreated) - return; - isCreated = true; - - // Create classes and their features - diagramElementEClass = createEClass(DIAGRAM_ELEMENT); - createEReference(diagramElementEClass, DIAGRAM_ELEMENT__PROPERTY); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__IS_VISIBLE); - createEReference(diagramElementEClass, DIAGRAM_ELEMENT__REFERENCE); - createEReference(diagramElementEClass, DIAGRAM_ELEMENT__CONTAINER); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__FONT_FAMILY); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__FONT_SIZE); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__LINE_STYLE); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__LINE_THICKNESS); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__FONT_COLOR); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__FOREGROUND_COLOR); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__BACKGROUND_COLOR); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__BORDER_COLOR); - createEAttribute(diagramElementEClass, DIAGRAM_ELEMENT__TRANSLUCENT); - createEReference(diagramElementEClass, DIAGRAM_ELEMENT__SEMANTIC_PARENT); - createEReference(diagramElementEClass, DIAGRAM_ELEMENT__SEMANTIC_CHILD); - - graphElementEClass = createEClass(GRAPH_ELEMENT); - createEReference(graphElementEClass, GRAPH_ELEMENT__CONTAINED); - createEReference(graphElementEClass, GRAPH_ELEMENT__LINK); - createEReference(graphElementEClass, GRAPH_ELEMENT__SEMANTIC_MODEL); - createEAttribute(graphElementEClass, GRAPH_ELEMENT__POSITION); - createEReference(graphElementEClass, GRAPH_ELEMENT__ANCHORAGE); - - referenceEClass = createEClass(REFERENCE); - createEAttribute(referenceEClass, REFERENCE__IS_INDIVIDUAL_REPRESENTATION); - createEReference(referenceEClass, REFERENCE__REFERENCED); - - propertyEClass = createEClass(PROPERTY); - createEAttribute(propertyEClass, PROPERTY__KEY); - createEAttribute(propertyEClass, PROPERTY__VALUE); - - graphEdgeEClass = createEClass(GRAPH_EDGE); - createEReference(graphEdgeEClass, GRAPH_EDGE__ANCHOR); - createEAttribute(graphEdgeEClass, GRAPH_EDGE__WAYPOINTS); - - graphConnectorEClass = createEClass(GRAPH_CONNECTOR); - createEAttribute(graphConnectorEClass, GRAPH_CONNECTOR__POSITION); - createEReference(graphConnectorEClass, GRAPH_CONNECTOR__GRAPH_EDGE); - createEReference(graphConnectorEClass, GRAPH_CONNECTOR__GRAPH_ELEMENT); - - graphNodeEClass = createEClass(GRAPH_NODE); - createEAttribute(graphNodeEClass, GRAPH_NODE__SIZE); - - diagramLinkEClass = createEClass(DIAGRAM_LINK); - createEReference(diagramLinkEClass, DIAGRAM_LINK__DIAGRAM); - createEAttribute(diagramLinkEClass, DIAGRAM_LINK__ZOOM); - createEAttribute(diagramLinkEClass, DIAGRAM_LINK__VIEWPORT); - createEReference(diagramLinkEClass, DIAGRAM_LINK__GRAPH_ELEMENT); - - diagramEClass = createEClass(DIAGRAM); - createEReference(diagramEClass, DIAGRAM__OWNER); - createEAttribute(diagramEClass, DIAGRAM__NAME); - createEAttribute(diagramEClass, DIAGRAM__ZOOM); - createEAttribute(diagramEClass, DIAGRAM__VIEWPORT); - createEReference(diagramEClass, DIAGRAM__DIAGRAM_LINK); - createEAttribute(diagramEClass, DIAGRAM__TYPE); - - semanticModelBridgeEClass = createEClass(SEMANTIC_MODEL_BRIDGE); - createEAttribute(semanticModelBridgeEClass, SEMANTIC_MODEL_BRIDGE__PRESENTATION); - createEReference(semanticModelBridgeEClass, SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT); - - simpleSemanticModelElementEClass = createEClass(SIMPLE_SEMANTIC_MODEL_ELEMENT); - createEAttribute(simpleSemanticModelElementEClass, SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO); - - uml1SemanticModelBridgeEClass = createEClass(UML1_SEMANTIC_MODEL_BRIDGE); - createEReference(uml1SemanticModelBridgeEClass, UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT); - - coreSemanticModelBridgeEClass = createEClass(CORE_SEMANTIC_MODEL_BRIDGE); - - leafElementEClass = createEClass(LEAF_ELEMENT); - - textElementEClass = createEClass(TEXT_ELEMENT); - createEAttribute(textElementEClass, TEXT_ELEMENT__TEXT); - - imageEClass = createEClass(IMAGE); - createEAttribute(imageEClass, IMAGE__URI); - createEAttribute(imageEClass, IMAGE__MIME_TYPE); - - graphicPrimitiveEClass = createEClass(GRAPHIC_PRIMITIVE); - - polilyneEClass = createEClass(POLILYNE); - createEAttribute(polilyneEClass, POLILYNE__WAYPOINTS); - createEAttribute(polilyneEClass, POLILYNE__CLOSED); - - ellipseEClass = createEClass(ELLIPSE); - createEAttribute(ellipseEClass, ELLIPSE__CENTER); - createEAttribute(ellipseEClass, ELLIPSE__RADIUS_X); - createEAttribute(ellipseEClass, ELLIPSE__RADIUS_Y); - createEAttribute(ellipseEClass, ELLIPSE__ROTATION); - createEAttribute(ellipseEClass, ELLIPSE__START_ANGLE); - createEAttribute(ellipseEClass, ELLIPSE__END_ANGLE); - - // Create enums - papyrusKeyEnumerationEEnum = createEEnum(PAPYRUS_KEY_ENUMERATION); - - // Create data types - pointEDataType = createEDataType(POINT); - dimensionEDataType = createEDataType(DIMENSION); - doubleEDataType = createEDataType(DOUBLE); - rgbEDataType = createEDataType(RGB); - stringEDataType = createEDataType(STRING); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This method is guarded to have - * no affect on any invocation but its first. - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) - return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - graphElementEClass.getESuperTypes().add(this.getDiagramElement()); - referenceEClass.getESuperTypes().add(this.getDiagramElement()); - graphEdgeEClass.getESuperTypes().add(this.getGraphElement()); - graphNodeEClass.getESuperTypes().add(this.getGraphElement()); - diagramEClass.getESuperTypes().add(this.getGraphNode()); - simpleSemanticModelElementEClass.getESuperTypes().add(this.getSemanticModelBridge()); - uml1SemanticModelBridgeEClass.getESuperTypes().add(this.getSemanticModelBridge()); - coreSemanticModelBridgeEClass.getESuperTypes().add(this.getSemanticModelBridge()); - leafElementEClass.getESuperTypes().add(this.getDiagramElement()); - textElementEClass.getESuperTypes().add(this.getLeafElement()); - imageEClass.getESuperTypes().add(this.getLeafElement()); - graphicPrimitiveEClass.getESuperTypes().add(this.getLeafElement()); - polilyneEClass.getESuperTypes().add(this.getGraphicPrimitive()); - ellipseEClass.getESuperTypes().add(this.getGraphicPrimitive()); - - // Initialize classes and features; add operations and parameters - initEClass(diagramElementEClass, DiagramElement.class, "DiagramElement", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEReference(getDiagramElement_Property(), this.getProperty(), null, "property", null, 0, -1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - /* - initEAttribute(getDiagramElement_IsVisible(), theUMLPackage.getBoolean(), "isVisible", null, 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - */ - initEReference(getDiagramElement_Reference(), this.getReference(), null, "reference", null, 0, -1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDiagramElement_Container(), this.getGraphElement(), this.getGraphElement_Contained(), - "container", null, 0, 1, DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - /* - initEAttribute(getDiagramElement_FontFamily(), theUMLPackage.getString(), "fontFamily", "", 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_FontSize(), theUMLPackage.getInteger(), "fontSize", "10", 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_LineStyle(), theUMLPackage.getString(), "lineStyle", "", 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_LineThickness(), theUMLPackage.getInteger(), "lineThickness", "1", 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - */ - initEAttribute(getDiagramElement_FontColor(), this.getRGB(), "fontColor", null, 0, 1, DiagramElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_ForegroundColor(), this.getRGB(), "foregroundColor", null, 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_BackgroundColor(), this.getRGB(), "backgroundColor", null, 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramElement_BorderColor(), this.getRGB(), "borderColor", null, 0, 1, DiagramElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - /* - initEAttribute(getDiagramElement_Translucent(), theUMLPackage.getBoolean(), "translucent", null, 0, 1, - DiagramElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - */ - initEReference(getDiagramElement_SemanticParent(), this.getDiagramElement(), this - .getDiagramElement_SemanticChild(), "semanticParent", null, 0, 1, DiagramElement.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - initEReference(getDiagramElement_SemanticChild(), this.getDiagramElement(), this - .getDiagramElement_SemanticParent(), "semanticChild", null, 0, -1, DiagramElement.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, - IS_ORDERED); - - EOperation op = addEOperation(diagramElementEClass, this.getProperty(), "getProperty", 0, 1, IS_UNIQUE, - IS_ORDERED); - /* - addEParameter(op, theUMLPackage.getString(), "key", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation(diagramElementEClass, this.getString(), "getPropertyValue", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, theUMLPackage.getString(), "key", 0, 1, IS_UNIQUE, IS_ORDERED); - - addEOperation(diagramElementEClass, theUMLPackage.getString(), "getEditpartName", 0, 1, IS_UNIQUE, IS_ORDERED); - */ - initEClass(graphElementEClass, GraphElement.class, "GraphElement", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEReference(getGraphElement_Contained(), this.getDiagramElement(), this.getDiagramElement_Container(), - "contained", null, 0, -1, GraphElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGraphElement_Link(), this.getDiagramLink(), null, "link", null, 0, -1, GraphElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGraphElement_SemanticModel(), this.getSemanticModelBridge(), null, "semanticModel", null, 0, - 1, GraphElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGraphElement_Position(), this.getPoint(), "position", null, 0, 1, GraphElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGraphElement_Anchorage(), this.getGraphConnector(), this.getGraphConnector_GraphElement(), - "anchorage", null, 0, -1, GraphElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, - !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - /* - initEAttribute(getReference_IsIndividualRepresentation(), theUMLPackage.getBoolean(), - "isIndividualRepresentation", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getReference_Referenced(), this.getDiagramElement(), null, "referenced", null, 1, 1, - Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getProperty_Key(), theUMLPackage.getString(), "key", null, 0, 1, Property.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getProperty_Value(), theUMLPackage.getString(), "value", null, 0, 1, Property.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - */ - initEClass(graphEdgeEClass, GraphEdge.class, "GraphEdge", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEReference(getGraphEdge_Anchor(), this.getGraphConnector(), this.getGraphConnector_GraphEdge(), "anchor", - null, 0, 2, GraphEdge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGraphEdge_Waypoints(), this.getPoint(), "waypoints", "", 0, -1, GraphEdge.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - addEOperation(graphEdgeEClass, this.getGraphElement(), "getAnchorSource", 0, 1, IS_UNIQUE, IS_ORDERED); - - addEOperation(graphEdgeEClass, this.getGraphElement(), "getAnchorTarget", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation(graphEdgeEClass, null, "setAnchorSource", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, this.getGraphElement(), "value", 0, 1, IS_UNIQUE, IS_ORDERED); - - op = addEOperation(graphEdgeEClass, null, "setAnchorTarget", 0, 1, IS_UNIQUE, IS_ORDERED); - addEParameter(op, this.getGraphElement(), "value", 0, 1, IS_UNIQUE, IS_ORDERED); - - addEOperation(graphEdgeEClass, null, "initConnectors", 0, 1, IS_UNIQUE, IS_ORDERED); - - initEClass(graphConnectorEClass, GraphConnector.class, "GraphConnector", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getGraphConnector_Position(), this.getPoint(), "position", null, 0, 1, GraphConnector.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGraphConnector_GraphEdge(), this.getGraphEdge(), this.getGraphEdge_Anchor(), "graphEdge", - null, 0, -1, GraphConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGraphConnector_GraphElement(), this.getGraphElement(), this.getGraphElement_Anchorage(), - "graphElement", null, 1, 1, GraphConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(graphNodeEClass, GraphNode.class, "GraphNode", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getGraphNode_Size(), this.getDimension(), "size", null, 0, 1, GraphNode.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(diagramLinkEClass, DiagramLink.class, "DiagramLink", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEReference(getDiagramLink_Diagram(), this.getDiagram(), null, "diagram", null, 1, 1, DiagramLink.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramLink_Zoom(), this.getDouble(), "zoom", null, 0, 1, DiagramLink.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagramLink_Viewport(), this.getPoint(), "viewport", null, 0, 1, DiagramLink.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDiagramLink_GraphElement(), this.getGraphElement(), null, "graphElement", null, 1, 1, - DiagramLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(diagramEClass, Diagram.class, "Diagram", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDiagram_Owner(), this.getSemanticModelBridge(), null, "owner", null, 1, 1, Diagram.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - /* - initEAttribute(getDiagram_Name(), theUMLPackage.getString(), "name", null, 0, 1, Diagram.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagram_Zoom(), this.getDouble(), "zoom", null, 0, 1, Diagram.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagram_Viewport(), this.getPoint(), "viewport", null, 0, 1, Diagram.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDiagram_DiagramLink(), this.getDiagramLink(), null, "diagramLink", null, 0, -1, - Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDiagram_Type(), theUMLPackage.getString(), "type", null, 0, 1, Diagram.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(semanticModelBridgeEClass, SemanticModelBridge.class, "SemanticModelBridge", !IS_ABSTRACT, - !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSemanticModelBridge_Presentation(), theUMLPackage.getString(), "presentation", null, 0, 1, - SemanticModelBridge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSemanticModelBridge_GraphElement(), this.getGraphElement(), null, "graphElement", null, 0, 1, - SemanticModelBridge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(simpleSemanticModelElementEClass, SimpleSemanticModelElement.class, "SimpleSemanticModelElement", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSimpleSemanticModelElement_Typeinfo(), theUMLPackage.getString(), "typeinfo", null, 0, 1, - SimpleSemanticModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - */ - - initEClass(uml1SemanticModelBridgeEClass, Uml1SemanticModelBridge.class, "Uml1SemanticModelBridge", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUml1SemanticModelBridge_Element(), theUMLPackage.getElement(), null, "element", null, 0, 1, - Uml1SemanticModelBridge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(coreSemanticModelBridgeEClass, CoreSemanticModelBridge.class, "CoreSemanticModelBridge", - !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(leafElementEClass, LeafElement.class, "LeafElement", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - - initEClass(textElementEClass, TextElement.class, "TextElement", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - /* - initEAttribute(getTextElement_Text(), theUMLPackage.getString(), "text", null, 0, 1, TextElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(imageEClass, Image.class, "Image", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getImage_Uri(), theUMLPackage.getString(), "uri", null, 0, 1, Image.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getImage_MimeType(), theUMLPackage.getString(), "mimeType", null, 0, 1, Image.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(graphicPrimitiveEClass, GraphicPrimitive.class, "GraphicPrimitive", !IS_ABSTRACT, !IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - */ - initEClass(polilyneEClass, Polilyne.class, "Polilyne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPolilyne_Waypoints(), this.getPoint(), "waypoints", null, 2, -1, Polilyne.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - /* - initEAttribute(getPolilyne_Closed(), theUMLPackage.getBoolean(), "closed", null, 2, -1, Polilyne.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - */ - - initEClass(ellipseEClass, Ellipse.class, "Ellipse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEllipse_Center(), this.getPoint(), "center", null, 0, 1, Ellipse.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEllipse_RadiusX(), this.getDouble(), "radiusX", null, 0, 1, Ellipse.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEllipse_RadiusY(), this.getDouble(), "radiusY", null, 0, 1, Ellipse.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEllipse_Rotation(), this.getDouble(), "rotation", null, 0, 1, Ellipse.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEllipse_StartAngle(), this.getDouble(), "startAngle", null, 0, 1, Ellipse.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEllipse_EndAngle(), this.getDouble(), "endAngle", null, 0, 1, Ellipse.class, !IS_TRANSIENT, - !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(papyrusKeyEnumerationEEnum, PapyrusKeyEnumeration.class, "PapyrusKeyEnumeration"); - addEEnumLiteral(papyrusKeyEnumerationEEnum, PapyrusKeyEnumeration.PAPYRUSEDITPART); - - // Initialize data types - initEDataType(pointEDataType, Point.class, "Point", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(dimensionEDataType, Dimension.class, "Dimension", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(doubleEDataType, double.class, "Double", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - initEDataType(rgbEDataType, org.eclipse.swt.graphics.RGB.class, "RGB", IS_SERIALIZABLE, - !IS_GENERATED_INSTANCE_CLASS); - initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} // Di2PackageImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramElementImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramElementImpl.java deleted file mode 100644 index c5460ff05e4..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramElementImpl.java +++ /dev/null @@ -1,1048 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.DiagramElement; -import org.eclipse.papyrus.conversion.di2.GraphElement; -import org.eclipse.papyrus.conversion.di2.Property; -import org.eclipse.papyrus.conversion.di2.Reference; -import org.eclipse.swt.graphics.RGB; - -/** - * An implementation of the model object 'Diagram Element'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getProperty - * Property}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#isIsVisible Is - * Visible}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getReference - * Reference}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getContainer - * Container}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getFontFamily Font - * Family}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getFontSize Font - * Size}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getLineStyle Line - * Style}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getLineThickness - * Line Thickness}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getFontColor Font - * Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getForegroundColor - * Foreground Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getBackgroundColor - * Background Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getBorderColor - * Border Color}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#isTranslucent - * Translucent}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getSemanticParent - * Semantic Parent}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramElementImpl#getSemanticChild - * Semantic Child}
  • - *
- *

- * - * @generated - */ -public class DiagramElementImpl extends EObjectImpl implements DiagramElement { - - /** - * The cached value of the '{@link #getProperty() Property}' containment reference - * list. - * - * @see #getProperty() - * @generated - * @ordered - */ - protected EList property; - - /** - * The default value of the '{@link #isIsVisible() Is Visible}' attribute. - * - * @see #isIsVisible() - * @generated - * @ordered - */ - protected static final boolean IS_VISIBLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isIsVisible() Is Visible}' attribute. - * - * @see #isIsVisible() - * @generated - * @ordered - */ - protected boolean isVisible = IS_VISIBLE_EDEFAULT; - - /** - * The cached value of the '{@link #getReference() Reference}' reference list. - * - * @see #getReference() - * @generated - * @ordered - */ - protected EList reference; - - /** - * The default value of the '{@link #getFontFamily() Font Family}' attribute. - * - * @see #getFontFamily() - * @generated - * @ordered - */ - protected static final String FONT_FAMILY_EDEFAULT = ""; - - /** - * The cached value of the '{@link #getFontFamily() Font Family}' attribute. - * - * @see #getFontFamily() - * @generated - * @ordered - */ - protected String fontFamily = FONT_FAMILY_EDEFAULT; - - /** - * The default value of the '{@link #getFontSize() Font Size}' attribute. - * - * @see #getFontSize() - * @generated - * @ordered - */ - protected static final int FONT_SIZE_EDEFAULT = 10; - - /** - * The cached value of the '{@link #getFontSize() Font Size}' attribute. - * - * @see #getFontSize() - * @generated - * @ordered - */ - protected int fontSize = FONT_SIZE_EDEFAULT; - - /** - * The default value of the '{@link #getLineStyle() Line Style}' attribute. - * - * @see #getLineStyle() - * @generated - * @ordered - */ - protected static final String LINE_STYLE_EDEFAULT = ""; - - /** - * The cached value of the '{@link #getLineStyle() Line Style}' attribute. - * - * @see #getLineStyle() - * @generated - * @ordered - */ - protected String lineStyle = LINE_STYLE_EDEFAULT; - - /** - * The default value of the '{@link #getLineThickness() Line Thickness}' attribute. - * - * - * @see #getLineThickness() - * @generated - * @ordered - */ - protected static final int LINE_THICKNESS_EDEFAULT = 1; - - /** - * The cached value of the '{@link #getLineThickness() Line Thickness}' attribute. - * - * @see #getLineThickness() - * @generated - * @ordered - */ - protected int lineThickness = LINE_THICKNESS_EDEFAULT; - - /** - * The default value of the '{@link #getFontColor() Font Color}' attribute. - * - * @see #getFontColor() - * @generated - * @ordered - */ - protected static final RGB FONT_COLOR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFontColor() Font Color}' attribute. - * - * @see #getFontColor() - * @generated - * @ordered - */ - protected RGB fontColor = FONT_COLOR_EDEFAULT; - - /** - * The default value of the '{@link #getForegroundColor() Foreground Color}' attribute. - * - * - * @see #getForegroundColor() - * @generated - * @ordered - */ - protected static final RGB FOREGROUND_COLOR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getForegroundColor() Foreground Color}' attribute. - * - * - * @see #getForegroundColor() - * @generated - * @ordered - */ - protected RGB foregroundColor = FOREGROUND_COLOR_EDEFAULT; - - /** - * The default value of the '{@link #getBackgroundColor() Background Color}' attribute. - * - * - * @see #getBackgroundColor() - * @generated - * @ordered - */ - protected static final RGB BACKGROUND_COLOR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBackgroundColor() Background Color}' attribute. - * - * - * @see #getBackgroundColor() - * @generated - * @ordered - */ - protected RGB backgroundColor = BACKGROUND_COLOR_EDEFAULT; - - /** - * The default value of the '{@link #getBorderColor() Border Color}' attribute. - * - * @see #getBorderColor() - * @generated - * @ordered - */ - protected static final RGB BORDER_COLOR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBorderColor() Border Color}' attribute. - * - * @see #getBorderColor() - * @generated - * @ordered - */ - protected RGB borderColor = BORDER_COLOR_EDEFAULT; - - /** - * The default value of the '{@link #isTranslucent() Translucent}' attribute. - * - * @see #isTranslucent() - * @generated - * @ordered - */ - protected static final boolean TRANSLUCENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTranslucent() Translucent}' attribute. - * - * @see #isTranslucent() - * @generated - * @ordered - */ - protected boolean translucent = TRANSLUCENT_EDEFAULT; - - /** - * The cached value of the '{@link #getSemanticParent() Semantic Parent}' reference. - * - * - * @see #getSemanticParent() - * @generated - * @ordered - */ - protected DiagramElement semanticParent; - - /** - * The cached value of the '{@link #getSemanticChild() Semantic Child}' reference list. - * - * - * @see #getSemanticChild() - * @generated - * @ordered - */ - protected EList semanticChild; - - /** - * - * - * @generated - */ - protected DiagramElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.DIAGRAM_ELEMENT; - } - - /** - * - * - * @generated - */ - public EList getProperty() { - if (property == null) { - property = new EObjectContainmentEList(Property.class, this, Di2Package.DIAGRAM_ELEMENT__PROPERTY); - } - return property; - } - - /** - * - * - * @generated - */ - public boolean isIsVisible() { - return isVisible; - } - - /** - * - * - * @generated - */ - public void setIsVisible(boolean newIsVisible) { - boolean oldIsVisible = isVisible; - isVisible = newIsVisible; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__IS_VISIBLE, oldIsVisible, - isVisible)); - } - - /** - * - * - * @generated - */ - public EList getReference() { - if (reference == null) { - reference = new EObjectResolvingEList(Reference.class, this, - Di2Package.DIAGRAM_ELEMENT__REFERENCE); - } - return reference; - } - - /** - * - * - * @generated - */ - public GraphElement getContainer() { - if (eContainerFeatureID != Di2Package.DIAGRAM_ELEMENT__CONTAINER) - return null; - return (GraphElement) eContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetContainer(GraphElement newContainer, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject) newContainer, Di2Package.DIAGRAM_ELEMENT__CONTAINER, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setContainer(GraphElement newContainer) { - if (newContainer != eInternalContainer() - || (eContainerFeatureID != Di2Package.DIAGRAM_ELEMENT__CONTAINER && newContainer != null)) { - if (EcoreUtil.isAncestor(this, newContainer)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newContainer != null) - msgs = ((InternalEObject) newContainer).eInverseAdd(this, Di2Package.GRAPH_ELEMENT__CONTAINED, - GraphElement.class, msgs); - msgs = basicSetContainer(newContainer, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__CONTAINER, newContainer, - newContainer)); - } - - /** - * - * - * @generated - */ - public String getFontFamily() { - return fontFamily; - } - - /** - * - * - * @generated - */ - public void setFontFamily(String newFontFamily) { - String oldFontFamily = fontFamily; - fontFamily = newFontFamily; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__FONT_FAMILY, - oldFontFamily, fontFamily)); - } - - /** - * - * - * @generated - */ - public int getFontSize() { - return fontSize; - } - - /** - * - * - * @generated - */ - public void setFontSize(int newFontSize) { - int oldFontSize = fontSize; - fontSize = newFontSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__FONT_SIZE, oldFontSize, - fontSize)); - } - - /** - * - * - * @generated - */ - public String getLineStyle() { - return lineStyle; - } - - /** - * - * - * @generated - */ - public void setLineStyle(String newLineStyle) { - String oldLineStyle = lineStyle; - lineStyle = newLineStyle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__LINE_STYLE, oldLineStyle, - lineStyle)); - } - - /** - * - * - * @generated - */ - public int getLineThickness() { - return lineThickness; - } - - /** - * - * - * @generated - */ - public void setLineThickness(int newLineThickness) { - int oldLineThickness = lineThickness; - lineThickness = newLineThickness; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__LINE_THICKNESS, - oldLineThickness, lineThickness)); - } - - /** - * - * - * @generated - */ - public RGB getFontColor() { - return fontColor; - } - - /** - * - * - * @generated - */ - public void setFontColor(RGB newFontColor) { - RGB oldFontColor = fontColor; - fontColor = newFontColor; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__FONT_COLOR, oldFontColor, - fontColor)); - } - - /** - * - * - * @generated - */ - public RGB getForegroundColor() { - return foregroundColor; - } - - /** - * - * - * @generated - */ - public void setForegroundColor(RGB newForegroundColor) { - RGB oldForegroundColor = foregroundColor; - foregroundColor = newForegroundColor; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__FOREGROUND_COLOR, - oldForegroundColor, foregroundColor)); - } - - /** - * - * - * @generated - */ - public RGB getBackgroundColor() { - return backgroundColor; - } - - /** - * - * - * @generated - */ - public void setBackgroundColor(RGB newBackgroundColor) { - RGB oldBackgroundColor = backgroundColor; - backgroundColor = newBackgroundColor; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__BACKGROUND_COLOR, - oldBackgroundColor, backgroundColor)); - } - - /** - * - * - * @generated - */ - public RGB getBorderColor() { - return borderColor; - } - - /** - * - * - * @generated - */ - public void setBorderColor(RGB newBorderColor) { - RGB oldBorderColor = borderColor; - borderColor = newBorderColor; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__BORDER_COLOR, - oldBorderColor, borderColor)); - } - - /** - * - * - * @generated - */ - public boolean isTranslucent() { - return translucent; - } - - /** - * - * - * @generated - */ - public void setTranslucent(boolean newTranslucent) { - boolean oldTranslucent = translucent; - translucent = newTranslucent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__TRANSLUCENT, - oldTranslucent, translucent)); - } - - /** - * - * - * @generated - */ - public DiagramElement getSemanticParent() { - if (semanticParent != null && semanticParent.eIsProxy()) { - InternalEObject oldSemanticParent = (InternalEObject) semanticParent; - semanticParent = (DiagramElement) eResolveProxy(oldSemanticParent); - if (semanticParent != oldSemanticParent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT, oldSemanticParent, semanticParent)); - } - } - return semanticParent; - } - - /** - * - * - * @generated - */ - public DiagramElement basicGetSemanticParent() { - return semanticParent; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetSemanticParent(DiagramElement newSemanticParent, NotificationChain msgs) { - DiagramElement oldSemanticParent = semanticParent; - semanticParent = newSemanticParent; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT, oldSemanticParent, newSemanticParent); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setSemanticParent(DiagramElement newSemanticParent) { - if (newSemanticParent != semanticParent) { - NotificationChain msgs = null; - if (semanticParent != null) - msgs = ((InternalEObject) semanticParent).eInverseRemove(this, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiagramElement.class, msgs); - if (newSemanticParent != null) - msgs = ((InternalEObject) newSemanticParent).eInverseAdd(this, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiagramElement.class, msgs); - msgs = basicSetSemanticParent(newSemanticParent, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT, - newSemanticParent, newSemanticParent)); - } - - /** - * - * - * @generated - */ - public EList getSemanticChild() { - if (semanticChild == null) { - semanticChild = new EObjectWithInverseResolvingEList(DiagramElement.class, this, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD, Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT); - } - return semanticChild; - } - - /** - * - * - * @generated - */ - public Property getProperty(String key) { - java.util.Iterator it = getProperty().iterator(); - while (it.hasNext()) { - Property element = (Property) it.next(); - if (key.equals(element.getKey())) { - return element; - } - } - return null; - } - - /** - * - * - * @generated - */ - public String getPropertyValue(String key) { - if (this.getProperty(key) != null) { - return this.getProperty(key).getValue(); - } - return null; - - } - - /** - * - * - * @generated - */ - public String getEditpartName() { - return this.getPropertyValue(org.eclipse.papyrus.conversion.di2.PapyrusKeyEnumeration.PAPYRUSEDITPART - .getLiteral()); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetContainer((GraphElement) otherEnd, msgs); - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - if (semanticParent != null) - msgs = ((InternalEObject) semanticParent).eInverseRemove(this, - Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiagramElement.class, msgs); - return basicSetSemanticParent((DiagramElement) otherEnd, msgs); - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - return ((InternalEList) (InternalEList) getSemanticChild()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__PROPERTY: - return ((InternalEList) getProperty()).basicRemove(otherEnd, msgs); - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - return basicSetContainer(null, msgs); - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - return basicSetSemanticParent(null, msgs); - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - return ((InternalEList) getSemanticChild()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - return eInternalContainer().eInverseRemove(this, Di2Package.GRAPH_ELEMENT__CONTAINED, GraphElement.class, - msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__PROPERTY: - return getProperty(); - case Di2Package.DIAGRAM_ELEMENT__IS_VISIBLE: - return isIsVisible() ? Boolean.TRUE : Boolean.FALSE; - case Di2Package.DIAGRAM_ELEMENT__REFERENCE: - return getReference(); - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - return getContainer(); - case Di2Package.DIAGRAM_ELEMENT__FONT_FAMILY: - return getFontFamily(); - case Di2Package.DIAGRAM_ELEMENT__FONT_SIZE: - return new Integer(getFontSize()); - case Di2Package.DIAGRAM_ELEMENT__LINE_STYLE: - return getLineStyle(); - case Di2Package.DIAGRAM_ELEMENT__LINE_THICKNESS: - return new Integer(getLineThickness()); - case Di2Package.DIAGRAM_ELEMENT__FONT_COLOR: - return getFontColor(); - case Di2Package.DIAGRAM_ELEMENT__FOREGROUND_COLOR: - return getForegroundColor(); - case Di2Package.DIAGRAM_ELEMENT__BACKGROUND_COLOR: - return getBackgroundColor(); - case Di2Package.DIAGRAM_ELEMENT__BORDER_COLOR: - return getBorderColor(); - case Di2Package.DIAGRAM_ELEMENT__TRANSLUCENT: - return isTranslucent() ? Boolean.TRUE : Boolean.FALSE; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - if (resolve) - return getSemanticParent(); - return basicGetSemanticParent(); - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - return getSemanticChild(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__PROPERTY: - getProperty().clear(); - getProperty().addAll((Collection) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__IS_VISIBLE: - setIsVisible(((Boolean) newValue).booleanValue()); - return; - case Di2Package.DIAGRAM_ELEMENT__REFERENCE: - getReference().clear(); - getReference().addAll((Collection) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - setContainer((GraphElement) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_FAMILY: - setFontFamily((String) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_SIZE: - setFontSize(((Integer) newValue).intValue()); - return; - case Di2Package.DIAGRAM_ELEMENT__LINE_STYLE: - setLineStyle((String) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__LINE_THICKNESS: - setLineThickness(((Integer) newValue).intValue()); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_COLOR: - setFontColor((RGB) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__FOREGROUND_COLOR: - setForegroundColor((RGB) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__BACKGROUND_COLOR: - setBackgroundColor((RGB) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__BORDER_COLOR: - setBorderColor((RGB) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__TRANSLUCENT: - setTranslucent(((Boolean) newValue).booleanValue()); - return; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - setSemanticParent((DiagramElement) newValue); - return; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - getSemanticChild().clear(); - getSemanticChild().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__PROPERTY: - getProperty().clear(); - return; - case Di2Package.DIAGRAM_ELEMENT__IS_VISIBLE: - setIsVisible(IS_VISIBLE_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__REFERENCE: - getReference().clear(); - return; - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - setContainer((GraphElement) null); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_FAMILY: - setFontFamily(FONT_FAMILY_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_SIZE: - setFontSize(FONT_SIZE_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__LINE_STYLE: - setLineStyle(LINE_STYLE_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__LINE_THICKNESS: - setLineThickness(LINE_THICKNESS_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__FONT_COLOR: - setFontColor(FONT_COLOR_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__FOREGROUND_COLOR: - setForegroundColor(FOREGROUND_COLOR_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__BACKGROUND_COLOR: - setBackgroundColor(BACKGROUND_COLOR_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__BORDER_COLOR: - setBorderColor(BORDER_COLOR_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__TRANSLUCENT: - setTranslucent(TRANSLUCENT_EDEFAULT); - return; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - setSemanticParent((DiagramElement) null); - return; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - getSemanticChild().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM_ELEMENT__PROPERTY: - return property != null && !property.isEmpty(); - case Di2Package.DIAGRAM_ELEMENT__IS_VISIBLE: - return isVisible != IS_VISIBLE_EDEFAULT; - case Di2Package.DIAGRAM_ELEMENT__REFERENCE: - return reference != null && !reference.isEmpty(); - case Di2Package.DIAGRAM_ELEMENT__CONTAINER: - return getContainer() != null; - case Di2Package.DIAGRAM_ELEMENT__FONT_FAMILY: - return FONT_FAMILY_EDEFAULT == null ? fontFamily != null : !FONT_FAMILY_EDEFAULT.equals(fontFamily); - case Di2Package.DIAGRAM_ELEMENT__FONT_SIZE: - return fontSize != FONT_SIZE_EDEFAULT; - case Di2Package.DIAGRAM_ELEMENT__LINE_STYLE: - return LINE_STYLE_EDEFAULT == null ? lineStyle != null : !LINE_STYLE_EDEFAULT.equals(lineStyle); - case Di2Package.DIAGRAM_ELEMENT__LINE_THICKNESS: - return lineThickness != LINE_THICKNESS_EDEFAULT; - case Di2Package.DIAGRAM_ELEMENT__FONT_COLOR: - return FONT_COLOR_EDEFAULT == null ? fontColor != null : !FONT_COLOR_EDEFAULT.equals(fontColor); - case Di2Package.DIAGRAM_ELEMENT__FOREGROUND_COLOR: - return FOREGROUND_COLOR_EDEFAULT == null ? foregroundColor != null : !FOREGROUND_COLOR_EDEFAULT - .equals(foregroundColor); - case Di2Package.DIAGRAM_ELEMENT__BACKGROUND_COLOR: - return BACKGROUND_COLOR_EDEFAULT == null ? backgroundColor != null : !BACKGROUND_COLOR_EDEFAULT - .equals(backgroundColor); - case Di2Package.DIAGRAM_ELEMENT__BORDER_COLOR: - return BORDER_COLOR_EDEFAULT == null ? borderColor != null : !BORDER_COLOR_EDEFAULT.equals(borderColor); - case Di2Package.DIAGRAM_ELEMENT__TRANSLUCENT: - return translucent != TRANSLUCENT_EDEFAULT; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_PARENT: - return semanticParent != null; - case Di2Package.DIAGRAM_ELEMENT__SEMANTIC_CHILD: - return semanticChild != null && !semanticChild.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (isVisible: "); - result.append(isVisible); - result.append(", fontFamily: "); - result.append(fontFamily); - result.append(", fontSize: "); - result.append(fontSize); - result.append(", lineStyle: "); - result.append(lineStyle); - result.append(", lineThickness: "); - result.append(lineThickness); - result.append(", fontColor: "); - result.append(fontColor); - result.append(", foregroundColor: "); - result.append(foregroundColor); - result.append(", backgroundColor: "); - result.append(backgroundColor); - result.append(", borderColor: "); - result.append(borderColor); - result.append(", translucent: "); - result.append(translucent); - result.append(')'); - return result.toString(); - } - -} // DiagramElementImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramImpl.java deleted file mode 100644 index fc01dd11bdd..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramImpl.java +++ /dev/null @@ -1,466 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.draw2d.geometry.Point; - -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.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Diagram; -import org.eclipse.papyrus.conversion.di2.DiagramLink; -import org.eclipse.papyrus.conversion.di2.SemanticModelBridge; - -/** - * An implementation of the model object 'Diagram'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getOwner Owner}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getName Name}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getZoom Zoom}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getViewport Viewport - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getDiagramLink Diagram - * Link}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramImpl#getType Type}
  • - *
- *

- * - * @generated - */ -public class DiagramImpl extends GraphNodeImpl implements Diagram { - - /** - * The cached value of the '{@link #getOwner() Owner}' containment reference. - * - * @see #getOwner() - * @generated - * @ordered - */ - protected SemanticModelBridge owner; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getZoom() Zoom}' attribute. - * - * @see #getZoom() - * @generated - * @ordered - */ - protected static final double ZOOM_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getZoom() Zoom}' attribute. - * - * - * @see #getZoom() - * @generated - * @ordered - */ - protected double zoom = ZOOM_EDEFAULT; - - /** - * The default value of the '{@link #getViewport() Viewport}' attribute. - * - * @see #getViewport() - * @generated - * @ordered - */ - protected static final Point VIEWPORT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getViewport() Viewport}' attribute. - * - * @see #getViewport() - * @generated - * @ordered - */ - protected Point viewport = VIEWPORT_EDEFAULT; - - /** - * The cached value of the '{@link #getDiagramLink() Diagram Link}' reference list. - * - * - * @see #getDiagramLink() - * @generated - * @ordered - */ - protected EList diagramLink; - - /** - * The default value of the '{@link #getType() Type}' attribute. - * - * @see #getType() - * @generated - * @ordered - */ - protected static final String TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected String type = TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected DiagramImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.DIAGRAM; - } - - /** - * - * - * @generated - */ - public SemanticModelBridge getOwner() { - return owner; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetOwner(SemanticModelBridge newOwner, NotificationChain msgs) { - SemanticModelBridge oldOwner = owner; - owner = newOwner; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__OWNER, - oldOwner, newOwner); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setOwner(SemanticModelBridge newOwner) { - if (newOwner != owner) { - NotificationChain msgs = null; - if (owner != null) - msgs = ((InternalEObject) owner).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - - Di2Package.DIAGRAM__OWNER, null, msgs); - if (newOwner != null) - msgs = ((InternalEObject) newOwner).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - - Di2Package.DIAGRAM__OWNER, null, msgs); - msgs = basicSetOwner(newOwner, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__OWNER, newOwner, newOwner)); - } - - /** - * - * - * @generated - */ - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - public double getZoom() { - return zoom; - } - - /** - * - * - * @generated - */ - public void setZoom(double newZoom) { - double oldZoom = zoom; - zoom = newZoom; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__ZOOM, oldZoom, zoom)); - } - - /** - * - * - * @generated - */ - public Point getViewport() { - return viewport; - } - - /** - * - * - * @generated - */ - public void setViewport(Point newViewport) { - Point oldViewport = viewport; - viewport = newViewport; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__VIEWPORT, oldViewport, viewport)); - } - - /** - * - * - * @generated - */ - public EList getDiagramLink() { - if (diagramLink == null) { - diagramLink = new EObjectResolvingEList(DiagramLink.class, this, - Di2Package.DIAGRAM__DIAGRAM_LINK); - } - return diagramLink; - } - - /** - * - * - * @NOT generated - */ - public String getType() { - if (this.type == null || this.type.equals("")) { - return "ClassDiagram"; - } - return this.type; - } - - /** - * - * - * @generated - */ - public void setType(String newType) { - String oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.DIAGRAM__OWNER: - return basicSetOwner(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.DIAGRAM__OWNER: - return getOwner(); - case Di2Package.DIAGRAM__NAME: - return getName(); - case Di2Package.DIAGRAM__ZOOM: - return new Double(getZoom()); - case Di2Package.DIAGRAM__VIEWPORT: - return getViewport(); - case Di2Package.DIAGRAM__DIAGRAM_LINK: - return getDiagramLink(); - case Di2Package.DIAGRAM__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.DIAGRAM__OWNER: - setOwner((SemanticModelBridge) newValue); - return; - case Di2Package.DIAGRAM__NAME: - setName((String) newValue); - return; - case Di2Package.DIAGRAM__ZOOM: - setZoom(((Double) newValue).doubleValue()); - return; - case Di2Package.DIAGRAM__VIEWPORT: - setViewport((Point) newValue); - return; - case Di2Package.DIAGRAM__DIAGRAM_LINK: - getDiagramLink().clear(); - getDiagramLink().addAll((Collection) newValue); - return; - case Di2Package.DIAGRAM__TYPE: - setType((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM__OWNER: - setOwner((SemanticModelBridge) null); - return; - case Di2Package.DIAGRAM__NAME: - setName(NAME_EDEFAULT); - return; - case Di2Package.DIAGRAM__ZOOM: - setZoom(ZOOM_EDEFAULT); - return; - case Di2Package.DIAGRAM__VIEWPORT: - setViewport(VIEWPORT_EDEFAULT); - return; - case Di2Package.DIAGRAM__DIAGRAM_LINK: - getDiagramLink().clear(); - return; - case Di2Package.DIAGRAM__TYPE: - setType(TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM__OWNER: - return owner != null; - case Di2Package.DIAGRAM__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case Di2Package.DIAGRAM__ZOOM: - return zoom != ZOOM_EDEFAULT; - case Di2Package.DIAGRAM__VIEWPORT: - return VIEWPORT_EDEFAULT == null ? viewport != null : !VIEWPORT_EDEFAULT.equals(viewport); - case Di2Package.DIAGRAM__DIAGRAM_LINK: - return diagramLink != null && !diagramLink.isEmpty(); - case Di2Package.DIAGRAM__TYPE: - return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", zoom: "); - result.append(zoom); - result.append(", viewport: "); - result.append(viewport); - result.append(", type: "); - result.append(type); - result.append(')'); - return result.toString(); - } - -} // DiagramImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramLinkImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramLinkImpl.java deleted file mode 100644 index c49e62d7627..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/DiagramLinkImpl.java +++ /dev/null @@ -1,356 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.draw2d.geometry.Point; - -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.emf.ecore.impl.EObjectImpl; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Diagram; -import org.eclipse.papyrus.conversion.di2.DiagramLink; -import org.eclipse.papyrus.conversion.di2.GraphElement; - -/** - * An implementation of the model object 'Diagram Link'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl#getDiagram Diagram - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl#getZoom Zoom}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl#getViewport Viewport - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.DiagramLinkImpl#getGraphElement Graph - * Element}
  • - *
- *

- * - * @generated - */ -public class DiagramLinkImpl extends EObjectImpl implements DiagramLink { - - /** - * The cached value of the '{@link #getDiagram() Diagram}' reference. - * - * @see #getDiagram() - * @generated - * @ordered - */ - protected Diagram diagram; - - /** - * The default value of the '{@link #getZoom() Zoom}' attribute. - * - * @see #getZoom() - * @generated - * @ordered - */ - protected static final double ZOOM_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getZoom() Zoom}' attribute. - * - * - * @see #getZoom() - * @generated - * @ordered - */ - protected double zoom = ZOOM_EDEFAULT; - - /** - * The default value of the '{@link #getViewport() Viewport}' attribute. - * - * @see #getViewport() - * @generated - * @ordered - */ - protected static final Point VIEWPORT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getViewport() Viewport}' attribute. - * - * @see #getViewport() - * @generated - * @ordered - */ - protected Point viewport = VIEWPORT_EDEFAULT; - - /** - * The cached value of the '{@link #getGraphElement() Graph Element}' reference. - * - * @see #getGraphElement() - * @generated - * @ordered - */ - protected GraphElement graphElement; - - /** - * - * - * @generated - */ - protected DiagramLinkImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.DIAGRAM_LINK; - } - - /** - * - * - * @generated - */ - public Diagram getDiagram() { - if (diagram != null && diagram.eIsProxy()) { - InternalEObject oldDiagram = (InternalEObject) diagram; - diagram = (Diagram) eResolveProxy(oldDiagram); - if (diagram != oldDiagram) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, Di2Package.DIAGRAM_LINK__DIAGRAM, - oldDiagram, diagram)); - } - } - return diagram; - } - - /** - * - * - * @generated - */ - public Diagram basicGetDiagram() { - return diagram; - } - - /** - * - * - * @generated - */ - public void setDiagram(Diagram newDiagram) { - Diagram oldDiagram = diagram; - diagram = newDiagram; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_LINK__DIAGRAM, oldDiagram, diagram)); - } - - /** - * - * - * @generated - */ - public double getZoom() { - return zoom; - } - - /** - * - * - * @generated - */ - public void setZoom(double newZoom) { - double oldZoom = zoom; - zoom = newZoom; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_LINK__ZOOM, oldZoom, zoom)); - } - - /** - * - * - * @generated - */ - public Point getViewport() { - return viewport; - } - - /** - * - * - * @generated - */ - public void setViewport(Point newViewport) { - Point oldViewport = viewport; - viewport = newViewport; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_LINK__VIEWPORT, oldViewport, - viewport)); - } - - /** - * - * - * @generated - */ - public GraphElement getGraphElement() { - if (graphElement != null && graphElement.eIsProxy()) { - InternalEObject oldGraphElement = (InternalEObject) graphElement; - graphElement = (GraphElement) eResolveProxy(oldGraphElement); - if (graphElement != oldGraphElement) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT, - oldGraphElement, graphElement)); - } - } - return graphElement; - } - - /** - * - * - * @generated - */ - public GraphElement basicGetGraphElement() { - return graphElement; - } - - /** - * - * - * @generated - */ - public void setGraphElement(GraphElement newGraphElement) { - GraphElement oldGraphElement = graphElement; - graphElement = newGraphElement; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT, - oldGraphElement, graphElement)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.DIAGRAM_LINK__DIAGRAM: - if (resolve) - return getDiagram(); - return basicGetDiagram(); - case Di2Package.DIAGRAM_LINK__ZOOM: - return new Double(getZoom()); - case Di2Package.DIAGRAM_LINK__VIEWPORT: - return getViewport(); - case Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT: - if (resolve) - return getGraphElement(); - return basicGetGraphElement(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.DIAGRAM_LINK__DIAGRAM: - setDiagram((Diagram) newValue); - return; - case Di2Package.DIAGRAM_LINK__ZOOM: - setZoom(((Double) newValue).doubleValue()); - return; - case Di2Package.DIAGRAM_LINK__VIEWPORT: - setViewport((Point) newValue); - return; - case Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT: - setGraphElement((GraphElement) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM_LINK__DIAGRAM: - setDiagram((Diagram) null); - return; - case Di2Package.DIAGRAM_LINK__ZOOM: - setZoom(ZOOM_EDEFAULT); - return; - case Di2Package.DIAGRAM_LINK__VIEWPORT: - setViewport(VIEWPORT_EDEFAULT); - return; - case Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT: - setGraphElement((GraphElement) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.DIAGRAM_LINK__DIAGRAM: - return diagram != null; - case Di2Package.DIAGRAM_LINK__ZOOM: - return zoom != ZOOM_EDEFAULT; - case Di2Package.DIAGRAM_LINK__VIEWPORT: - return VIEWPORT_EDEFAULT == null ? viewport != null : !VIEWPORT_EDEFAULT.equals(viewport); - case Di2Package.DIAGRAM_LINK__GRAPH_ELEMENT: - return graphElement != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (zoom: "); - result.append(zoom); - result.append(", viewport: "); - result.append(viewport); - result.append(')'); - return result.toString(); - } - -} // DiagramLinkImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/EllipseImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/EllipseImpl.java deleted file mode 100644 index f7bc0a3b71c..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/EllipseImpl.java +++ /dev/null @@ -1,445 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Ellipse; - -/** - * An implementation of the model object 'Ellipse'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getCenter Center}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getRadiusX Radius X} - *
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getRadiusY Radius Y} - *
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getRotation Rotation - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getStartAngle Start Angle - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.EllipseImpl#getEndAngle End Angle - * }
  • - *
- *

- * - * @generated - */ -public class EllipseImpl extends GraphicPrimitiveImpl implements Ellipse { - - /** - * The default value of the '{@link #getCenter() Center}' attribute. - * - * @see #getCenter() - * @generated - * @ordered - */ - protected static final Point CENTER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCenter() Center}' attribute. - * - * @see #getCenter() - * @generated - * @ordered - */ - protected Point center = CENTER_EDEFAULT; - - /** - * The default value of the '{@link #getRadiusX() Radius X}' attribute. - * - * @see #getRadiusX() - * @generated - * @ordered - */ - protected static final double RADIUS_X_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getRadiusX() Radius X}' attribute. - * - * @see #getRadiusX() - * @generated - * @ordered - */ - protected double radiusX = RADIUS_X_EDEFAULT; - - /** - * The default value of the '{@link #getRadiusY() Radius Y}' attribute. - * - * @see #getRadiusY() - * @generated - * @ordered - */ - protected static final double RADIUS_Y_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getRadiusY() Radius Y}' attribute. - * - * @see #getRadiusY() - * @generated - * @ordered - */ - protected double radiusY = RADIUS_Y_EDEFAULT; - - /** - * The default value of the '{@link #getRotation() Rotation}' attribute. - * - * @see #getRotation() - * @generated - * @ordered - */ - protected static final double ROTATION_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getRotation() Rotation}' attribute. - * - * @see #getRotation() - * @generated - * @ordered - */ - protected double rotation = ROTATION_EDEFAULT; - - /** - * The default value of the '{@link #getStartAngle() Start Angle}' attribute. - * - * @see #getStartAngle() - * @generated - * @ordered - */ - protected static final double START_ANGLE_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getStartAngle() Start Angle}' attribute. - * - * @see #getStartAngle() - * @generated - * @ordered - */ - protected double startAngle = START_ANGLE_EDEFAULT; - - /** - * The default value of the '{@link #getEndAngle() End Angle}' attribute. - * - * @see #getEndAngle() - * @generated - * @ordered - */ - protected static final double END_ANGLE_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getEndAngle() End Angle}' attribute. - * - * @see #getEndAngle() - * @generated - * @ordered - */ - protected double endAngle = END_ANGLE_EDEFAULT; - - /** - * - * - * @generated - */ - protected EllipseImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.ELLIPSE; - } - - /** - * - * - * @generated - */ - public Point getCenter() { - return center; - } - - /** - * - * - * @generated - */ - public void setCenter(Point newCenter) { - Point oldCenter = center; - center = newCenter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__CENTER, oldCenter, center)); - } - - /** - * - * - * @generated - */ - public double getRadiusX() { - return radiusX; - } - - /** - * - * - * @generated - */ - public void setRadiusX(double newRadiusX) { - double oldRadiusX = radiusX; - radiusX = newRadiusX; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__RADIUS_X, oldRadiusX, radiusX)); - } - - /** - * - * - * @generated - */ - public double getRadiusY() { - return radiusY; - } - - /** - * - * - * @generated - */ - public void setRadiusY(double newRadiusY) { - double oldRadiusY = radiusY; - radiusY = newRadiusY; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__RADIUS_Y, oldRadiusY, radiusY)); - } - - /** - * - * - * @generated - */ - public double getRotation() { - return rotation; - } - - /** - * - * - * @generated - */ - public void setRotation(double newRotation) { - double oldRotation = rotation; - rotation = newRotation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__ROTATION, oldRotation, rotation)); - } - - /** - * - * - * @generated - */ - public double getStartAngle() { - return startAngle; - } - - /** - * - * - * @generated - */ - public void setStartAngle(double newStartAngle) { - double oldStartAngle = startAngle; - startAngle = newStartAngle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__START_ANGLE, oldStartAngle, - startAngle)); - } - - /** - * - * - * @generated - */ - public double getEndAngle() { - return endAngle; - } - - /** - * - * - * @generated - */ - public void setEndAngle(double newEndAngle) { - double oldEndAngle = endAngle; - endAngle = newEndAngle; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.ELLIPSE__END_ANGLE, oldEndAngle, endAngle)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.ELLIPSE__CENTER: - return getCenter(); - case Di2Package.ELLIPSE__RADIUS_X: - return new Double(getRadiusX()); - case Di2Package.ELLIPSE__RADIUS_Y: - return new Double(getRadiusY()); - case Di2Package.ELLIPSE__ROTATION: - return new Double(getRotation()); - case Di2Package.ELLIPSE__START_ANGLE: - return new Double(getStartAngle()); - case Di2Package.ELLIPSE__END_ANGLE: - return new Double(getEndAngle()); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.ELLIPSE__CENTER: - setCenter((Point) newValue); - return; - case Di2Package.ELLIPSE__RADIUS_X: - setRadiusX(((Double) newValue).doubleValue()); - return; - case Di2Package.ELLIPSE__RADIUS_Y: - setRadiusY(((Double) newValue).doubleValue()); - return; - case Di2Package.ELLIPSE__ROTATION: - setRotation(((Double) newValue).doubleValue()); - return; - case Di2Package.ELLIPSE__START_ANGLE: - setStartAngle(((Double) newValue).doubleValue()); - return; - case Di2Package.ELLIPSE__END_ANGLE: - setEndAngle(((Double) newValue).doubleValue()); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.ELLIPSE__CENTER: - setCenter(CENTER_EDEFAULT); - return; - case Di2Package.ELLIPSE__RADIUS_X: - setRadiusX(RADIUS_X_EDEFAULT); - return; - case Di2Package.ELLIPSE__RADIUS_Y: - setRadiusY(RADIUS_Y_EDEFAULT); - return; - case Di2Package.ELLIPSE__ROTATION: - setRotation(ROTATION_EDEFAULT); - return; - case Di2Package.ELLIPSE__START_ANGLE: - setStartAngle(START_ANGLE_EDEFAULT); - return; - case Di2Package.ELLIPSE__END_ANGLE: - setEndAngle(END_ANGLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.ELLIPSE__CENTER: - return CENTER_EDEFAULT == null ? center != null : !CENTER_EDEFAULT.equals(center); - case Di2Package.ELLIPSE__RADIUS_X: - return radiusX != RADIUS_X_EDEFAULT; - case Di2Package.ELLIPSE__RADIUS_Y: - return radiusY != RADIUS_Y_EDEFAULT; - case Di2Package.ELLIPSE__ROTATION: - return rotation != ROTATION_EDEFAULT; - case Di2Package.ELLIPSE__START_ANGLE: - return startAngle != START_ANGLE_EDEFAULT; - case Di2Package.ELLIPSE__END_ANGLE: - return endAngle != END_ANGLE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (center: "); - result.append(center); - result.append(", radiusX: "); - result.append(radiusX); - result.append(", radiusY: "); - result.append(radiusY); - result.append(", rotation: "); - result.append(rotation); - result.append(", startAngle: "); - result.append(startAngle); - result.append(", endAngle: "); - result.append(endAngle); - result.append(')'); - return result.toString(); - } - -} // EllipseImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphConnectorImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphConnectorImpl.java deleted file mode 100644 index 5974aca3472..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphConnectorImpl.java +++ /dev/null @@ -1,328 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.GraphConnector; -import org.eclipse.papyrus.conversion.di2.GraphEdge; -import org.eclipse.papyrus.conversion.di2.GraphElement; - -/** - * An implementation of the model object 'Graph Connector'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl#getPosition - * Position}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl#getGraphEdge Graph - * Edge}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphConnectorImpl#getGraphElement - * Graph Element}
  • - *
- *

- * - * @generated - */ -public class GraphConnectorImpl extends EObjectImpl implements GraphConnector { - - /** - * The default value of the '{@link #getPosition() Position}' attribute. - * - * @see #getPosition() - * @generated - * @ordered - */ - protected static final Point POSITION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPosition() Position}' attribute. - * - * @see #getPosition() - * @generated - * @ordered - */ - protected Point position = POSITION_EDEFAULT; - - /** - * The cached value of the '{@link #getGraphEdge() Graph Edge}' reference list. - * - * @see #getGraphEdge() - * @generated - * @ordered - */ - protected EList graphEdge; - - /** - * - * - * @generated - */ - protected GraphConnectorImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.GRAPH_CONNECTOR; - } - - /** - * - * - * @generated - */ - public Point getPosition() { - return position; - } - - /** - * - * - * @generated - */ - public void setPosition(Point newPosition) { - Point oldPosition = position; - position = newPosition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.GRAPH_CONNECTOR__POSITION, oldPosition, - position)); - } - - /** - * - * - * @generated - */ - public EList getGraphEdge() { - if (graphEdge == null) { - graphEdge = new EObjectWithInverseResolvingEList.ManyInverse(GraphEdge.class, this, - Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE, Di2Package.GRAPH_EDGE__ANCHOR); - } - return graphEdge; - } - - /** - * - * - * @generated - */ - public GraphElement getGraphElement() { - if (eContainerFeatureID != Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT) - return null; - return (GraphElement) eContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetGraphElement(GraphElement newGraphElement, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject) newGraphElement, Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - public void setGraphElement(GraphElement newGraphElement) { - if (newGraphElement != eInternalContainer() - || (eContainerFeatureID != Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT && newGraphElement != null)) { - if (EcoreUtil.isAncestor(this, newGraphElement)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newGraphElement != null) - msgs = ((InternalEObject) newGraphElement).eInverseAdd(this, Di2Package.GRAPH_ELEMENT__ANCHORAGE, - GraphElement.class, msgs); - msgs = basicSetGraphElement(newGraphElement, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT, - newGraphElement, newGraphElement)); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - return ((InternalEList) (InternalEList) getGraphEdge()).basicAdd(otherEnd, msgs); - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetGraphElement((GraphElement) otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - return ((InternalEList) getGraphEdge()).basicRemove(otherEnd, msgs); - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - return basicSetGraphElement(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - return eInternalContainer().eInverseRemove(this, Di2Package.GRAPH_ELEMENT__ANCHORAGE, GraphElement.class, - msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__POSITION: - return getPosition(); - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - return getGraphEdge(); - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - return getGraphElement(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__POSITION: - setPosition((Point) newValue); - return; - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - getGraphEdge().clear(); - getGraphEdge().addAll((Collection) newValue); - return; - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - setGraphElement((GraphElement) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__POSITION: - setPosition(POSITION_EDEFAULT); - return; - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - getGraphEdge().clear(); - return; - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - setGraphElement((GraphElement) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_CONNECTOR__POSITION: - return POSITION_EDEFAULT == null ? position != null : !POSITION_EDEFAULT.equals(position); - case Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE: - return graphEdge != null && !graphEdge.isEmpty(); - case Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT: - return getGraphElement() != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (position: "); - result.append(position); - result.append(')'); - return result.toString(); - } - -} // GraphConnectorImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphEdgeImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphEdgeImpl.java deleted file mode 100644 index 94ab66b63da..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphEdgeImpl.java +++ /dev/null @@ -1,278 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.draw2d.geometry.Point; - -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.EDataTypeUniqueEList; -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.GraphConnector; -import org.eclipse.papyrus.conversion.di2.GraphEdge; -import org.eclipse.papyrus.conversion.di2.GraphElement; - -/** - * An implementation of the model object 'Graph Edge'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl#getAnchor Anchor}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphEdgeImpl#getWaypoints Waypoints - * }
  • - *
- *

- * - * @generated - */ -public class GraphEdgeImpl extends GraphElementImpl implements GraphEdge { - - /** - * The cached value of the '{@link #getAnchor() Anchor}' reference list. - * - * @see #getAnchor() - * @generated - * @ordered - */ - protected EList anchor; - - /** - * The cached value of the '{@link #getWaypoints() Waypoints}' attribute list. - * - * @see #getWaypoints() - * @generated - * @ordered - */ - protected EList waypoints; - - /** - * - * - * @generated - */ - protected GraphEdgeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.GRAPH_EDGE; - } - - /** - * - * - * @generated - */ - public EList getAnchor() { - if (anchor == null) { - anchor = new EObjectWithInverseResolvingEList.ManyInverse(GraphConnector.class, this, - Di2Package.GRAPH_EDGE__ANCHOR, Di2Package.GRAPH_CONNECTOR__GRAPH_EDGE); - } - return anchor; - } - - /** - * - * - * @generated - */ - public EList getWaypoints() { - if (waypoints == null) { - waypoints = new EDataTypeUniqueEList(Point.class, this, Di2Package.GRAPH_EDGE__WAYPOINTS); - } - return waypoints; - } - - /** - * - * - * @generated - */ - public GraphElement getAnchorSource() { - return ((GraphConnector) getAnchor().get(0)).getGraphElement(); - } - - /** - * - * - * @generated - */ - public GraphElement getAnchorTarget() { - return ((GraphConnector) getAnchor().get(1)).getGraphElement(); - } - - /** - * - * - * @generated - */ - public void setAnchorSource(GraphElement value) { - initConnectors(); - ((GraphConnector) getAnchor().get(0)).setGraphElement(value); - } - - /** - * - * - * @generated - */ - public void setAnchorTarget(GraphElement value) { - initConnectors(); - ((GraphConnector) getAnchor().get(1)).setGraphElement(value); - } - - /** - * - * - * @generated - */ - public void initConnectors() { - if (!getAnchor().isEmpty()) - return; - - getAnchor().add(Di2Package.eINSTANCE.getDi2Factory().createGraphConnector()); - getAnchor().add(Di2Package.eINSTANCE.getDi2Factory().createGraphConnector()); - - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - return ((InternalEList) (InternalEList) getAnchor()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - return ((InternalEList) getAnchor()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - return getAnchor(); - case Di2Package.GRAPH_EDGE__WAYPOINTS: - return getWaypoints(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - getAnchor().clear(); - getAnchor().addAll((Collection) newValue); - return; - case Di2Package.GRAPH_EDGE__WAYPOINTS: - getWaypoints().clear(); - getWaypoints().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - getAnchor().clear(); - return; - case Di2Package.GRAPH_EDGE__WAYPOINTS: - getWaypoints().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_EDGE__ANCHOR: - return anchor != null && !anchor.isEmpty(); - case Di2Package.GRAPH_EDGE__WAYPOINTS: - return waypoints != null && !waypoints.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (waypoints: "); - result.append(waypoints); - result.append(')'); - return result.toString(); - } - -} // GraphEdgeImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphElementImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphElementImpl.java deleted file mode 100644 index 3cbe314b11f..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphElementImpl.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.draw2d.geometry.Point; - -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.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.DiagramElement; -import org.eclipse.papyrus.conversion.di2.DiagramLink; -import org.eclipse.papyrus.conversion.di2.GraphConnector; -import org.eclipse.papyrus.conversion.di2.GraphElement; -import org.eclipse.papyrus.conversion.di2.SemanticModelBridge; - -/** - * An implementation of the model object 'Graph Element'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl#getContained - * Contained}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl#getLink Link}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl#getSemanticModel - * Semantic Model}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl#getPosition Position - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphElementImpl#getAnchorage - * Anchorage}
  • - *
- *

- * - * @generated - */ -public class GraphElementImpl extends DiagramElementImpl implements GraphElement { - - /** - * The cached value of the '{@link #getContained() Contained}' containment reference - * list. - * - * @see #getContained() - * @generated - * @ordered - */ - protected EList contained; - - /** - * The cached value of the '{@link #getLink() Link}' containment reference list. - * - * @see #getLink() - * @generated - * @ordered - */ - protected EList link; - - /** - * The cached value of the '{@link #getSemanticModel() Semantic Model}' containment - * reference. - * - * @see #getSemanticModel() - * @generated - * @ordered - */ - protected SemanticModelBridge semanticModel; - - /** - * The default value of the '{@link #getPosition() Position}' attribute. - * - * @see #getPosition() - * @generated - * @ordered - */ - protected static final Point POSITION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPosition() Position}' attribute. - * - * @see #getPosition() - * @generated - * @ordered - */ - protected Point position = POSITION_EDEFAULT; - - /** - * The cached value of the '{@link #getAnchorage() Anchorage}' containment reference - * list. - * - * @see #getAnchorage() - * @generated - * @ordered - */ - protected EList anchorage; - - /** - * - * - * @generated - */ - protected GraphElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.GRAPH_ELEMENT; - } - - /** - * - * - * @generated - */ - public EList getContained() { - if (contained == null) { - contained = new EObjectContainmentWithInverseEList(DiagramElement.class, this, - Di2Package.GRAPH_ELEMENT__CONTAINED, Di2Package.DIAGRAM_ELEMENT__CONTAINER); - } - return contained; - } - - /** - * - * - * @generated - */ - public EList getLink() { - if (link == null) { - link = new EObjectContainmentEList(DiagramLink.class, this, Di2Package.GRAPH_ELEMENT__LINK); - } - return link; - } - - /** - * - * - * @generated - */ - public SemanticModelBridge getSemanticModel() { - return semanticModel; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetSemanticModel(SemanticModelBridge newSemanticModel, NotificationChain msgs) { - SemanticModelBridge oldSemanticModel = semanticModel; - semanticModel = newSemanticModel; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL, oldSemanticModel, newSemanticModel); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setSemanticModel(SemanticModelBridge newSemanticModel) { - if (newSemanticModel != semanticModel) { - NotificationChain msgs = null; - if (semanticModel != null) - msgs = ((InternalEObject) semanticModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - - Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL, null, msgs); - if (newSemanticModel != null) - msgs = ((InternalEObject) newSemanticModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - - Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL, null, msgs); - msgs = basicSetSemanticModel(newSemanticModel, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL, - newSemanticModel, newSemanticModel)); - } - - /** - * - * - * @generated - */ - public Point getPosition() { - return position; - } - - /** - * - * - * @generated - */ - public void setPosition(Point newPosition) { - Point oldPosition = position; - position = newPosition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.GRAPH_ELEMENT__POSITION, oldPosition, - position)); - } - - /** - * - * - * @generated - */ - public EList getAnchorage() { - if (anchorage == null) { - anchorage = new EObjectContainmentWithInverseEList(GraphConnector.class, this, - Di2Package.GRAPH_ELEMENT__ANCHORAGE, Di2Package.GRAPH_CONNECTOR__GRAPH_ELEMENT); - } - return anchorage; - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - return ((InternalEList) (InternalEList) getContained()).basicAdd(otherEnd, msgs); - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - return ((InternalEList) (InternalEList) getAnchorage()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - return ((InternalEList) getContained()).basicRemove(otherEnd, msgs); - case Di2Package.GRAPH_ELEMENT__LINK: - return ((InternalEList) getLink()).basicRemove(otherEnd, msgs); - case Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL: - return basicSetSemanticModel(null, msgs); - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - return ((InternalEList) getAnchorage()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - return getContained(); - case Di2Package.GRAPH_ELEMENT__LINK: - return getLink(); - case Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL: - return getSemanticModel(); - case Di2Package.GRAPH_ELEMENT__POSITION: - return getPosition(); - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - return getAnchorage(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - getContained().clear(); - getContained().addAll((Collection) newValue); - return; - case Di2Package.GRAPH_ELEMENT__LINK: - getLink().clear(); - getLink().addAll((Collection) newValue); - return; - case Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL: - setSemanticModel((SemanticModelBridge) newValue); - return; - case Di2Package.GRAPH_ELEMENT__POSITION: - setPosition((Point) newValue); - return; - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - getAnchorage().clear(); - getAnchorage().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - getContained().clear(); - return; - case Di2Package.GRAPH_ELEMENT__LINK: - getLink().clear(); - return; - case Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL: - setSemanticModel((SemanticModelBridge) null); - return; - case Di2Package.GRAPH_ELEMENT__POSITION: - setPosition(POSITION_EDEFAULT); - return; - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - getAnchorage().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_ELEMENT__CONTAINED: - return contained != null && !contained.isEmpty(); - case Di2Package.GRAPH_ELEMENT__LINK: - return link != null && !link.isEmpty(); - case Di2Package.GRAPH_ELEMENT__SEMANTIC_MODEL: - return semanticModel != null; - case Di2Package.GRAPH_ELEMENT__POSITION: - return POSITION_EDEFAULT == null ? position != null : !POSITION_EDEFAULT.equals(position); - case Di2Package.GRAPH_ELEMENT__ANCHORAGE: - return anchorage != null && !anchorage.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (position: "); - result.append(position); - result.append(')'); - return result.toString(); - } - -} // GraphElementImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphNodeImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphNodeImpl.java deleted file mode 100644 index 93d11a18ecf..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphNodeImpl.java +++ /dev/null @@ -1,169 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.draw2d.geometry.Dimension; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.GraphNode; - -/** - * An implementation of the model object 'Graph Node'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.GraphNodeImpl#getSize Size}
  • - *
- *

- * - * @generated - */ -public class GraphNodeImpl extends GraphElementImpl implements GraphNode { - - /** - * The default value of the '{@link #getSize() Size}' attribute. - * - * @see #getSize() - * @generated - * @ordered - */ - protected static final Dimension SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSize() Size}' attribute. - * - * - * @see #getSize() - * @generated - * @ordered - */ - protected Dimension size = SIZE_EDEFAULT; - - /** - * - * - * @generated - */ - protected GraphNodeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.GRAPH_NODE; - } - - /** - * - * - * @generated - */ - public Dimension getSize() { - return size; - } - - /** - * - * - * @generated - */ - public void setSize(Dimension newSize) { - Dimension oldSize = size; - size = newSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.GRAPH_NODE__SIZE, oldSize, size)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.GRAPH_NODE__SIZE: - return getSize(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.GRAPH_NODE__SIZE: - setSize((Dimension) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_NODE__SIZE: - setSize(SIZE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.GRAPH_NODE__SIZE: - return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (size: "); - result.append(size); - result.append(')'); - return result.toString(); - } - -} // GraphNodeImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphicPrimitiveImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphicPrimitiveImpl.java deleted file mode 100644 index 3f6c49353ab..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/GraphicPrimitiveImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.GraphicPrimitive; - -/** - * An implementation of the model object 'Graphic Primitive - * '. - *

- *

- * - * @generated - */ -public class GraphicPrimitiveImpl extends LeafElementImpl implements GraphicPrimitive { - - /** - * - * - * @generated - */ - protected GraphicPrimitiveImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.GRAPHIC_PRIMITIVE; - } - -} // GraphicPrimitiveImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ImageImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ImageImpl.java deleted file mode 100644 index 7b2af5b32ae..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ImageImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Image; - -/** - * An implementation of the model object 'Image'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.ImageImpl#getUri Uri}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.ImageImpl#getMimeType Mime Type} - *
  • - *
- *

- * - * @generated - */ -public class ImageImpl extends LeafElementImpl implements Image { - - /** - * The default value of the '{@link #getUri() Uri}' attribute. - * - * - * @see #getUri() - * @generated - * @ordered - */ - protected static final String URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUri() Uri}' attribute. - * - * - * @see #getUri() - * @generated - * @ordered - */ - protected String uri = URI_EDEFAULT; - - /** - * The default value of the '{@link #getMimeType() Mime Type}' attribute. - * - * @see #getMimeType() - * @generated - * @ordered - */ - protected static final String MIME_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMimeType() Mime Type}' attribute. - * - * @see #getMimeType() - * @generated - * @ordered - */ - protected String mimeType = MIME_TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected ImageImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.IMAGE; - } - - /** - * - * - * @generated - */ - public String getUri() { - return uri; - } - - /** - * - * - * @generated - */ - public void setUri(String newUri) { - String oldUri = uri; - uri = newUri; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.IMAGE__URI, oldUri, uri)); - } - - /** - * - * - * @generated - */ - public String getMimeType() { - return mimeType; - } - - /** - * - * - * @generated - */ - public void setMimeType(String newMimeType) { - String oldMimeType = mimeType; - mimeType = newMimeType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.IMAGE__MIME_TYPE, oldMimeType, mimeType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.IMAGE__URI: - return getUri(); - case Di2Package.IMAGE__MIME_TYPE: - return getMimeType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.IMAGE__URI: - setUri((String) newValue); - return; - case Di2Package.IMAGE__MIME_TYPE: - setMimeType((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.IMAGE__URI: - setUri(URI_EDEFAULT); - return; - case Di2Package.IMAGE__MIME_TYPE: - setMimeType(MIME_TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.IMAGE__URI: - return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri); - case Di2Package.IMAGE__MIME_TYPE: - return MIME_TYPE_EDEFAULT == null ? mimeType != null : !MIME_TYPE_EDEFAULT.equals(mimeType); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (uri: "); - result.append(uri); - result.append(", mimeType: "); - result.append(mimeType); - result.append(')'); - return result.toString(); - } - -} // ImageImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/LeafElementImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/LeafElementImpl.java deleted file mode 100644 index be2328258cc..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/LeafElementImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.LeafElement; - -/** - * An implementation of the model object 'Leaf Element'. - * - *

- *

- * - * @generated - */ -public class LeafElementImpl extends DiagramElementImpl implements LeafElement { - - /** - * - * - * @generated - */ - protected LeafElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.LEAF_ELEMENT; - } - -} // LeafElementImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PolilyneImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PolilyneImpl.java deleted file mode 100644 index dc6b3e64f2a..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PolilyneImpl.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.impl; - - -import java.util.Collection; - -import org.eclipse.draw2d.geometry.Point; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Polilyne; - -/** - * An implementation of the model object 'Polilyne'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl#getWaypoints Waypoints - * }
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.PolilyneImpl#getClosed Closed}
  • - *
- *

- * - * @generated - */ -public class PolilyneImpl extends GraphicPrimitiveImpl implements Polilyne { - - /** - * The cached value of the '{@link #getWaypoints() Waypoints}' attribute list. - * - * @see #getWaypoints() - * @generated - * @ordered - */ - protected EList waypoints; - - /** - * The cached value of the '{@link #getClosed() Closed}' attribute list. - * - * @see #getClosed() - * @generated - * @ordered - */ - protected EList closed; - - /** - * - * - * @generated - */ - protected PolilyneImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.POLILYNE; - } - - /** - * - * - * @generated - */ - public EList getWaypoints() { - if (waypoints == null) { - waypoints = new EDataTypeUniqueEList(Point.class, this, Di2Package.POLILYNE__WAYPOINTS); - } - return waypoints; - } - - /** - * - * - * @generated - */ - public EList getClosed() { - if (closed == null) { - closed = new EDataTypeUniqueEList(Boolean.class, this, Di2Package.POLILYNE__CLOSED); - } - return closed; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.POLILYNE__WAYPOINTS: - return getWaypoints(); - case Di2Package.POLILYNE__CLOSED: - return getClosed(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.POLILYNE__WAYPOINTS: - getWaypoints().clear(); - getWaypoints().addAll((Collection) newValue); - return; - case Di2Package.POLILYNE__CLOSED: - getClosed().clear(); - getClosed().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.POLILYNE__WAYPOINTS: - getWaypoints().clear(); - return; - case Di2Package.POLILYNE__CLOSED: - getClosed().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.POLILYNE__WAYPOINTS: - return waypoints != null && !waypoints.isEmpty(); - case Di2Package.POLILYNE__CLOSED: - return closed != null && !closed.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (waypoints: "); - result.append(waypoints); - result.append(", closed: "); - result.append(closed); - result.append(')'); - return result.toString(); - } - -} // PolilyneImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PropertyImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PropertyImpl.java deleted file mode 100644 index 67a576ad15c..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/PropertyImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Property; - -/** - * An implementation of the model object 'Property'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.PropertyImpl#getKey Key}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.PropertyImpl#getValue Value}
  • - *
- *

- * - * @generated - */ -public class PropertyImpl extends EObjectImpl implements Property { - - /** - * The default value of the '{@link #getKey() Key}' attribute. - * - * - * @see #getKey() - * @generated - * @ordered - */ - protected static final String KEY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getKey() Key}' attribute. - * - * - * @see #getKey() - * @generated - * @ordered - */ - protected String key = KEY_EDEFAULT; - - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected PropertyImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.PROPERTY; - } - - /** - * - * - * @generated - */ - public String getKey() { - return key; - } - - /** - * - * - * @generated - */ - public void setKey(String newKey) { - String oldKey = key; - key = newKey; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.PROPERTY__KEY, oldKey, key)); - } - - /** - * - * - * @generated - */ - public String getValue() { - return value; - } - - /** - * - * - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.PROPERTY__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.PROPERTY__KEY: - return getKey(); - case Di2Package.PROPERTY__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.PROPERTY__KEY: - setKey((String) newValue); - return; - case Di2Package.PROPERTY__VALUE: - setValue((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.PROPERTY__KEY: - setKey(KEY_EDEFAULT); - return; - case Di2Package.PROPERTY__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.PROPERTY__KEY: - return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); - case Di2Package.PROPERTY__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (key: "); - result.append(key); - result.append(", value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} // PropertyImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ReferenceImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ReferenceImpl.java deleted file mode 100644 index 226ceecd230..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/ReferenceImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.DiagramElement; -import org.eclipse.papyrus.conversion.di2.Reference; - -/** - * An implementation of the model object 'Reference'. - *

- * The following features are implemented: - *

    - *
  • - * {@link org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl#isIsIndividualRepresentation - * Is Individual Representation}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.ReferenceImpl#getReferenced - * Referenced}
  • - *
- *

- * - * @generated - */ -public class ReferenceImpl extends DiagramElementImpl implements Reference { - - /** - * The default value of the '{@link #isIsIndividualRepresentation() - * Is Individual Representation}' attribute. - * - * @see #isIsIndividualRepresentation() - * @generated - * @ordered - */ - protected static final boolean IS_INDIVIDUAL_REPRESENTATION_EDEFAULT = false; - - /** - * The cached value of the '{@link #isIsIndividualRepresentation() - * Is Individual Representation}' attribute. - * - * @see #isIsIndividualRepresentation() - * @generated - * @ordered - */ - protected boolean isIndividualRepresentation = IS_INDIVIDUAL_REPRESENTATION_EDEFAULT; - - /** - * The cached value of the '{@link #getReferenced() Referenced}' reference. - * - * @see #getReferenced() - * @generated - * @ordered - */ - protected DiagramElement referenced; - - /** - * - * - * @generated - */ - protected ReferenceImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.REFERENCE; - } - - /** - * - * - * @generated - */ - public boolean isIsIndividualRepresentation() { - return isIndividualRepresentation; - } - - /** - * - * - * @generated - */ - public void setIsIndividualRepresentation(boolean newIsIndividualRepresentation) { - boolean oldIsIndividualRepresentation = isIndividualRepresentation; - isIndividualRepresentation = newIsIndividualRepresentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.REFERENCE__IS_INDIVIDUAL_REPRESENTATION, - oldIsIndividualRepresentation, isIndividualRepresentation)); - } - - /** - * - * - * @generated - */ - public DiagramElement getReferenced() { - if (referenced != null && referenced.eIsProxy()) { - InternalEObject oldReferenced = (InternalEObject) referenced; - referenced = (DiagramElement) eResolveProxy(oldReferenced); - if (referenced != oldReferenced) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, Di2Package.REFERENCE__REFERENCED, - oldReferenced, referenced)); - } - } - return referenced; - } - - /** - * - * - * @generated - */ - public DiagramElement basicGetReferenced() { - return referenced; - } - - /** - * - * - * @generated - */ - public void setReferenced(DiagramElement newReferenced) { - DiagramElement oldReferenced = referenced; - referenced = newReferenced; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.REFERENCE__REFERENCED, oldReferenced, - referenced)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.REFERENCE__IS_INDIVIDUAL_REPRESENTATION: - return isIsIndividualRepresentation() ? Boolean.TRUE : Boolean.FALSE; - case Di2Package.REFERENCE__REFERENCED: - if (resolve) - return getReferenced(); - return basicGetReferenced(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.REFERENCE__IS_INDIVIDUAL_REPRESENTATION: - setIsIndividualRepresentation(((Boolean) newValue).booleanValue()); - return; - case Di2Package.REFERENCE__REFERENCED: - setReferenced((DiagramElement) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.REFERENCE__IS_INDIVIDUAL_REPRESENTATION: - setIsIndividualRepresentation(IS_INDIVIDUAL_REPRESENTATION_EDEFAULT); - return; - case Di2Package.REFERENCE__REFERENCED: - setReferenced((DiagramElement) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.REFERENCE__IS_INDIVIDUAL_REPRESENTATION: - return isIndividualRepresentation != IS_INDIVIDUAL_REPRESENTATION_EDEFAULT; - case Di2Package.REFERENCE__REFERENCED: - return referenced != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (isIndividualRepresentation: "); - result.append(isIndividualRepresentation); - result.append(')'); - return result.toString(); - } - -} // ReferenceImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SemanticModelBridgeImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SemanticModelBridgeImpl.java deleted file mode 100644 index ca74d4c0bd7..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SemanticModelBridgeImpl.java +++ /dev/null @@ -1,236 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.emf.ecore.impl.EObjectImpl; -import org.eclipse.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.GraphElement; -import org.eclipse.papyrus.conversion.di2.SemanticModelBridge; - -/** - * An implementation of the model object ' - * Semantic Model Bridge'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl#getPresentation - * Presentation}
  • - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.SemanticModelBridgeImpl#getGraphElement - * Graph Element}
  • - *
- *

- * - * @generated - */ -public class SemanticModelBridgeImpl extends EObjectImpl implements SemanticModelBridge { - - /** - * The default value of the '{@link #getPresentation() Presentation}' attribute. - * - * @see #getPresentation() - * @generated - * @ordered - */ - protected static final String PRESENTATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPresentation() Presentation}' attribute. - * - * @see #getPresentation() - * @generated - * @ordered - */ - protected String presentation = PRESENTATION_EDEFAULT; - - /** - * The cached value of the '{@link #getGraphElement() Graph Element}' reference. - * - * @see #getGraphElement() - * @generated - * @ordered - */ - protected GraphElement graphElement; - - /** - * - * - * @generated - */ - protected SemanticModelBridgeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.SEMANTIC_MODEL_BRIDGE; - } - - /** - * - * - * @generated - */ - public String getPresentation() { - return presentation; - } - - /** - * - * - * @generated - */ - public void setPresentation(String newPresentation) { - String oldPresentation = presentation; - presentation = newPresentation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.SEMANTIC_MODEL_BRIDGE__PRESENTATION, - oldPresentation, presentation)); - } - - /** - * - * - * @generated - */ - public GraphElement getGraphElement() { - if (graphElement != null && graphElement.eIsProxy()) { - InternalEObject oldGraphElement = (InternalEObject) graphElement; - graphElement = (GraphElement) eResolveProxy(oldGraphElement); - if (graphElement != oldGraphElement) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT, oldGraphElement, graphElement)); - } - } - return graphElement; - } - - /** - * - * - * @generated - */ - public GraphElement basicGetGraphElement() { - return graphElement; - } - - /** - * - * - * @generated - */ - public void setGraphElement(GraphElement newGraphElement) { - GraphElement oldGraphElement = graphElement; - graphElement = newGraphElement; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT, - oldGraphElement, graphElement)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.SEMANTIC_MODEL_BRIDGE__PRESENTATION: - return getPresentation(); - case Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT: - if (resolve) - return getGraphElement(); - return basicGetGraphElement(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.SEMANTIC_MODEL_BRIDGE__PRESENTATION: - setPresentation((String) newValue); - return; - case Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT: - setGraphElement((GraphElement) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.SEMANTIC_MODEL_BRIDGE__PRESENTATION: - setPresentation(PRESENTATION_EDEFAULT); - return; - case Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT: - setGraphElement((GraphElement) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.SEMANTIC_MODEL_BRIDGE__PRESENTATION: - return PRESENTATION_EDEFAULT == null ? presentation != null : !PRESENTATION_EDEFAULT.equals(presentation); - case Di2Package.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT: - return graphElement != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (presentation: "); - result.append(presentation); - result.append(')'); - return result.toString(); - } - -} // SemanticModelBridgeImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SimpleSemanticModelElementImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SimpleSemanticModelElementImpl.java deleted file mode 100644 index 82b4ddbe206..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/SimpleSemanticModelElementImpl.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement; - -/** - * An implementation of the model object ' - * Simple Semantic Model Element'. - *

- * The following features are implemented: - *

    - *
  • - * {@link org.eclipse.papyrus.conversion.di2.impl.SimpleSemanticModelElementImpl#getTypeinfo - * Typeinfo}
  • - *
- *

- * - * @generated - */ -public class SimpleSemanticModelElementImpl extends SemanticModelBridgeImpl implements SimpleSemanticModelElement { - - /** - * The default value of the '{@link #getTypeinfo() Typeinfo}' attribute. - * - * @see #getTypeinfo() - * @generated - * @ordered - */ - protected static final String TYPEINFO_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTypeinfo() Typeinfo}' attribute. - * - * @see #getTypeinfo() - * @generated - * @ordered - */ - protected String typeinfo = TYPEINFO_EDEFAULT; - - /** - * - * - * @generated - */ - protected SimpleSemanticModelElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.SIMPLE_SEMANTIC_MODEL_ELEMENT; - } - - /** - * - * - * @generated - */ - public String getTypeinfo() { - return typeinfo; - } - - /** - * - * - * @generated - */ - public void setTypeinfo(String newTypeinfo) { - String oldTypeinfo = typeinfo; - typeinfo = newTypeinfo; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO, - oldTypeinfo, typeinfo)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO: - return getTypeinfo(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO: - setTypeinfo((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO: - setTypeinfo(TYPEINFO_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO: - return TYPEINFO_EDEFAULT == null ? typeinfo != null : !TYPEINFO_EDEFAULT.equals(typeinfo); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (typeinfo: "); - result.append(typeinfo); - result.append(')'); - return result.toString(); - } - -} // SimpleSemanticModelElementImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/TextElementImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/TextElementImpl.java deleted file mode 100644 index e4f1e5e3b77..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/TextElementImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.TextElement; - -/** - * An implementation of the model object 'Text Element'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.TextElementImpl#getText Text}
  • - *
- *

- * - * @generated - */ -public class TextElementImpl extends LeafElementImpl implements TextElement { - - /** - * The default value of the '{@link #getText() Text}' attribute. - * - * @see #getText() - * @generated - * @ordered - */ - protected static final String TEXT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getText() Text}' attribute. - * - * - * @see #getText() - * @generated - * @ordered - */ - protected String text = TEXT_EDEFAULT; - - /** - * - * - * @generated - */ - protected TextElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.TEXT_ELEMENT; - } - - /** - * - * - * @generated - */ - public String getText() { - return text; - } - - /** - * - * - * @generated - */ - public void setText(String newText) { - String oldText = text; - text = newText; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.TEXT_ELEMENT__TEXT, oldText, text)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.TEXT_ELEMENT__TEXT: - return getText(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.TEXT_ELEMENT__TEXT: - setText((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.TEXT_ELEMENT__TEXT: - setText(TEXT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.TEXT_ELEMENT__TEXT: - return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (text: "); - result.append(text); - result.append(')'); - return result.toString(); - } - -} // TextElementImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Uml1SemanticModelBridgeImpl.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Uml1SemanticModelBridgeImpl.java deleted file mode 100644 index 3d621c99157..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Uml1SemanticModelBridgeImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.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.papyrus.conversion.di2.Di2Package; -import org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge; -import org.eclipse.uml2.uml.Element; - -/** - * An implementation of the model object ' - * Uml1 Semantic Model Bridge'. - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.conversion.di2.impl.Uml1SemanticModelBridgeImpl#getElement - * Element}
  • - *
- *

- * - * @generated - */ -public class Uml1SemanticModelBridgeImpl extends SemanticModelBridgeImpl implements Uml1SemanticModelBridge { - - /** - * The cached value of the '{@link #getElement() Element}' reference. - * - * @see #getElement() - * @generated - * @ordered - */ - protected Element element; - - /** - * - * - * @generated - */ - protected Uml1SemanticModelBridgeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return Di2Package.Literals.UML1_SEMANTIC_MODEL_BRIDGE; - } - - /** - * - * - * @generated - */ - public Element getElement() { - if (element != null && element.eIsProxy()) { - InternalEObject oldElement = (InternalEObject) element; - element = (Element) eResolveProxy(oldElement); - if (element != oldElement) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT, oldElement, element)); - } - } - return element; - } - - /** - * - * - * @generated - */ - public Element basicGetElement() { - return element; - } - - /** - * - * - * @generated - */ - public void setElement(Element newElement) { - Element oldElement = element; - element = newElement; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT, - oldElement, element)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT: - if (resolve) - return getElement(); - return basicGetElement(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT: - setElement((Element) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT: - setElement((Element) null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT: - return element != null; - } - return super.eIsSet(featureID); - } - -} // Uml1SemanticModelBridgeImpl diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2AdapterFactory.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2AdapterFactory.java deleted file mode 100644 index a93a23f7947..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2AdapterFactory.java +++ /dev/null @@ -1,481 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.util; - - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.conversion.di2.*; - -/** - * The Adapter Factory for the model. It provides an adapter - * createXXX method for each class of the model. - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package - * @generated - */ -public class Di2AdapterFactory extends AdapterFactoryImpl { - - /** - * The cached model package. - * - * @generated - */ - protected static Di2Package modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * @generated - */ - public Di2AdapterFactory() { - if (modelPackage == null) { - modelPackage = Di2Package.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package - * or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the createXXX methods. - * - * @generated - */ - protected Di2Switch modelSwitch = new Di2Switch() { - - @Override - public Adapter caseDiagramElement(DiagramElement object) { - return createDiagramElementAdapter(); - } - - @Override - public Adapter caseGraphElement(GraphElement object) { - return createGraphElementAdapter(); - } - - @Override - public Adapter caseReference(Reference object) { - return createReferenceAdapter(); - } - - @Override - public Adapter caseProperty(Property object) { - return createPropertyAdapter(); - } - - @Override - public Adapter caseGraphEdge(GraphEdge object) { - return createGraphEdgeAdapter(); - } - - @Override - public Adapter caseGraphConnector(GraphConnector object) { - return createGraphConnectorAdapter(); - } - - @Override - public Adapter caseGraphNode(GraphNode object) { - return createGraphNodeAdapter(); - } - - @Override - public Adapter caseDiagramLink(DiagramLink object) { - return createDiagramLinkAdapter(); - } - - @Override - public Adapter caseDiagram(Diagram object) { - return createDiagramAdapter(); - } - - @Override - public Adapter caseSemanticModelBridge(SemanticModelBridge object) { - return createSemanticModelBridgeAdapter(); - } - - @Override - public Adapter caseSimpleSemanticModelElement(SimpleSemanticModelElement object) { - return createSimpleSemanticModelElementAdapter(); - } - - @Override - public Adapter caseUml1SemanticModelBridge(Uml1SemanticModelBridge object) { - return createUml1SemanticModelBridgeAdapter(); - } - - @Override - public Adapter caseCoreSemanticModelBridge(CoreSemanticModelBridge object) { - return createCoreSemanticModelBridgeAdapter(); - } - - @Override - public Adapter caseLeafElement(LeafElement object) { - return createLeafElementAdapter(); - } - - @Override - public Adapter caseTextElement(TextElement object) { - return createTextElementAdapter(); - } - - @Override - public Adapter caseImage(Image object) { - return createImageAdapter(); - } - - @Override - public Adapter caseGraphicPrimitive(GraphicPrimitive object) { - return createGraphicPrimitiveAdapter(); - } - - @Override - public Adapter casePolilyne(Polilyne object) { - return createPolilyneAdapter(); - } - - @Override - public Adapter caseEllipse(Ellipse object) { - return createEllipseAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * @param target - * the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramElement Diagram Element}'. - * This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.DiagramElement - * @generated - */ - public Adapter createDiagramElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphElement Graph Element}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.GraphElement - * @generated - */ - public Adapter createGraphElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Reference Reference}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Reference - * @generated - */ - public Adapter createReferenceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Property Property}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Property - * @generated - */ - public Adapter createPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphEdge Graph Edge}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.GraphEdge - * @generated - */ - public Adapter createGraphEdgeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphConnector Graph Connector}'. - * This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.GraphConnector - * @generated - */ - public Adapter createGraphConnectorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphNode Graph Node}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.GraphNode - * @generated - */ - public Adapter createGraphNodeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.DiagramLink Diagram Link}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.DiagramLink - * @generated - */ - public Adapter createDiagramLinkAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Diagram Diagram}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Diagram - * @generated - */ - public Adapter createDiagramAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.SemanticModelBridge - * Semantic Model Bridge}'. This default implementation returns - * null so that we can easily ignore cases; it's useful to ignore a case when inheritance will - * catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.SemanticModelBridge - * @generated - */ - public Adapter createSemanticModelBridgeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement - * Simple Semantic Model Element}'. This default implementation - * returns null so that we can easily ignore cases; it's useful to ignore a case when - * inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.SimpleSemanticModelElement - * @generated - */ - public Adapter createSimpleSemanticModelElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge - * Uml1 Semantic Model Bridge}'. This default implementation - * returns null so that we can easily ignore cases; it's useful to ignore a case when - * inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Uml1SemanticModelBridge - * @generated - */ - public Adapter createUml1SemanticModelBridgeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.CoreSemanticModelBridge - * Core Semantic Model Bridge}'. This default implementation - * returns null so that we can easily ignore cases; it's useful to ignore a case when - * inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.CoreSemanticModelBridge - * @generated - */ - public Adapter createCoreSemanticModelBridgeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.LeafElement Leaf Element}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.LeafElement - * @generated - */ - public Adapter createLeafElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.TextElement Text Element}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.TextElement - * @generated - */ - public Adapter createTextElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Image Image}'. This default implementation returns null so that we can easily ignore cases; it's useful - * to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Image - * @generated - */ - public Adapter createImageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.GraphicPrimitive Graphic Primitive}'. - * This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.GraphicPrimitive - * @generated - */ - public Adapter createGraphicPrimitiveAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Polilyne Polilyne}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Polilyne - * @generated - */ - public Adapter createPolilyneAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.papyrus.conversion.di2.Ellipse Ellipse}'. This default implementation returns null so that we can easily ignore - * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.papyrus.conversion.di2.Ellipse - * @generated - */ - public Adapter createEllipseAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. This default - * implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // Di2AdapterFactory diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2Switch.java b/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2Switch.java deleted file mode 100644 index 2f674ca01f2..00000000000 --- a/deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/util/Di2Switch.java +++ /dev/null @@ -1,574 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.conversion.di2.util; - - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.conversion.di2.*; - -/** - * The Switch for the model's inheritance hierarchy. It supports the - * call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for - * each class of the model, starting with the actual class of the object and proceeding up the - * inheritance hierarchy until a non-null result is returned, which is the result of the switch. - * - * - * @see org.eclipse.papyrus.conversion.di2.Di2Package - * @generated - */ -public class Di2Switch { - - /** - * The cached model package - * - * @generated - */ - protected static Di2Package modelPackage; - - /** - * Creates an instance of the switch. - * - * @generated - */ - public Di2Switch() { - if (modelPackage == null) { - modelPackage = Di2Package.eINSTANCE; - } - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; - * it yields that result. - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - public T doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; - * it yields that result. - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - protected T doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } else { - List eSuperTypes = theEClass.getESuperTypes(); - return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; - * it yields that result. - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case Di2Package.DIAGRAM_ELEMENT: { - DiagramElement diagramElement = (DiagramElement) theEObject; - T result = caseDiagramElement(diagramElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.GRAPH_ELEMENT: { - GraphElement graphElement = (GraphElement) theEObject; - T result = caseGraphElement(graphElement); - if (result == null) - result = caseDiagramElement(graphElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.REFERENCE: { - Reference reference = (Reference) theEObject; - T result = caseReference(reference); - if (result == null) - result = caseDiagramElement(reference); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.PROPERTY: { - Property property = (Property) theEObject; - T result = caseProperty(property); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.GRAPH_EDGE: { - GraphEdge graphEdge = (GraphEdge) theEObject; - T result = caseGraphEdge(graphEdge); - if (result == null) - result = caseGraphElement(graphEdge); - if (result == null) - result = caseDiagramElement(graphEdge); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.GRAPH_CONNECTOR: { - GraphConnector graphConnector = (GraphConnector) theEObject; - T result = caseGraphConnector(graphConnector); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.GRAPH_NODE: { - GraphNode graphNode = (GraphNode) theEObject; - T result = caseGraphNode(graphNode); - if (result == null) - result = caseGraphElement(graphNode); - if (result == null) - result = caseDiagramElement(graphNode); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.DIAGRAM_LINK: { - DiagramLink diagramLink = (DiagramLink) theEObject; - T result = caseDiagramLink(diagramLink); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.DIAGRAM: { - Diagram diagram = (Diagram) theEObject; - T result = caseDiagram(diagram); - if (result == null) - result = caseGraphNode(diagram); - if (result == null) - result = caseGraphElement(diagram); - if (result == null) - result = caseDiagramElement(diagram); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.SEMANTIC_MODEL_BRIDGE: { - SemanticModelBridge semanticModelBridge = (SemanticModelBridge) theEObject; - T result = caseSemanticModelBridge(semanticModelBridge); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.SIMPLE_SEMANTIC_MODEL_ELEMENT: { - SimpleSemanticModelElement simpleSemanticModelElement = (SimpleSemanticModelElement) theEObject; - T result = caseSimpleSemanticModelElement(simpleSemanticModelElement); - if (result == null) - result = caseSemanticModelBridge(simpleSemanticModelElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.UML1_SEMANTIC_MODEL_BRIDGE: { - Uml1SemanticModelBridge uml1SemanticModelBridge = (Uml1SemanticModelBridge) theEObject; - T result = caseUml1SemanticModelBridge(uml1SemanticModelBridge); - if (result == null) - result = caseSemanticModelBridge(uml1SemanticModelBridge); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.CORE_SEMANTIC_MODEL_BRIDGE: { - CoreSemanticModelBridge coreSemanticModelBridge = (CoreSemanticModelBridge) theEObject; - T result = caseCoreSemanticModelBridge(coreSemanticModelBridge); - if (result == null) - result = caseSemanticModelBridge(coreSemanticModelBridge); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.LEAF_ELEMENT: { - LeafElement leafElement = (LeafElement) theEObject; - T result = caseLeafElement(leafElement); - if (result == null) - result = caseDiagramElement(leafElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.TEXT_ELEMENT: { - TextElement textElement = (TextElement) theEObject; - T result = caseTextElement(textElement); - if (result == null) - result = caseLeafElement(textElement); - if (result == null) - result = caseDiagramElement(textElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.IMAGE: { - Image image = (Image) theEObject; - T result = caseImage(image); - if (result == null) - result = caseLeafElement(image); - if (result == null) - result = caseDiagramElement(image); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.GRAPHIC_PRIMITIVE: { - GraphicPrimitive graphicPrimitive = (GraphicPrimitive) theEObject; - T result = caseGraphicPrimitive(graphicPrimitive); - if (result == null) - result = caseLeafElement(graphicPrimitive); - if (result == null) - result = caseDiagramElement(graphicPrimitive); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.POLILYNE: { - Polilyne polilyne = (Polilyne) theEObject; - T result = casePolilyne(polilyne); - if (result == null) - result = caseGraphicPrimitive(polilyne); - if (result == null) - result = caseLeafElement(polilyne); - if (result == null) - result = caseDiagramElement(polilyne); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case Di2Package.ELLIPSE: { - Ellipse ellipse = (Ellipse) theEObject; - T result = caseEllipse(ellipse); - if (result == null) - result = caseGraphicPrimitive(ellipse); - if (result == null) - result = caseLeafElement(ellipse); - if (result == null) - result = caseDiagramElement(ellipse); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Diagram Element'. - * This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Diagram Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiagramElement(DiagramElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Element'. - * This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphElement(GraphElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Reference'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReference(Reference object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Property'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Property'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProperty(Property object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Edge'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Edge'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphEdge(GraphEdge object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Connector'. - * This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Connector'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphConnector(GraphConnector object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Node'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Node'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphNode(GraphNode object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Diagram Link'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Diagram Link'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiagramLink(DiagramLink object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Diagram'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Diagram'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiagram(Diagram object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of ' - * Semantic Model Bridge'. This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of ' - * Semantic Model Bridge'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSemanticModelBridge(SemanticModelBridge object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of ' - * Simple Semantic Model Element'. This implementation returns - * null; returning a non-null result will terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of ' - * Simple Semantic Model Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSimpleSemanticModelElement(SimpleSemanticModelElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of ' - * Uml1 Semantic Model Bridge'. This implementation returns - * null; returning a non-null result will terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of ' - * Uml1 Semantic Model Bridge'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUml1SemanticModelBridge(Uml1SemanticModelBridge object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of ' - * Core Semantic Model Bridge'. This implementation returns - * null; returning a non-null result will terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of ' - * Core Semantic Model Bridge'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCoreSemanticModelBridge(CoreSemanticModelBridge object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Leaf Element'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Leaf Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLeafElement(LeafElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Text Element'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Text Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTextElement(TextElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Image'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Image'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImage(Image object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graphic Primitive'. - * This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Graphic Primitive'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphicPrimitive(GraphicPrimitive object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Polilyne'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Polilyne'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePolilyne(Polilyne object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Ellipse'. This implementation returns null; returning a non-null result will - * terminate the switch. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Ellipse'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEllipse(Ellipse object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will - * terminate the switch, but this is the last case anyway. - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public T defaultCase(EObject object) { - return null; - } - -} // Di2Switch -- cgit v1.2.3