Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java')
-rw-r--r--deprecated/org.eclipse.papyrus.conversion.di2/src/org/eclipse/papyrus/conversion/di2/impl/Di2PackageImpl.java1436
1 files changed, 0 insertions, 1436 deletions
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 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $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;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class Di2PackageImpl extends EPackageImpl implements Di2Package {
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass diagramElementEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass graphElementEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass referenceEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass propertyEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass graphEdgeEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass graphConnectorEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass graphNodeEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass diagramLinkEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass diagramEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass semanticModelBridgeEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass simpleSemanticModelElementEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass uml1SemanticModelBridgeEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass coreSemanticModelBridgeEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass leafElementEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass textElementEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass imageEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass graphicPrimitiveEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass polilyneEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass ellipseEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum papyrusKeyEnumerationEEnum = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType pointEDataType = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType dimensionEDataType = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType doubleEDataType = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType rgbEDataType = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType stringEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package package URI
- * value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init
- * init()}, which also performs initialization of the package, or returns the registered
- * package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others
- * upon which it depends. 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.
- * <p>
- * 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.
- * <p>
- * Invocation of this method will not affect any packages that have already been initialized.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDiagramElement() {
- return diagramElementEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramElement_Property() {
- return (EReference) diagramElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_IsVisible() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramElement_Reference() {
- return (EReference) diagramElementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramElement_Container() {
- return (EReference) diagramElementEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_FontFamily() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_FontSize() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_LineStyle() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_LineThickness() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_FontColor() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_ForegroundColor() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_BackgroundColor() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_BorderColor() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(11);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramElement_Translucent() {
- return (EAttribute) diagramElementEClass.getEStructuralFeatures().get(12);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramElement_SemanticParent() {
- return (EReference) diagramElementEClass.getEStructuralFeatures().get(13);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramElement_SemanticChild() {
- return (EReference) diagramElementEClass.getEStructuralFeatures().get(14);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getGraphElement() {
- return graphElementEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphElement_Contained() {
- return (EReference) graphElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphElement_Link() {
- return (EReference) graphElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphElement_SemanticModel() {
- return (EReference) graphElementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getGraphElement_Position() {
- return (EAttribute) graphElementEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphElement_Anchorage() {
- return (EReference) graphElementEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getReference() {
- return referenceEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getReference_IsIndividualRepresentation() {
- return (EAttribute) referenceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getReference_Referenced() {
- return (EReference) referenceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getProperty() {
- return propertyEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getProperty_Key() {
- return (EAttribute) propertyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getProperty_Value() {
- return (EAttribute) propertyEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getGraphEdge() {
- return graphEdgeEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphEdge_Anchor() {
- return (EReference) graphEdgeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getGraphEdge_Waypoints() {
- return (EAttribute) graphEdgeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getGraphConnector() {
- return graphConnectorEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getGraphConnector_Position() {
- return (EAttribute) graphConnectorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphConnector_GraphEdge() {
- return (EReference) graphConnectorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getGraphConnector_GraphElement() {
- return (EReference) graphConnectorEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getGraphNode() {
- return graphNodeEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getGraphNode_Size() {
- return (EAttribute) graphNodeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDiagramLink() {
- return diagramLinkEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramLink_Diagram() {
- return (EReference) diagramLinkEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramLink_Zoom() {
- return (EAttribute) diagramLinkEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagramLink_Viewport() {
- return (EAttribute) diagramLinkEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagramLink_GraphElement() {
- return (EReference) diagramLinkEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getDiagram() {
- return diagramEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagram_Owner() {
- return (EReference) diagramEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagram_Name() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagram_Zoom() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagram_Viewport() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getDiagram_DiagramLink() {
- return (EReference) diagramEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getDiagram_Type() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getSemanticModelBridge() {
- return semanticModelBridgeEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getSemanticModelBridge_Presentation() {
- return (EAttribute) semanticModelBridgeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getSemanticModelBridge_GraphElement() {
- return (EReference) semanticModelBridgeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getSimpleSemanticModelElement() {
- return simpleSemanticModelElementEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getSimpleSemanticModelElement_Typeinfo() {
- return (EAttribute) simpleSemanticModelElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getUml1SemanticModelBridge() {
- return uml1SemanticModelBridgeEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getUml1SemanticModelBridge_Element() {
- return (EReference) uml1SemanticModelBridgeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getCoreSemanticModelBridge() {
- return coreSemanticModelBridgeEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getLeafElement() {
- return leafElementEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTextElement() {
- return textElementEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTextElement_Text() {
- return (EAttribute) textElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getImage() {
- return imageEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getImage_Uri() {
- return (EAttribute) imageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getImage_MimeType() {
- return (EAttribute) imageEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getGraphicPrimitive() {
- return graphicPrimitiveEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getPolilyne() {
- return polilyneEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPolilyne_Waypoints() {
- return (EAttribute) polilyneEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPolilyne_Closed() {
- return (EAttribute) polilyneEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEllipse() {
- return ellipseEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_Center() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_RadiusX() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_RadiusY() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_Rotation() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_StartAngle() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEllipse_EndAngle() {
- return (EAttribute) ellipseEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EEnum getPapyrusKeyEnumeration() {
- return papyrusKeyEnumerationEEnum;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getPoint() {
- return pointEDataType;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getDimension() {
- return dimensionEDataType;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getDouble() {
- return doubleEDataType;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getRGB() {
- return rgbEDataType;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getString() {
- return stringEDataType;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Di2Factory getDi2Factory() {
- return (Di2Factory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @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

Back to the top