Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse')
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/CoreSemanticModelBridge.java64
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiFactory.java238
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiPackage.java4732
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Diagram.java199
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramElement.java481
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramLink.java153
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Ellipse.java209
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphConnector.java118
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphEdge.java122
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphElement.java150
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphNode.java64
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphicPrimitive.java28
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Image.java92
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/LeafElement.java28
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/PapyrusKeyEnumeration.java208
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Polilyne.java71
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Property.java93
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Reference.java92
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SemanticModelBridge.java93
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SimpleSemanticModelElement.java63
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/TextElement.java63
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Uml1SemanticModelBridge.java64
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/CoreSemanticModelBridgeImpl.java163
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiFactoryImpl.java554
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiPackageImpl.java1455
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramElementImpl.java1083
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramImpl.java498
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramLinkImpl.java380
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/EllipseImpl.java478
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphConnectorImpl.java346
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphEdgeImpl.java302
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphElementImpl.java421
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphNodeImpl.java188
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphicPrimitiveImpl.java53
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ImageImpl.java244
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/LeafElementImpl.java53
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PolilyneImpl.java209
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PropertyImpl.java245
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ReferenceImpl.java253
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SemanticModelBridgeImpl.java254
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SimpleSemanticModelElementImpl.java186
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/TextElementImpl.java186
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/Uml1SemanticModelBridgeImpl.java180
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiAdapterFactory.java504
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceFactoryImpl.java56
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceImpl.java51
-rw-r--r--deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiSwitch.java648
47 files changed, 0 insertions, 16415 deletions
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/CoreSemanticModelBridge.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/CoreSemanticModelBridge.java
deleted file mode 100644
index 21b24788fe4..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/CoreSemanticModelBridge.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Core Semantic Model Bridge</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.CoreSemanticModelBridge#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getCoreSemanticModelBridge()
- * @model
- * @generated
- */
-public interface CoreSemanticModelBridge extends SemanticModelBridge {
-
- /**
- * Returns the value of the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Element</em>' reference.
- * @see #setElement(EObject)
- * @see org.eclipse.papyrus.di.DiPackage#getCoreSemanticModelBridge_Element()
- * @model
- * @generated
- */
- EObject getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.CoreSemanticModelBridge#getElement <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Element</em>' reference.
- * @see #getElement()
- * @generated
- */
- void setElement(EObject value);
-
-} // CoreSemanticModelBridge
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiFactory.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiFactory.java
deleted file mode 100644
index 5ec201d7c6e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiFactory.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.DiPackage
- * @generated
- */
-public interface DiFactory extends EFactory {
-
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- DiFactory eINSTANCE = org.eclipse.papyrus.di.impl.DiFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Diagram Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Diagram Element</em>'.
- * @generated
- */
- DiagramElement createDiagramElement();
-
- /**
- * Returns a new object of class '<em>Graph Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Graph Element</em>'.
- * @generated
- */
- GraphElement createGraphElement();
-
- /**
- * Returns a new object of class '<em>Reference</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Reference</em>'.
- * @generated
- */
- Reference createReference();
-
- /**
- * Returns a new object of class '<em>Property</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Property</em>'.
- * @generated
- */
- Property createProperty();
-
- /**
- * Returns a new object of class '<em>Graph Edge</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Graph Edge</em>'.
- * @generated
- */
- GraphEdge createGraphEdge();
-
- /**
- * Returns a new object of class '<em>Graph Connector</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Graph Connector</em>'.
- * @generated
- */
- GraphConnector createGraphConnector();
-
- /**
- * Returns a new object of class '<em>Graph Node</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Graph Node</em>'.
- * @generated
- */
- GraphNode createGraphNode();
-
- /**
- * Returns a new object of class '<em>Diagram Link</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Diagram Link</em>'.
- * @generated
- */
- DiagramLink createDiagramLink();
-
- /**
- * Returns a new object of class '<em>Diagram</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Diagram</em>'.
- * @generated
- */
- Diagram createDiagram();
-
- /**
- * Returns a new object of class '<em>Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Semantic Model Bridge</em>'.
- * @generated
- */
- SemanticModelBridge createSemanticModelBridge();
-
- /**
- * Returns a new object of class '<em>Simple Semantic Model Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Simple Semantic Model Element</em>'.
- * @generated
- */
- SimpleSemanticModelElement createSimpleSemanticModelElement();
-
- /**
- * Returns a new object of class '<em>Uml1 Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Uml1 Semantic Model Bridge</em>'.
- * @generated
- */
- Uml1SemanticModelBridge createUml1SemanticModelBridge();
-
- /**
- * Returns a new object of class '<em>Core Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Core Semantic Model Bridge</em>'.
- * @generated
- */
- CoreSemanticModelBridge createCoreSemanticModelBridge();
-
- /**
- * Returns a new object of class '<em>Leaf Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Leaf Element</em>'.
- * @generated
- */
- LeafElement createLeafElement();
-
- /**
- * Returns a new object of class '<em>Text Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Text Element</em>'.
- * @generated
- */
- TextElement createTextElement();
-
- /**
- * Returns a new object of class '<em>Image</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Image</em>'.
- * @generated
- */
- Image createImage();
-
- /**
- * Returns a new object of class '<em>Graphic Primitive</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Graphic Primitive</em>'.
- * @generated
- */
- GraphicPrimitive createGraphicPrimitive();
-
- /**
- * Returns a new object of class '<em>Polilyne</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Polilyne</em>'.
- * @generated
- */
- Polilyne createPolilyne();
-
- /**
- * Returns a new object of class '<em>Ellipse</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Ellipse</em>'.
- * @generated
- */
- Ellipse createEllipse();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- DiPackage getDiPackage();
-
-} //DiFactory
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiPackage.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiPackage.java
deleted file mode 100644
index 6576edf5373..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiPackage.java
+++ /dev/null
@@ -1,4732 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-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;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.DiFactory
- * @model kind="package"
- * @generated
- */
-public interface DiPackage extends EPackage {
-
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "di";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/0.7.0/di";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "di";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- DiPackage eINSTANCE = org.eclipse.papyrus.di.impl.DiPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagramElement()
- * @generated
- */
- int DIAGRAM_ELEMENT = 0;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__PROPERTY = 0;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__IS_VISIBLE = 1;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__REFERENCE = 2;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__CONTAINER = 3;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__FONT_FAMILY = 4;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__FONT_SIZE = 5;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__LINE_STYLE = 6;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__LINE_THICKNESS = 7;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__FONT_COLOR = 8;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__FOREGROUND_COLOR = 9;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__BACKGROUND_COLOR = 10;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__BORDER_COLOR = 11;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__TRANSLUCENT = 12;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__SEMANTIC_PARENT = 13;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT__SEMANTIC_CHILD = 14;
-
- /**
- * The number of structural features of the '<em>Diagram Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_ELEMENT_FEATURE_COUNT = 15;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.GraphElementImpl <em>Graph Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphElement()
- * @generated
- */
- int GRAPH_ELEMENT = 1;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__PROPERTY = DIAGRAM_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__REFERENCE = DIAGRAM_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__CONTAINER = DIAGRAM_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Contained</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__CONTAINED = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Link</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__LINK = DIAGRAM_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Semantic Model</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__SEMANTIC_MODEL = DIAGRAM_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__POSITION = DIAGRAM_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Anchorage</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT__ANCHORAGE = DIAGRAM_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the '<em>Graph Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_ELEMENT_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.ReferenceImpl <em>Reference</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.ReferenceImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getReference()
- * @generated
- */
- int REFERENCE = 2;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__PROPERTY = DIAGRAM_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__REFERENCE = DIAGRAM_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__CONTAINER = DIAGRAM_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Is Individual Representation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__IS_INDIVIDUAL_REPRESENTATION = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Referenced</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE__REFERENCED = DIAGRAM_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Reference</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REFERENCE_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.PropertyImpl <em>Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.PropertyImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getProperty()
- * @generated
- */
- int PROPERTY = 3;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>Property</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.GraphEdgeImpl <em>Graph Edge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphEdgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphEdge()
- * @generated
- */
- int GRAPH_EDGE = 4;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__PROPERTY = GRAPH_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__IS_VISIBLE = GRAPH_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__REFERENCE = GRAPH_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__CONTAINER = GRAPH_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__FONT_FAMILY = GRAPH_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__FONT_SIZE = GRAPH_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__LINE_STYLE = GRAPH_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__LINE_THICKNESS = GRAPH_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__FONT_COLOR = GRAPH_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__FOREGROUND_COLOR = GRAPH_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__BACKGROUND_COLOR = GRAPH_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__BORDER_COLOR = GRAPH_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__TRANSLUCENT = GRAPH_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__SEMANTIC_PARENT = GRAPH_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__SEMANTIC_CHILD = GRAPH_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Contained</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__CONTAINED = GRAPH_ELEMENT__CONTAINED;
-
- /**
- * The feature id for the '<em><b>Link</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__LINK = GRAPH_ELEMENT__LINK;
-
- /**
- * The feature id for the '<em><b>Semantic Model</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__SEMANTIC_MODEL = GRAPH_ELEMENT__SEMANTIC_MODEL;
-
- /**
- * The feature id for the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__POSITION = GRAPH_ELEMENT__POSITION;
-
- /**
- * The feature id for the '<em><b>Anchorage</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__ANCHORAGE = GRAPH_ELEMENT__ANCHORAGE;
-
- /**
- * The feature id for the '<em><b>Anchor</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__ANCHOR = GRAPH_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Waypoints</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE__WAYPOINTS = GRAPH_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Graph Edge</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_EDGE_FEATURE_COUNT = GRAPH_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.GraphConnectorImpl <em>Graph Connector</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphConnectorImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphConnector()
- * @generated
- */
- int GRAPH_CONNECTOR = 5;
-
- /**
- * The feature id for the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_CONNECTOR__POSITION = 0;
-
- /**
- * The feature id for the '<em><b>Graph Edge</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_CONNECTOR__GRAPH_EDGE = 1;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_CONNECTOR__GRAPH_ELEMENT = 2;
-
- /**
- * The number of structural features of the '<em>Graph Connector</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_CONNECTOR_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.GraphNodeImpl <em>Graph Node</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphNodeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphNode()
- * @generated
- */
- int GRAPH_NODE = 6;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__PROPERTY = GRAPH_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__IS_VISIBLE = GRAPH_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__REFERENCE = GRAPH_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__CONTAINER = GRAPH_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__FONT_FAMILY = GRAPH_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__FONT_SIZE = GRAPH_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__LINE_STYLE = GRAPH_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__LINE_THICKNESS = GRAPH_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__FONT_COLOR = GRAPH_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__FOREGROUND_COLOR = GRAPH_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__BACKGROUND_COLOR = GRAPH_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__BORDER_COLOR = GRAPH_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__TRANSLUCENT = GRAPH_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__SEMANTIC_PARENT = GRAPH_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__SEMANTIC_CHILD = GRAPH_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Contained</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__CONTAINED = GRAPH_ELEMENT__CONTAINED;
-
- /**
- * The feature id for the '<em><b>Link</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__LINK = GRAPH_ELEMENT__LINK;
-
- /**
- * The feature id for the '<em><b>Semantic Model</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__SEMANTIC_MODEL = GRAPH_ELEMENT__SEMANTIC_MODEL;
-
- /**
- * The feature id for the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__POSITION = GRAPH_ELEMENT__POSITION;
-
- /**
- * The feature id for the '<em><b>Anchorage</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__ANCHORAGE = GRAPH_ELEMENT__ANCHORAGE;
-
- /**
- * The feature id for the '<em><b>Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE__SIZE = GRAPH_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Graph Node</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPH_NODE_FEATURE_COUNT = GRAPH_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl <em>Diagram Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramLinkImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagramLink()
- * @generated
- */
- int DIAGRAM_LINK = 7;
-
- /**
- * The feature id for the '<em><b>Diagram</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_LINK__DIAGRAM = 0;
-
- /**
- * The feature id for the '<em><b>Zoom</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_LINK__ZOOM = 1;
-
- /**
- * The feature id for the '<em><b>Viewport</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_LINK__VIEWPORT = 2;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_LINK__GRAPH_ELEMENT = 3;
-
- /**
- * The number of structural features of the '<em>Diagram Link</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_LINK_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.DiagramImpl <em>Diagram</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagram()
- * @generated
- */
- int DIAGRAM = 8;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__PROPERTY = GRAPH_NODE__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__IS_VISIBLE = GRAPH_NODE__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__REFERENCE = GRAPH_NODE__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__CONTAINER = GRAPH_NODE__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__FONT_FAMILY = GRAPH_NODE__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__FONT_SIZE = GRAPH_NODE__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__LINE_STYLE = GRAPH_NODE__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__LINE_THICKNESS = GRAPH_NODE__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__FONT_COLOR = GRAPH_NODE__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__FOREGROUND_COLOR = GRAPH_NODE__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__BACKGROUND_COLOR = GRAPH_NODE__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__BORDER_COLOR = GRAPH_NODE__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__TRANSLUCENT = GRAPH_NODE__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__SEMANTIC_PARENT = GRAPH_NODE__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__SEMANTIC_CHILD = GRAPH_NODE__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Contained</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__CONTAINED = GRAPH_NODE__CONTAINED;
-
- /**
- * The feature id for the '<em><b>Link</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__LINK = GRAPH_NODE__LINK;
-
- /**
- * The feature id for the '<em><b>Semantic Model</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__SEMANTIC_MODEL = GRAPH_NODE__SEMANTIC_MODEL;
-
- /**
- * The feature id for the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__POSITION = GRAPH_NODE__POSITION;
-
- /**
- * The feature id for the '<em><b>Anchorage</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__ANCHORAGE = GRAPH_NODE__ANCHORAGE;
-
- /**
- * The feature id for the '<em><b>Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__SIZE = GRAPH_NODE__SIZE;
-
- /**
- * The feature id for the '<em><b>Owner</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__OWNER = GRAPH_NODE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__NAME = GRAPH_NODE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Zoom</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__ZOOM = GRAPH_NODE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Viewport</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__VIEWPORT = GRAPH_NODE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Diagram Link</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__DIAGRAM_LINK = GRAPH_NODE_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM__TYPE = GRAPH_NODE_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the '<em>Diagram</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DIAGRAM_FEATURE_COUNT = GRAPH_NODE_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl <em>Semantic Model Bridge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getSemanticModelBridge()
- * @generated
- */
- int SEMANTIC_MODEL_BRIDGE = 9;
-
- /**
- * The feature id for the '<em><b>Presentation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_MODEL_BRIDGE__PRESENTATION = 0;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = 1;
-
- /**
- * The number of structural features of the '<em>Semantic Model Bridge</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.SimpleSemanticModelElementImpl <em>Simple Semantic Model Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.SimpleSemanticModelElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getSimpleSemanticModelElement()
- * @generated
- */
- int SIMPLE_SEMANTIC_MODEL_ELEMENT = 10;
-
- /**
- * The feature id for the '<em><b>Presentation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SIMPLE_SEMANTIC_MODEL_ELEMENT__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SIMPLE_SEMANTIC_MODEL_ELEMENT__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Typeinfo</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Simple Semantic Model Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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.di.impl.Uml1SemanticModelBridgeImpl <em>Uml1 Semantic Model Bridge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.Uml1SemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getUml1SemanticModelBridge()
- * @generated
- */
- int UML1_SEMANTIC_MODEL_BRIDGE = 11;
-
- /**
- * The feature id for the '<em><b>Presentation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UML1_SEMANTIC_MODEL_BRIDGE__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UML1_SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Uml1 Semantic Model Bridge</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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.di.impl.CoreSemanticModelBridgeImpl <em>Core Semantic Model Bridge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.CoreSemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getCoreSemanticModelBridge()
- * @generated
- */
- int CORE_SEMANTIC_MODEL_BRIDGE = 12;
-
- /**
- * The feature id for the '<em><b>Presentation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CORE_SEMANTIC_MODEL_BRIDGE__PRESENTATION = SEMANTIC_MODEL_BRIDGE__PRESENTATION;
-
- /**
- * The feature id for the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CORE_SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Core Semantic Model Bridge</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CORE_SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT = SEMANTIC_MODEL_BRIDGE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.LeafElementImpl <em>Leaf Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.LeafElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getLeafElement()
- * @generated
- */
- int LEAF_ELEMENT = 13;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__PROPERTY = DIAGRAM_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__IS_VISIBLE = DIAGRAM_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__REFERENCE = DIAGRAM_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__CONTAINER = DIAGRAM_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__FONT_FAMILY = DIAGRAM_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__FONT_SIZE = DIAGRAM_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__LINE_STYLE = DIAGRAM_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__LINE_THICKNESS = DIAGRAM_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__FONT_COLOR = DIAGRAM_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__FOREGROUND_COLOR = DIAGRAM_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__BACKGROUND_COLOR = DIAGRAM_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__BORDER_COLOR = DIAGRAM_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__TRANSLUCENT = DIAGRAM_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__SEMANTIC_PARENT = DIAGRAM_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT__SEMANTIC_CHILD = DIAGRAM_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The number of structural features of the '<em>Leaf Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int LEAF_ELEMENT_FEATURE_COUNT = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.TextElementImpl <em>Text Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.TextElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getTextElement()
- * @generated
- */
- int TEXT_ELEMENT = 14;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__PROPERTY = LEAF_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__REFERENCE = LEAF_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__CONTAINER = LEAF_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Text</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT__TEXT = LEAF_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Text Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_ELEMENT_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.ImageImpl <em>Image</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.ImageImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getImage()
- * @generated
- */
- int IMAGE = 15;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__PROPERTY = LEAF_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__REFERENCE = LEAF_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__CONTAINER = LEAF_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Uri</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__URI = LEAF_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Mime Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE__MIME_TYPE = LEAF_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Image</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int IMAGE_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.GraphicPrimitiveImpl <em>Graphic Primitive</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphicPrimitiveImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphicPrimitive()
- * @generated
- */
- int GRAPHIC_PRIMITIVE = 16;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__PROPERTY = LEAF_ELEMENT__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__IS_VISIBLE = LEAF_ELEMENT__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__REFERENCE = LEAF_ELEMENT__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__CONTAINER = LEAF_ELEMENT__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__FONT_FAMILY = LEAF_ELEMENT__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__FONT_SIZE = LEAF_ELEMENT__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__LINE_STYLE = LEAF_ELEMENT__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__LINE_THICKNESS = LEAF_ELEMENT__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__FONT_COLOR = LEAF_ELEMENT__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__FOREGROUND_COLOR = LEAF_ELEMENT__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__BACKGROUND_COLOR = LEAF_ELEMENT__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__BORDER_COLOR = LEAF_ELEMENT__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__TRANSLUCENT = LEAF_ELEMENT__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__SEMANTIC_PARENT = LEAF_ELEMENT__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE__SEMANTIC_CHILD = LEAF_ELEMENT__SEMANTIC_CHILD;
-
- /**
- * The number of structural features of the '<em>Graphic Primitive</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int GRAPHIC_PRIMITIVE_FEATURE_COUNT = LEAF_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.PolilyneImpl <em>Polilyne</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.PolilyneImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPolilyne()
- * @generated
- */
- int POLILYNE = 17;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__PROPERTY = GRAPHIC_PRIMITIVE__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__IS_VISIBLE = GRAPHIC_PRIMITIVE__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__REFERENCE = GRAPHIC_PRIMITIVE__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__CONTAINER = GRAPHIC_PRIMITIVE__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__FONT_FAMILY = GRAPHIC_PRIMITIVE__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__FONT_SIZE = GRAPHIC_PRIMITIVE__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__LINE_STYLE = GRAPHIC_PRIMITIVE__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__LINE_THICKNESS = GRAPHIC_PRIMITIVE__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__FONT_COLOR = GRAPHIC_PRIMITIVE__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__FOREGROUND_COLOR = GRAPHIC_PRIMITIVE__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__BACKGROUND_COLOR = GRAPHIC_PRIMITIVE__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__BORDER_COLOR = GRAPHIC_PRIMITIVE__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__TRANSLUCENT = GRAPHIC_PRIMITIVE__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__SEMANTIC_PARENT = GRAPHIC_PRIMITIVE__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__SEMANTIC_CHILD = GRAPHIC_PRIMITIVE__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Waypoints</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__WAYPOINTS = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Closed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE__CLOSED = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Polilyne</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int POLILYNE_FEATURE_COUNT = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.impl.EllipseImpl <em>Ellipse</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.EllipseImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getEllipse()
- * @generated
- */
- int ELLIPSE = 18;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__PROPERTY = GRAPHIC_PRIMITIVE__PROPERTY;
-
- /**
- * The feature id for the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__IS_VISIBLE = GRAPHIC_PRIMITIVE__IS_VISIBLE;
-
- /**
- * The feature id for the '<em><b>Reference</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__REFERENCE = GRAPHIC_PRIMITIVE__REFERENCE;
-
- /**
- * The feature id for the '<em><b>Container</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__CONTAINER = GRAPHIC_PRIMITIVE__CONTAINER;
-
- /**
- * The feature id for the '<em><b>Font Family</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__FONT_FAMILY = GRAPHIC_PRIMITIVE__FONT_FAMILY;
-
- /**
- * The feature id for the '<em><b>Font Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__FONT_SIZE = GRAPHIC_PRIMITIVE__FONT_SIZE;
-
- /**
- * The feature id for the '<em><b>Line Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__LINE_STYLE = GRAPHIC_PRIMITIVE__LINE_STYLE;
-
- /**
- * The feature id for the '<em><b>Line Thickness</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__LINE_THICKNESS = GRAPHIC_PRIMITIVE__LINE_THICKNESS;
-
- /**
- * The feature id for the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__FONT_COLOR = GRAPHIC_PRIMITIVE__FONT_COLOR;
-
- /**
- * The feature id for the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__FOREGROUND_COLOR = GRAPHIC_PRIMITIVE__FOREGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__BACKGROUND_COLOR = GRAPHIC_PRIMITIVE__BACKGROUND_COLOR;
-
- /**
- * The feature id for the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__BORDER_COLOR = GRAPHIC_PRIMITIVE__BORDER_COLOR;
-
- /**
- * The feature id for the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__TRANSLUCENT = GRAPHIC_PRIMITIVE__TRANSLUCENT;
-
- /**
- * The feature id for the '<em><b>Semantic Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__SEMANTIC_PARENT = GRAPHIC_PRIMITIVE__SEMANTIC_PARENT;
-
- /**
- * The feature id for the '<em><b>Semantic Child</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__SEMANTIC_CHILD = GRAPHIC_PRIMITIVE__SEMANTIC_CHILD;
-
- /**
- * The feature id for the '<em><b>Center</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__CENTER = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Radius X</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__RADIUS_X = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Radius Y</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__RADIUS_Y = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Rotation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__ROTATION = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Start Angle</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__START_ANGLE = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>End Angle</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE__END_ANGLE = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the '<em>Ellipse</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELLIPSE_FEATURE_COUNT = GRAPHIC_PRIMITIVE_FEATURE_COUNT + 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.di.PapyrusKeyEnumeration <em>Papyrus Key Enumeration</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.PapyrusKeyEnumeration
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPapyrusKeyEnumeration()
- * @generated
- */
- int PAPYRUS_KEY_ENUMERATION = 19;
-
- /**
- * The meta object id for the '<em>Point</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.draw2d.geometry.Point
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPoint()
- * @generated
- */
- int POINT = 20;
-
- /**
- * The meta object id for the '<em>Dimension</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.draw2d.geometry.Dimension
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDimension()
- * @generated
- */
- int DIMENSION = 21;
-
- /**
- * The meta object id for the '<em>Double</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDouble()
- * @generated
- */
- int DOUBLE = 22;
-
- /**
- * The meta object id for the '<em>RGB</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.swt.graphics.RGB
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getRGB()
- * @generated
- */
- int RGB = 23;
-
- /**
- * The meta object id for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getString()
- * @generated
- */
- int STRING = 24;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.DiagramElement <em>Diagram Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Diagram Element</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement
- * @generated
- */
- EClass getDiagramElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.di.DiagramElement#getProperty <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Property</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getProperty()
- * @see #getDiagramElement()
- * @generated
- */
- EReference getDiagramElement_Property();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#isIsVisible <em>Is Visible</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Is Visible</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#isIsVisible()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_IsVisible();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.di.DiagramElement#getReference <em>Reference</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Reference</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getReference()
- * @see #getDiagramElement()
- * @generated
- */
- EReference getDiagramElement_Reference();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.di.DiagramElement#getContainer <em>Container</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Container</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getContainer()
- * @see #getDiagramElement()
- * @generated
- */
- EReference getDiagramElement_Container();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getFontFamily <em>Font Family</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Font Family</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getFontFamily()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_FontFamily();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getFontSize <em>Font Size</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Font Size</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getFontSize()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_FontSize();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getLineStyle <em>Line Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Line Style</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getLineStyle()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_LineStyle();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getLineThickness <em>Line Thickness</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Line Thickness</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getLineThickness()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_LineThickness();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getFontColor <em>Font Color</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Font Color</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getFontColor()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_FontColor();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getForegroundColor <em>Foreground Color</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Foreground Color</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getForegroundColor()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_ForegroundColor();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getBackgroundColor <em>Background Color</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Background Color</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getBackgroundColor()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_BackgroundColor();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#getBorderColor <em>Border Color</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Border Color</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getBorderColor()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_BorderColor();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramElement#isTranslucent <em>Translucent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Translucent</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#isTranslucent()
- * @see #getDiagramElement()
- * @generated
- */
- EAttribute getDiagramElement_Translucent();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.DiagramElement#getSemanticParent <em>Semantic Parent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Semantic Parent</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getSemanticParent()
- * @see #getDiagramElement()
- * @generated
- */
- EReference getDiagramElement_SemanticParent();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.di.DiagramElement#getSemanticChild <em>Semantic Child</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Semantic Child</em>'.
- * @see org.eclipse.papyrus.di.DiagramElement#getSemanticChild()
- * @see #getDiagramElement()
- * @generated
- */
- EReference getDiagramElement_SemanticChild();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.GraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Graph Element</em>'.
- * @see org.eclipse.papyrus.di.GraphElement
- * @generated
- */
- EClass getGraphElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.di.GraphElement#getContained <em>Contained</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Contained</em>'.
- * @see org.eclipse.papyrus.di.GraphElement#getContained()
- * @see #getGraphElement()
- * @generated
- */
- EReference getGraphElement_Contained();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.di.GraphElement#getLink <em>Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Link</em>'.
- * @see org.eclipse.papyrus.di.GraphElement#getLink()
- * @see #getGraphElement()
- * @generated
- */
- EReference getGraphElement_Link();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.di.GraphElement#getSemanticModel <em>Semantic Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Semantic Model</em>'.
- * @see org.eclipse.papyrus.di.GraphElement#getSemanticModel()
- * @see #getGraphElement()
- * @generated
- */
- EReference getGraphElement_SemanticModel();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.GraphElement#getPosition <em>Position</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Position</em>'.
- * @see org.eclipse.papyrus.di.GraphElement#getPosition()
- * @see #getGraphElement()
- * @generated
- */
- EAttribute getGraphElement_Position();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.di.GraphElement#getAnchorage <em>Anchorage</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Anchorage</em>'.
- * @see org.eclipse.papyrus.di.GraphElement#getAnchorage()
- * @see #getGraphElement()
- * @generated
- */
- EReference getGraphElement_Anchorage();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Reference <em>Reference</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Reference</em>'.
- * @see org.eclipse.papyrus.di.Reference
- * @generated
- */
- EClass getReference();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Reference#isIsIndividualRepresentation
- * <em>Is Individual Representation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Is Individual Representation</em>'.
- * @see org.eclipse.papyrus.di.Reference#isIsIndividualRepresentation()
- * @see #getReference()
- * @generated
- */
- EAttribute getReference_IsIndividualRepresentation();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.Reference#getReferenced <em>Referenced</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Referenced</em>'.
- * @see org.eclipse.papyrus.di.Reference#getReferenced()
- * @see #getReference()
- * @generated
- */
- EReference getReference_Referenced();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Property <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Property</em>'.
- * @see org.eclipse.papyrus.di.Property
- * @generated
- */
- EClass getProperty();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Property#getKey <em>Key</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see org.eclipse.papyrus.di.Property#getKey()
- * @see #getProperty()
- * @generated
- */
- EAttribute getProperty_Key();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Property#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.di.Property#getValue()
- * @see #getProperty()
- * @generated
- */
- EAttribute getProperty_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.GraphEdge <em>Graph Edge</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Graph Edge</em>'.
- * @see org.eclipse.papyrus.di.GraphEdge
- * @generated
- */
- EClass getGraphEdge();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.di.GraphEdge#getAnchor <em>Anchor</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Anchor</em>'.
- * @see org.eclipse.papyrus.di.GraphEdge#getAnchor()
- * @see #getGraphEdge()
- * @generated
- */
- EReference getGraphEdge_Anchor();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.di.GraphEdge#getWaypoints <em>Waypoints</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Waypoints</em>'.
- * @see org.eclipse.papyrus.di.GraphEdge#getWaypoints()
- * @see #getGraphEdge()
- * @generated
- */
- EAttribute getGraphEdge_Waypoints();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.GraphConnector <em>Graph Connector</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Graph Connector</em>'.
- * @see org.eclipse.papyrus.di.GraphConnector
- * @generated
- */
- EClass getGraphConnector();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.GraphConnector#getPosition <em>Position</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Position</em>'.
- * @see org.eclipse.papyrus.di.GraphConnector#getPosition()
- * @see #getGraphConnector()
- * @generated
- */
- EAttribute getGraphConnector_Position();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.di.GraphConnector#getGraphEdge <em>Graph Edge</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Graph Edge</em>'.
- * @see org.eclipse.papyrus.di.GraphConnector#getGraphEdge()
- * @see #getGraphConnector()
- * @generated
- */
- EReference getGraphConnector_GraphEdge();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.di.GraphConnector#getGraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Graph Element</em>'.
- * @see org.eclipse.papyrus.di.GraphConnector#getGraphElement()
- * @see #getGraphConnector()
- * @generated
- */
- EReference getGraphConnector_GraphElement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.GraphNode <em>Graph Node</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Graph Node</em>'.
- * @see org.eclipse.papyrus.di.GraphNode
- * @generated
- */
- EClass getGraphNode();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.GraphNode#getSize <em>Size</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Size</em>'.
- * @see org.eclipse.papyrus.di.GraphNode#getSize()
- * @see #getGraphNode()
- * @generated
- */
- EAttribute getGraphNode_Size();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.DiagramLink <em>Diagram Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Diagram Link</em>'.
- * @see org.eclipse.papyrus.di.DiagramLink
- * @generated
- */
- EClass getDiagramLink();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.DiagramLink#getDiagram <em>Diagram</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Diagram</em>'.
- * @see org.eclipse.papyrus.di.DiagramLink#getDiagram()
- * @see #getDiagramLink()
- * @generated
- */
- EReference getDiagramLink_Diagram();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramLink#getZoom <em>Zoom</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Zoom</em>'.
- * @see org.eclipse.papyrus.di.DiagramLink#getZoom()
- * @see #getDiagramLink()
- * @generated
- */
- EAttribute getDiagramLink_Zoom();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.DiagramLink#getViewport <em>Viewport</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Viewport</em>'.
- * @see org.eclipse.papyrus.di.DiagramLink#getViewport()
- * @see #getDiagramLink()
- * @generated
- */
- EAttribute getDiagramLink_Viewport();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.DiagramLink#getGraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Graph Element</em>'.
- * @see org.eclipse.papyrus.di.DiagramLink#getGraphElement()
- * @see #getDiagramLink()
- * @generated
- */
- EReference getDiagramLink_GraphElement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Diagram <em>Diagram</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Diagram</em>'.
- * @see org.eclipse.papyrus.di.Diagram
- * @generated
- */
- EClass getDiagram();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.di.Diagram#getOwner <em>Owner</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Owner</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getOwner()
- * @see #getDiagram()
- * @generated
- */
- EReference getDiagram_Owner();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Diagram#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getName()
- * @see #getDiagram()
- * @generated
- */
- EAttribute getDiagram_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Diagram#getZoom <em>Zoom</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Zoom</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getZoom()
- * @see #getDiagram()
- * @generated
- */
- EAttribute getDiagram_Zoom();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Diagram#getViewport <em>Viewport</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Viewport</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getViewport()
- * @see #getDiagram()
- * @generated
- */
- EAttribute getDiagram_Viewport();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.di.Diagram#getDiagramLink <em>Diagram Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Diagram Link</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getDiagramLink()
- * @see #getDiagram()
- * @generated
- */
- EReference getDiagram_DiagramLink();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Diagram#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Type</em>'.
- * @see org.eclipse.papyrus.di.Diagram#getType()
- * @see #getDiagram()
- * @generated
- */
- EAttribute getDiagram_Type();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.SemanticModelBridge <em>Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Semantic Model Bridge</em>'.
- * @see org.eclipse.papyrus.di.SemanticModelBridge
- * @generated
- */
- EClass getSemanticModelBridge();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.SemanticModelBridge#getPresentation <em>Presentation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Presentation</em>'.
- * @see org.eclipse.papyrus.di.SemanticModelBridge#getPresentation()
- * @see #getSemanticModelBridge()
- * @generated
- */
- EAttribute getSemanticModelBridge_Presentation();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.SemanticModelBridge#getGraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Graph Element</em>'.
- * @see org.eclipse.papyrus.di.SemanticModelBridge#getGraphElement()
- * @see #getSemanticModelBridge()
- * @generated
- */
- EReference getSemanticModelBridge_GraphElement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.SimpleSemanticModelElement <em>Simple Semantic Model Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Simple Semantic Model Element</em>'.
- * @see org.eclipse.papyrus.di.SimpleSemanticModelElement
- * @generated
- */
- EClass getSimpleSemanticModelElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.SimpleSemanticModelElement#getTypeinfo <em>Typeinfo</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Typeinfo</em>'.
- * @see org.eclipse.papyrus.di.SimpleSemanticModelElement#getTypeinfo()
- * @see #getSimpleSemanticModelElement()
- * @generated
- */
- EAttribute getSimpleSemanticModelElement_Typeinfo();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Uml1SemanticModelBridge <em>Uml1 Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Uml1 Semantic Model Bridge</em>'.
- * @see org.eclipse.papyrus.di.Uml1SemanticModelBridge
- * @generated
- */
- EClass getUml1SemanticModelBridge();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.Uml1SemanticModelBridge#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Element</em>'.
- * @see org.eclipse.papyrus.di.Uml1SemanticModelBridge#getElement()
- * @see #getUml1SemanticModelBridge()
- * @generated
- */
- EReference getUml1SemanticModelBridge_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.CoreSemanticModelBridge <em>Core Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Core Semantic Model Bridge</em>'.
- * @see org.eclipse.papyrus.di.CoreSemanticModelBridge
- * @generated
- */
- EClass getCoreSemanticModelBridge();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.di.CoreSemanticModelBridge#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Element</em>'.
- * @see org.eclipse.papyrus.di.CoreSemanticModelBridge#getElement()
- * @see #getCoreSemanticModelBridge()
- * @generated
- */
- EReference getCoreSemanticModelBridge_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.LeafElement <em>Leaf Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Leaf Element</em>'.
- * @see org.eclipse.papyrus.di.LeafElement
- * @generated
- */
- EClass getLeafElement();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.TextElement <em>Text Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Text Element</em>'.
- * @see org.eclipse.papyrus.di.TextElement
- * @generated
- */
- EClass getTextElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.TextElement#getText <em>Text</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Text</em>'.
- * @see org.eclipse.papyrus.di.TextElement#getText()
- * @see #getTextElement()
- * @generated
- */
- EAttribute getTextElement_Text();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Image <em>Image</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Image</em>'.
- * @see org.eclipse.papyrus.di.Image
- * @generated
- */
- EClass getImage();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Image#getUri <em>Uri</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Uri</em>'.
- * @see org.eclipse.papyrus.di.Image#getUri()
- * @see #getImage()
- * @generated
- */
- EAttribute getImage_Uri();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Image#getMimeType <em>Mime Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Mime Type</em>'.
- * @see org.eclipse.papyrus.di.Image#getMimeType()
- * @see #getImage()
- * @generated
- */
- EAttribute getImage_MimeType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.GraphicPrimitive <em>Graphic Primitive</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Graphic Primitive</em>'.
- * @see org.eclipse.papyrus.di.GraphicPrimitive
- * @generated
- */
- EClass getGraphicPrimitive();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Polilyne <em>Polilyne</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Polilyne</em>'.
- * @see org.eclipse.papyrus.di.Polilyne
- * @generated
- */
- EClass getPolilyne();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.di.Polilyne#getWaypoints <em>Waypoints</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Waypoints</em>'.
- * @see org.eclipse.papyrus.di.Polilyne#getWaypoints()
- * @see #getPolilyne()
- * @generated
- */
- EAttribute getPolilyne_Waypoints();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.di.Polilyne#getClosed <em>Closed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Closed</em>'.
- * @see org.eclipse.papyrus.di.Polilyne#getClosed()
- * @see #getPolilyne()
- * @generated
- */
- EAttribute getPolilyne_Closed();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.di.Ellipse <em>Ellipse</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Ellipse</em>'.
- * @see org.eclipse.papyrus.di.Ellipse
- * @generated
- */
- EClass getEllipse();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getCenter <em>Center</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Center</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getCenter()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_Center();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getRadiusX <em>Radius X</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Radius X</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getRadiusX()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_RadiusX();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getRadiusY <em>Radius Y</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Radius Y</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getRadiusY()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_RadiusY();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getRotation <em>Rotation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Rotation</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getRotation()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_Rotation();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getStartAngle <em>Start Angle</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Start Angle</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getStartAngle()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_StartAngle();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.di.Ellipse#getEndAngle <em>End Angle</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>End Angle</em>'.
- * @see org.eclipse.papyrus.di.Ellipse#getEndAngle()
- * @see #getEllipse()
- * @generated
- */
- EAttribute getEllipse_EndAngle();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.di.PapyrusKeyEnumeration <em>Papyrus Key Enumeration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Papyrus Key Enumeration</em>'.
- * @see org.eclipse.papyrus.di.PapyrusKeyEnumeration
- * @generated
- */
- EEnum getPapyrusKeyEnumeration();
-
- /**
- * Returns the meta object for data type '{@link org.eclipse.draw2d.geometry.Point <em>Point</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>Point</em>'.
- * @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 <em>Dimension</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>Dimension</em>'.
- * @see org.eclipse.draw2d.geometry.Dimension
- * @model instanceClass="org.eclipse.draw2d.geometry.Dimension"
- * @generated
- */
- EDataType getDimension();
-
- /**
- * Returns the meta object for data type '<em>Double</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>Double</em>'.
- * @model instanceClass="double"
- * @generated
- */
- EDataType getDouble();
-
- /**
- * Returns the meta object for data type '{@link org.eclipse.swt.graphics.RGB <em>RGB</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>RGB</em>'.
- * @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 <em>String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>String</em>'.
- * @see java.lang.String
- * @model instanceClass="java.lang.String"
- * @generated
- */
- EDataType getString();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- DiFactory getDiFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagramElement()
- * @generated
- */
- EClass DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement();
-
- /**
- * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_ELEMENT__PROPERTY = eINSTANCE.getDiagramElement_Property();
-
- /**
- * The meta object literal for the '<em><b>Is Visible</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__IS_VISIBLE = eINSTANCE.getDiagramElement_IsVisible();
-
- /**
- * The meta object literal for the '<em><b>Reference</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_ELEMENT__REFERENCE = eINSTANCE.getDiagramElement_Reference();
-
- /**
- * The meta object literal for the '<em><b>Container</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_ELEMENT__CONTAINER = eINSTANCE.getDiagramElement_Container();
-
- /**
- * The meta object literal for the '<em><b>Font Family</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__FONT_FAMILY = eINSTANCE.getDiagramElement_FontFamily();
-
- /**
- * The meta object literal for the '<em><b>Font Size</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__FONT_SIZE = eINSTANCE.getDiagramElement_FontSize();
-
- /**
- * The meta object literal for the '<em><b>Line Style</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__LINE_STYLE = eINSTANCE.getDiagramElement_LineStyle();
-
- /**
- * The meta object literal for the '<em><b>Line Thickness</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__LINE_THICKNESS = eINSTANCE.getDiagramElement_LineThickness();
-
- /**
- * The meta object literal for the '<em><b>Font Color</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__FONT_COLOR = eINSTANCE.getDiagramElement_FontColor();
-
- /**
- * The meta object literal for the '<em><b>Foreground Color</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__FOREGROUND_COLOR = eINSTANCE.getDiagramElement_ForegroundColor();
-
- /**
- * The meta object literal for the '<em><b>Background Color</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__BACKGROUND_COLOR = eINSTANCE.getDiagramElement_BackgroundColor();
-
- /**
- * The meta object literal for the '<em><b>Border Color</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__BORDER_COLOR = eINSTANCE.getDiagramElement_BorderColor();
-
- /**
- * The meta object literal for the '<em><b>Translucent</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_ELEMENT__TRANSLUCENT = eINSTANCE.getDiagramElement_Translucent();
-
- /**
- * The meta object literal for the '<em><b>Semantic Parent</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_ELEMENT__SEMANTIC_PARENT = eINSTANCE.getDiagramElement_SemanticParent();
-
- /**
- * The meta object literal for the '<em><b>Semantic Child</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_ELEMENT__SEMANTIC_CHILD = eINSTANCE.getDiagramElement_SemanticChild();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.GraphElementImpl <em>Graph Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphElement()
- * @generated
- */
- EClass GRAPH_ELEMENT = eINSTANCE.getGraphElement();
-
- /**
- * The meta object literal for the '<em><b>Contained</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_ELEMENT__CONTAINED = eINSTANCE.getGraphElement_Contained();
-
- /**
- * The meta object literal for the '<em><b>Link</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_ELEMENT__LINK = eINSTANCE.getGraphElement_Link();
-
- /**
- * The meta object literal for the '<em><b>Semantic Model</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_ELEMENT__SEMANTIC_MODEL = eINSTANCE.getGraphElement_SemanticModel();
-
- /**
- * The meta object literal for the '<em><b>Position</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute GRAPH_ELEMENT__POSITION = eINSTANCE.getGraphElement_Position();
-
- /**
- * The meta object literal for the '<em><b>Anchorage</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_ELEMENT__ANCHORAGE = eINSTANCE.getGraphElement_Anchorage();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.ReferenceImpl <em>Reference</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.ReferenceImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getReference()
- * @generated
- */
- EClass REFERENCE = eINSTANCE.getReference();
-
- /**
- * The meta object literal for the '<em><b>Is Individual Representation</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute REFERENCE__IS_INDIVIDUAL_REPRESENTATION = eINSTANCE.getReference_IsIndividualRepresentation();
-
- /**
- * The meta object literal for the '<em><b>Referenced</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REFERENCE__REFERENCED = eINSTANCE.getReference_Referenced();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.PropertyImpl <em>Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.PropertyImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getProperty()
- * @generated
- */
- EClass PROPERTY = eINSTANCE.getProperty();
-
- /**
- * The meta object literal for the '<em><b>Key</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY__KEY = eINSTANCE.getProperty_Key();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY__VALUE = eINSTANCE.getProperty_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.GraphEdgeImpl <em>Graph Edge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphEdgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphEdge()
- * @generated
- */
- EClass GRAPH_EDGE = eINSTANCE.getGraphEdge();
-
- /**
- * The meta object literal for the '<em><b>Anchor</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_EDGE__ANCHOR = eINSTANCE.getGraphEdge_Anchor();
-
- /**
- * The meta object literal for the '<em><b>Waypoints</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute GRAPH_EDGE__WAYPOINTS = eINSTANCE.getGraphEdge_Waypoints();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.GraphConnectorImpl <em>Graph Connector</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphConnectorImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphConnector()
- * @generated
- */
- EClass GRAPH_CONNECTOR = eINSTANCE.getGraphConnector();
-
- /**
- * The meta object literal for the '<em><b>Position</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute GRAPH_CONNECTOR__POSITION = eINSTANCE.getGraphConnector_Position();
-
- /**
- * The meta object literal for the '<em><b>Graph Edge</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_CONNECTOR__GRAPH_EDGE = eINSTANCE.getGraphConnector_GraphEdge();
-
- /**
- * The meta object literal for the '<em><b>Graph Element</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference GRAPH_CONNECTOR__GRAPH_ELEMENT = eINSTANCE.getGraphConnector_GraphElement();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.GraphNodeImpl <em>Graph Node</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphNodeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphNode()
- * @generated
- */
- EClass GRAPH_NODE = eINSTANCE.getGraphNode();
-
- /**
- * The meta object literal for the '<em><b>Size</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute GRAPH_NODE__SIZE = eINSTANCE.getGraphNode_Size();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl <em>Diagram Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramLinkImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagramLink()
- * @generated
- */
- EClass DIAGRAM_LINK = eINSTANCE.getDiagramLink();
-
- /**
- * The meta object literal for the '<em><b>Diagram</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_LINK__DIAGRAM = eINSTANCE.getDiagramLink_Diagram();
-
- /**
- * The meta object literal for the '<em><b>Zoom</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_LINK__ZOOM = eINSTANCE.getDiagramLink_Zoom();
-
- /**
- * The meta object literal for the '<em><b>Viewport</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM_LINK__VIEWPORT = eINSTANCE.getDiagramLink_Viewport();
-
- /**
- * The meta object literal for the '<em><b>Graph Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM_LINK__GRAPH_ELEMENT = eINSTANCE.getDiagramLink_GraphElement();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.DiagramImpl <em>Diagram</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiagramImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDiagram()
- * @generated
- */
- EClass DIAGRAM = eINSTANCE.getDiagram();
-
- /**
- * The meta object literal for the '<em><b>Owner</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM__OWNER = eINSTANCE.getDiagram_Owner();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM__NAME = eINSTANCE.getDiagram_Name();
-
- /**
- * The meta object literal for the '<em><b>Zoom</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM__ZOOM = eINSTANCE.getDiagram_Zoom();
-
- /**
- * The meta object literal for the '<em><b>Viewport</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM__VIEWPORT = eINSTANCE.getDiagram_Viewport();
-
- /**
- * The meta object literal for the '<em><b>Diagram Link</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference DIAGRAM__DIAGRAM_LINK = eINSTANCE.getDiagram_DiagramLink();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DIAGRAM__TYPE = eINSTANCE.getDiagram_Type();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl <em>Semantic Model Bridge</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getSemanticModelBridge()
- * @generated
- */
- EClass SEMANTIC_MODEL_BRIDGE = eINSTANCE.getSemanticModelBridge();
-
- /**
- * The meta object literal for the '<em><b>Presentation</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SEMANTIC_MODEL_BRIDGE__PRESENTATION = eINSTANCE.getSemanticModelBridge_Presentation();
-
- /**
- * The meta object literal for the '<em><b>Graph Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT = eINSTANCE.getSemanticModelBridge_GraphElement();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.SimpleSemanticModelElementImpl <em>Simple Semantic Model Element</em>}'
- * class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.SimpleSemanticModelElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getSimpleSemanticModelElement()
- * @generated
- */
- EClass SIMPLE_SEMANTIC_MODEL_ELEMENT = eINSTANCE.getSimpleSemanticModelElement();
-
- /**
- * The meta object literal for the '<em><b>Typeinfo</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO = eINSTANCE.getSimpleSemanticModelElement_Typeinfo();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.Uml1SemanticModelBridgeImpl <em>Uml1 Semantic Model Bridge</em>}'
- * class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.Uml1SemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getUml1SemanticModelBridge()
- * @generated
- */
- EClass UML1_SEMANTIC_MODEL_BRIDGE = eINSTANCE.getUml1SemanticModelBridge();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT = eINSTANCE.getUml1SemanticModelBridge_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.CoreSemanticModelBridgeImpl <em>Core Semantic Model Bridge</em>}'
- * class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.CoreSemanticModelBridgeImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getCoreSemanticModelBridge()
- * @generated
- */
- EClass CORE_SEMANTIC_MODEL_BRIDGE = eINSTANCE.getCoreSemanticModelBridge();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT = eINSTANCE.getCoreSemanticModelBridge_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.LeafElementImpl <em>Leaf Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.LeafElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getLeafElement()
- * @generated
- */
- EClass LEAF_ELEMENT = eINSTANCE.getLeafElement();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.TextElementImpl <em>Text Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.TextElementImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getTextElement()
- * @generated
- */
- EClass TEXT_ELEMENT = eINSTANCE.getTextElement();
-
- /**
- * The meta object literal for the '<em><b>Text</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute TEXT_ELEMENT__TEXT = eINSTANCE.getTextElement_Text();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.ImageImpl <em>Image</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.ImageImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getImage()
- * @generated
- */
- EClass IMAGE = eINSTANCE.getImage();
-
- /**
- * The meta object literal for the '<em><b>Uri</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute IMAGE__URI = eINSTANCE.getImage_Uri();
-
- /**
- * The meta object literal for the '<em><b>Mime Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute IMAGE__MIME_TYPE = eINSTANCE.getImage_MimeType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.GraphicPrimitiveImpl <em>Graphic Primitive</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.GraphicPrimitiveImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getGraphicPrimitive()
- * @generated
- */
- EClass GRAPHIC_PRIMITIVE = eINSTANCE.getGraphicPrimitive();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.PolilyneImpl <em>Polilyne</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.PolilyneImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPolilyne()
- * @generated
- */
- EClass POLILYNE = eINSTANCE.getPolilyne();
-
- /**
- * The meta object literal for the '<em><b>Waypoints</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute POLILYNE__WAYPOINTS = eINSTANCE.getPolilyne_Waypoints();
-
- /**
- * The meta object literal for the '<em><b>Closed</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute POLILYNE__CLOSED = eINSTANCE.getPolilyne_Closed();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.impl.EllipseImpl <em>Ellipse</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.EllipseImpl
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getEllipse()
- * @generated
- */
- EClass ELLIPSE = eINSTANCE.getEllipse();
-
- /**
- * The meta object literal for the '<em><b>Center</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__CENTER = eINSTANCE.getEllipse_Center();
-
- /**
- * The meta object literal for the '<em><b>Radius X</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__RADIUS_X = eINSTANCE.getEllipse_RadiusX();
-
- /**
- * The meta object literal for the '<em><b>Radius Y</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__RADIUS_Y = eINSTANCE.getEllipse_RadiusY();
-
- /**
- * The meta object literal for the '<em><b>Rotation</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__ROTATION = eINSTANCE.getEllipse_Rotation();
-
- /**
- * The meta object literal for the '<em><b>Start Angle</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__START_ANGLE = eINSTANCE.getEllipse_StartAngle();
-
- /**
- * The meta object literal for the '<em><b>End Angle</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ELLIPSE__END_ANGLE = eINSTANCE.getEllipse_EndAngle();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.di.PapyrusKeyEnumeration <em>Papyrus Key Enumeration</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.PapyrusKeyEnumeration
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPapyrusKeyEnumeration()
- * @generated
- */
- EEnum PAPYRUS_KEY_ENUMERATION = eINSTANCE.getPapyrusKeyEnumeration();
-
- /**
- * The meta object literal for the '<em>Point</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.draw2d.geometry.Point
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getPoint()
- * @generated
- */
- EDataType POINT = eINSTANCE.getPoint();
-
- /**
- * The meta object literal for the '<em>Dimension</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.draw2d.geometry.Dimension
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDimension()
- * @generated
- */
- EDataType DIMENSION = eINSTANCE.getDimension();
-
- /**
- * The meta object literal for the '<em>Double</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getDouble()
- * @generated
- */
- EDataType DOUBLE = eINSTANCE.getDouble();
-
- /**
- * The meta object literal for the '<em>RGB</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.swt.graphics.RGB
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getRGB()
- * @generated
- */
- EDataType RGB = eINSTANCE.getRGB();
-
- /**
- * The meta object literal for the '<em>String</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see java.lang.String
- * @see org.eclipse.papyrus.di.impl.DiPackageImpl#getString()
- * @generated
- */
- EDataType STRING = eINSTANCE.getString();
-
- }
-
-} //DiPackage
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Diagram.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Diagram.java
deleted file mode 100644
index e050faa8333..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Diagram.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Diagram</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getOwner <em>Owner</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getZoom <em>Zoom</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getViewport <em>Viewport</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getDiagramLink <em>Diagram Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Diagram#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram()
- * @model
- * @generated
- */
-public interface Diagram extends GraphNode {
-
- /**
- * Returns the value of the '<em><b>Owner</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Owner</em>' containment reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Owner</em>' containment reference.
- * @see #setOwner(SemanticModelBridge)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_Owner()
- * @model containment="true" required="true"
- * @generated
- */
- SemanticModelBridge getOwner();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Diagram#getOwner <em>Owner</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Owner</em>' containment reference.
- * @see #getOwner()
- * @generated
- */
- void setOwner(SemanticModelBridge value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_Name()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Diagram#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Zoom</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Zoom</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Zoom</em>' attribute.
- * @see #setZoom(double)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_Zoom()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getZoom();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Diagram#getZoom <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Zoom</em>' attribute.
- * @see #getZoom()
- * @generated
- */
- void setZoom(double value);
-
- /**
- * Returns the value of the '<em><b>Viewport</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Viewport</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Viewport</em>' attribute.
- * @see #setViewport(Point)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_Viewport()
- * @model dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- Point getViewport();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Diagram#getViewport <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Viewport</em>' attribute.
- * @see #getViewport()
- * @generated
- */
- void setViewport(Point value);
-
- /**
- * Returns the value of the '<em><b>Diagram Link</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.DiagramLink}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Diagram Link</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Diagram Link</em>' reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_DiagramLink()
- * @model
- * @generated
- */
- EList<DiagramLink> getDiagramLink();
-
- /**
- * Returns the value of the '<em><b>Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Type</em>' attribute.
- * @see #setType(String)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagram_Type()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Diagram#getType <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Type</em>' attribute.
- * @see #getType()
- * @generated
- */
- void setType(String value);
-
-} // Diagram
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramElement.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramElement.java
deleted file mode 100644
index 6cb14f2c571..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramElement.java
+++ /dev/null
@@ -1,481 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.swt.graphics.RGB;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Diagram Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#isIsVisible <em>Is Visible</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getReference <em>Reference</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getContainer <em>Container</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getFontFamily <em>Font Family</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getFontSize <em>Font Size</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getLineStyle <em>Line Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getLineThickness <em>Line Thickness</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getFontColor <em>Font Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getForegroundColor <em>Foreground Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getBackgroundColor <em>Background Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getBorderColor <em>Border Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#isTranslucent <em>Translucent</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getSemanticParent <em>Semantic Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramElement#getSemanticChild <em>Semantic Child</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement()
- * @model
- * @generated
- */
-public interface DiagramElement extends EObject {
-
- /**
- * Returns the value of the '<em><b>Property</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.Property}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Property</em>' containment reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_Property()
- * @model containment="true"
- * @generated
- */
- EList<Property> getProperty();
-
- /**
- * Returns the value of the '<em><b>Is Visible</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Visible</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Is Visible</em>' attribute.
- * @see #setIsVisible(boolean)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_IsVisible()
- * @model dataType="org.eclipse.uml2.uml.Boolean"
- * @generated
- */
- boolean isIsVisible();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#isIsVisible <em>Is Visible</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Visible</em>' attribute.
- * @see #isIsVisible()
- * @generated
- */
- void setIsVisible(boolean value);
-
- /**
- * Returns the value of the '<em><b>Reference</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.Reference}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Reference</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Reference</em>' reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_Reference()
- * @model
- * @generated
- */
- EList<Reference> getReference();
-
- /**
- * Returns the value of the '<em><b>Container</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.GraphElement#getContained <em>Contained</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Container</em>' container reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Container</em>' container reference.
- * @see #setContainer(GraphElement)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_Container()
- * @see org.eclipse.papyrus.di.GraphElement#getContained
- * @model opposite="contained" transient="false"
- * @generated
- */
- GraphElement getContainer();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getContainer <em>Container</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Container</em>' container reference.
- * @see #getContainer()
- * @generated
- */
- void setContainer(GraphElement value);
-
- /**
- * Returns the value of the '<em><b>Font Family</b></em>' attribute.
- * The default value is <code>""</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Font Family</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Font Family</em>' attribute.
- * @see #setFontFamily(String)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_FontFamily()
- * @model default="" dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getFontFamily();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getFontFamily <em>Font Family</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Family</em>' attribute.
- * @see #getFontFamily()
- * @generated
- */
- void setFontFamily(String value);
-
- /**
- * Returns the value of the '<em><b>Font Size</b></em>' attribute.
- * The default value is <code>"10"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Font Size</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Font Size</em>' attribute.
- * @see #setFontSize(int)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_FontSize()
- * @model default="10" dataType="org.eclipse.uml2.uml.Integer"
- * @generated
- */
- int getFontSize();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getFontSize <em>Font Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Size</em>' attribute.
- * @see #getFontSize()
- * @generated
- */
- void setFontSize(int value);
-
- /**
- * Returns the value of the '<em><b>Line Style</b></em>' attribute.
- * The default value is <code>""</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Line Style</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Line Style</em>' attribute.
- * @see #setLineStyle(String)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_LineStyle()
- * @model default="" dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getLineStyle();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getLineStyle <em>Line Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Line Style</em>' attribute.
- * @see #getLineStyle()
- * @generated
- */
- void setLineStyle(String value);
-
- /**
- * Returns the value of the '<em><b>Line Thickness</b></em>' attribute.
- * The default value is <code>"1"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Line Thickness</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Line Thickness</em>' attribute.
- * @see #setLineThickness(int)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_LineThickness()
- * @model default="1" dataType="org.eclipse.uml2.uml.Integer"
- * @generated
- */
- int getLineThickness();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getLineThickness <em>Line Thickness</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Line Thickness</em>' attribute.
- * @see #getLineThickness()
- * @generated
- */
- void setLineThickness(int value);
-
- /**
- * Returns the value of the '<em><b>Font Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Font Color</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Font Color</em>' attribute.
- * @see #setFontColor(RGB)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_FontColor()
- * @model dataType="org.eclipse.papyrus.di.RGB"
- * @generated
- */
- RGB getFontColor();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getFontColor <em>Font Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Color</em>' attribute.
- * @see #getFontColor()
- * @generated
- */
- void setFontColor(RGB value);
-
- /**
- * Returns the value of the '<em><b>Foreground Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Foreground Color</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Foreground Color</em>' attribute.
- * @see #setForegroundColor(RGB)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_ForegroundColor()
- * @model dataType="org.eclipse.papyrus.di.RGB"
- * @generated
- */
- RGB getForegroundColor();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getForegroundColor <em>Foreground Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Foreground Color</em>' attribute.
- * @see #getForegroundColor()
- * @generated
- */
- void setForegroundColor(RGB value);
-
- /**
- * Returns the value of the '<em><b>Background Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Background Color</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Background Color</em>' attribute.
- * @see #setBackgroundColor(RGB)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_BackgroundColor()
- * @model dataType="org.eclipse.papyrus.di.RGB"
- * @generated
- */
- RGB getBackgroundColor();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getBackgroundColor <em>Background Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Background Color</em>' attribute.
- * @see #getBackgroundColor()
- * @generated
- */
- void setBackgroundColor(RGB value);
-
- /**
- * Returns the value of the '<em><b>Border Color</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Border Color</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Border Color</em>' attribute.
- * @see #setBorderColor(RGB)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_BorderColor()
- * @model dataType="org.eclipse.papyrus.di.RGB"
- * @generated
- */
- RGB getBorderColor();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getBorderColor <em>Border Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Border Color</em>' attribute.
- * @see #getBorderColor()
- * @generated
- */
- void setBorderColor(RGB value);
-
- /**
- * Returns the value of the '<em><b>Translucent</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Translucent</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Translucent</em>' attribute.
- * @see #setTranslucent(boolean)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_Translucent()
- * @model dataType="org.eclipse.uml2.uml.Boolean"
- * @generated
- */
- boolean isTranslucent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#isTranslucent <em>Translucent</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Translucent</em>' attribute.
- * @see #isTranslucent()
- * @generated
- */
- void setTranslucent(boolean value);
-
- /**
- * Returns the value of the '<em><b>Semantic Parent</b></em>' reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.DiagramElement#getSemanticChild <em>Semantic Child</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Semantic Parent</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Semantic Parent</em>' reference.
- * @see #setSemanticParent(DiagramElement)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_SemanticParent()
- * @see org.eclipse.papyrus.di.DiagramElement#getSemanticChild
- * @model opposite="semanticChild"
- * @generated
- */
- DiagramElement getSemanticParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramElement#getSemanticParent <em>Semantic Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Semantic Parent</em>' reference.
- * @see #getSemanticParent()
- * @generated
- */
- void setSemanticParent(DiagramElement value);
-
- /**
- * Returns the value of the '<em><b>Semantic Child</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.DiagramElement}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.DiagramElement#getSemanticParent <em>Semantic Parent</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Semantic Child</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Semantic Child</em>' reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramElement_SemanticChild()
- * @see org.eclipse.papyrus.di.DiagramElement#getSemanticParent
- * @model opposite="semanticParent"
- * @generated
- */
- EList<DiagramElement> getSemanticChild();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model dataType="org.eclipse.papyrus.di.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);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * it is used to obtain the name of the good editpart
- * <!-- end-model-doc -->
- *
- * @model kind="operation" dataType="org.eclipse.uml2.uml.String"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return this.getPropertyValue(org.eclipse.papyrus.di.PapyrusKeyEnumeration.PAPYRUSEDITPART.getLiteral());'"
- * @generated
- */
- String getEditpartName();
-
-} // DiagramElement
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramLink.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramLink.java
deleted file mode 100644
index 2effd55457f..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/DiagramLink.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Diagram Link</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.DiagramLink#getDiagram <em>Diagram</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramLink#getZoom <em>Zoom</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramLink#getViewport <em>Viewport</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.DiagramLink#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramLink()
- * @model
- * @generated
- */
-public interface DiagramLink extends EObject {
-
- /**
- * Returns the value of the '<em><b>Diagram</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Diagram</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Diagram</em>' reference.
- * @see #setDiagram(Diagram)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramLink_Diagram()
- * @model required="true"
- * @generated
- */
- Diagram getDiagram();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramLink#getDiagram <em>Diagram</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Diagram</em>' reference.
- * @see #getDiagram()
- * @generated
- */
- void setDiagram(Diagram value);
-
- /**
- * Returns the value of the '<em><b>Zoom</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Zoom</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Zoom</em>' attribute.
- * @see #setZoom(double)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramLink_Zoom()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getZoom();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramLink#getZoom <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Zoom</em>' attribute.
- * @see #getZoom()
- * @generated
- */
- void setZoom(double value);
-
- /**
- * Returns the value of the '<em><b>Viewport</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Viewport</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Viewport</em>' attribute.
- * @see #setViewport(Point)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramLink_Viewport()
- * @model dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- Point getViewport();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramLink#getViewport <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Viewport</em>' attribute.
- * @see #getViewport()
- * @generated
- */
- void setViewport(Point value);
-
- /**
- * Returns the value of the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Graph Element</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Graph Element</em>' reference.
- * @see #setGraphElement(GraphElement)
- * @see org.eclipse.papyrus.di.DiPackage#getDiagramLink_GraphElement()
- * @model required="true"
- * @generated
- */
- GraphElement getGraphElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.DiagramLink#getGraphElement <em>Graph Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Graph Element</em>' reference.
- * @see #getGraphElement()
- * @generated
- */
- void setGraphElement(GraphElement value);
-
-} // DiagramLink
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Ellipse.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Ellipse.java
deleted file mode 100644
index 0d837b475dd..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Ellipse.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Ellipse</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getCenter <em>Center</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getRadiusX <em>Radius X</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getRadiusY <em>Radius Y</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getRotation <em>Rotation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getStartAngle <em>Start Angle</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Ellipse#getEndAngle <em>End Angle</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse()
- * @model
- * @generated
- */
-public interface Ellipse extends GraphicPrimitive {
-
- /**
- * Returns the value of the '<em><b>Center</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Center</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Center</em>' attribute.
- * @see #setCenter(Point)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_Center()
- * @model dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- Point getCenter();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getCenter <em>Center</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Center</em>' attribute.
- * @see #getCenter()
- * @generated
- */
- void setCenter(Point value);
-
- /**
- * Returns the value of the '<em><b>Radius X</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Radius X</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Radius X</em>' attribute.
- * @see #setRadiusX(double)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_RadiusX()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getRadiusX();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getRadiusX <em>Radius X</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Radius X</em>' attribute.
- * @see #getRadiusX()
- * @generated
- */
- void setRadiusX(double value);
-
- /**
- * Returns the value of the '<em><b>Radius Y</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Radius Y</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Radius Y</em>' attribute.
- * @see #setRadiusY(double)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_RadiusY()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getRadiusY();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getRadiusY <em>Radius Y</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Radius Y</em>' attribute.
- * @see #getRadiusY()
- * @generated
- */
- void setRadiusY(double value);
-
- /**
- * Returns the value of the '<em><b>Rotation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Rotation</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Rotation</em>' attribute.
- * @see #setRotation(double)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_Rotation()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getRotation();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getRotation <em>Rotation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Rotation</em>' attribute.
- * @see #getRotation()
- * @generated
- */
- void setRotation(double value);
-
- /**
- * Returns the value of the '<em><b>Start Angle</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Start Angle</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Start Angle</em>' attribute.
- * @see #setStartAngle(double)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_StartAngle()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getStartAngle();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getStartAngle <em>Start Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start Angle</em>' attribute.
- * @see #getStartAngle()
- * @generated
- */
- void setStartAngle(double value);
-
- /**
- * Returns the value of the '<em><b>End Angle</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>End Angle</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>End Angle</em>' attribute.
- * @see #setEndAngle(double)
- * @see org.eclipse.papyrus.di.DiPackage#getEllipse_EndAngle()
- * @model dataType="org.eclipse.papyrus.di.Double"
- * @generated
- */
- double getEndAngle();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Ellipse#getEndAngle <em>End Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>End Angle</em>' attribute.
- * @see #getEndAngle()
- * @generated
- */
- void setEndAngle(double value);
-
-} // Ellipse
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphConnector.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphConnector.java
deleted file mode 100644
index e43015c8f12..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphConnector.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graph Connector</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.GraphConnector#getPosition <em>Position</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphConnector#getGraphEdge <em>Graph Edge</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphConnector#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getGraphConnector()
- * @model
- * @generated
- */
-public interface GraphConnector extends EObject {
-
- /**
- * Returns the value of the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Position</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Position</em>' attribute.
- * @see #setPosition(Point)
- * @see org.eclipse.papyrus.di.DiPackage#getGraphConnector_Position()
- * @model dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- Point getPosition();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.GraphConnector#getPosition <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Position</em>' attribute.
- * @see #getPosition()
- * @generated
- */
- void setPosition(Point value);
-
- /**
- * Returns the value of the '<em><b>Graph Edge</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.GraphEdge}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.GraphEdge#getAnchor <em>Anchor</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Graph Edge</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Graph Edge</em>' reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphConnector_GraphEdge()
- * @see org.eclipse.papyrus.di.GraphEdge#getAnchor
- * @model opposite="anchor"
- * @generated
- */
- EList<GraphEdge> getGraphEdge();
-
- /**
- * Returns the value of the '<em><b>Graph Element</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.GraphElement#getAnchorage <em>Anchorage</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Graph Element</em>' container reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Graph Element</em>' container reference.
- * @see #setGraphElement(GraphElement)
- * @see org.eclipse.papyrus.di.DiPackage#getGraphConnector_GraphElement()
- * @see org.eclipse.papyrus.di.GraphElement#getAnchorage
- * @model opposite="anchorage" required="true" transient="false"
- * @generated
- */
- GraphElement getGraphElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.GraphConnector#getGraphElement <em>Graph Element</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Graph Element</em>' container reference.
- * @see #getGraphElement()
- * @generated
- */
- void setGraphElement(GraphElement value);
-
-} // GraphConnector
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphEdge.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphEdge.java
deleted file mode 100644
index 3f6e2d862b5..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphEdge.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graph Edge</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.GraphEdge#getAnchor <em>Anchor</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphEdge#getWaypoints <em>Waypoints</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getGraphEdge()
- * @model
- * @generated
- */
-public interface GraphEdge extends GraphElement {
-
- /**
- * Returns the value of the '<em><b>Anchor</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.GraphConnector}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.GraphConnector#getGraphEdge <em>Graph Edge</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Anchor</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Anchor</em>' reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphEdge_Anchor()
- * @see org.eclipse.papyrus.di.GraphConnector#getGraphEdge
- * @model opposite="graphEdge" upper="2"
- * @generated
- */
- EList<GraphConnector> getAnchor();
-
- /**
- * Returns the value of the '<em><b>Waypoints</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.draw2d.geometry.Point}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Waypoints</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Waypoints</em>' attribute list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphEdge_Waypoints()
- * @model default="" dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- EList<Point> getWaypoints();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ((GraphConnector)getAnchor().get(0)).getGraphElement();'"
- * @generated
- */
- GraphElement getAnchorSource();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ((GraphConnector)getAnchor().get(1)).getGraphElement();'"
- * @generated
- */
- GraphElement getAnchorTarget();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='initConnectors();\r\n((GraphConnector)getAnchor().get(0)).setGraphElement(value);'"
- * @generated
- */
- void setAnchorSource(GraphElement value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='initConnectors();\r\n((GraphConnector)getAnchor().get(1)).setGraphElement(value);'"
- * @generated
- */
- void setAnchorTarget(GraphElement value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='if(!getAnchor().isEmpty())\r\n return;\r\n \t\r\ngetAnchor().add( DiPackage.eINSTANCE.getDiFactory().createGraphConnector() ) ;\r\ngetAnchor().add( DiPackage.eINSTANCE.getDiFactory().createGraphConnector() ) ;\r\n'"
- * @generated
- */
- void initConnectors();
-
-} // GraphEdge
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphElement.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphElement.java
deleted file mode 100644
index 31e612092a6..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphElement.java
+++ /dev/null
@@ -1,150 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graph Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.GraphElement#getContained <em>Contained</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphElement#getLink <em>Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphElement#getSemanticModel <em>Semantic Model</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphElement#getPosition <em>Position</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.GraphElement#getAnchorage <em>Anchorage</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement()
- * @model
- * @generated
- */
-public interface GraphElement extends DiagramElement {
-
- /**
- * Returns the value of the '<em><b>Contained</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.DiagramElement}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.DiagramElement#getContainer <em>Container</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Contained</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Contained</em>' containment reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement_Contained()
- * @see org.eclipse.papyrus.di.DiagramElement#getContainer
- * @model opposite="container" containment="true"
- * @generated
- */
- EList<DiagramElement> getContained();
-
- /**
- * Returns the value of the '<em><b>Link</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.DiagramLink}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Link</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Link</em>' containment reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement_Link()
- * @model containment="true"
- * @generated
- */
- EList<DiagramLink> getLink();
-
- /**
- * Returns the value of the '<em><b>Semantic Model</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Semantic Model</em>' containment reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Semantic Model</em>' containment reference.
- * @see #setSemanticModel(SemanticModelBridge)
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement_SemanticModel()
- * @model containment="true"
- * @generated
- */
- SemanticModelBridge getSemanticModel();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.GraphElement#getSemanticModel <em>Semantic Model</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Semantic Model</em>' containment reference.
- * @see #getSemanticModel()
- * @generated
- */
- void setSemanticModel(SemanticModelBridge value);
-
- /**
- * Returns the value of the '<em><b>Position</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Position</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Position</em>' attribute.
- * @see #setPosition(Point)
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement_Position()
- * @model dataType="org.eclipse.papyrus.di.Point"
- * @generated
- */
- Point getPosition();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.GraphElement#getPosition <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Position</em>' attribute.
- * @see #getPosition()
- * @generated
- */
- void setPosition(Point value);
-
- /**
- * Returns the value of the '<em><b>Anchorage</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.di.GraphConnector}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.di.GraphConnector#getGraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Anchorage</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Anchorage</em>' containment reference list.
- * @see org.eclipse.papyrus.di.DiPackage#getGraphElement_Anchorage()
- * @see org.eclipse.papyrus.di.GraphConnector#getGraphElement
- * @model opposite="graphElement" containment="true"
- * @generated
- */
- EList<GraphConnector> getAnchorage();
-
-} // GraphElement
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphNode.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphNode.java
deleted file mode 100644
index 6ad94f26d8f..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphNode.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Dimension;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graph Node</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.GraphNode#getSize <em>Size</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getGraphNode()
- * @model
- * @generated
- */
-public interface GraphNode extends GraphElement {
-
- /**
- * Returns the value of the '<em><b>Size</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Size</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Size</em>' attribute.
- * @see #setSize(Dimension)
- * @see org.eclipse.papyrus.di.DiPackage#getGraphNode_Size()
- * @model dataType="org.eclipse.papyrus.di.Dimension"
- * @generated
- */
- Dimension getSize();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.GraphNode#getSize <em>Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Size</em>' attribute.
- * @see #getSize()
- * @generated
- */
- void setSize(Dimension value);
-
-} // GraphNode
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphicPrimitive.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphicPrimitive.java
deleted file mode 100644
index 812db85e3f5..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/GraphicPrimitive.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Graphic Primitive</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.di.DiPackage#getGraphicPrimitive()
- * @model
- * @generated
- */
-public interface GraphicPrimitive extends LeafElement {
-} // GraphicPrimitive
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Image.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Image.java
deleted file mode 100644
index 5e95878128e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Image.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Image</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Image#getUri <em>Uri</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Image#getMimeType <em>Mime Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getImage()
- * @model
- * @generated
- */
-public interface Image extends LeafElement {
-
- /**
- * Returns the value of the '<em><b>Uri</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Uri</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Uri</em>' attribute.
- * @see #setUri(String)
- * @see org.eclipse.papyrus.di.DiPackage#getImage_Uri()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getUri();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Image#getUri <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Uri</em>' attribute.
- * @see #getUri()
- * @generated
- */
- void setUri(String value);
-
- /**
- * Returns the value of the '<em><b>Mime Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mime Type</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Mime Type</em>' attribute.
- * @see #setMimeType(String)
- * @see org.eclipse.papyrus.di.DiPackage#getImage_MimeType()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getMimeType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Image#getMimeType <em>Mime Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Mime Type</em>' attribute.
- * @see #getMimeType()
- * @generated
- */
- void setMimeType(String value);
-
-} // Image
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/LeafElement.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/LeafElement.java
deleted file mode 100644
index 923691b0ae6..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/LeafElement.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Leaf Element</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.di.DiPackage#getLeafElement()
- * @model
- * @generated
- */
-public interface LeafElement extends DiagramElement {
-} // LeafElement
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/PapyrusKeyEnumeration.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/PapyrusKeyEnumeration.java
deleted file mode 100644
index 7bafa13f8ea..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/PapyrusKeyEnumeration.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Papyrus Key Enumeration</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.DiPackage#getPapyrusKeyEnumeration()
- * @model
- * @generated
- */
-public enum PapyrusKeyEnumeration implements Enumerator {
- /**
- * The '<em><b>Papyruseditpart</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #PAPYRUSEDITPART_VALUE
- * @generated
- * @ordered
- */
- PAPYRUSEDITPART(0, "papyruseditpart", "papyruseditpart");
-
- /**
- * The '<em><b>Papyruseditpart</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>Papyruseditpart</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #PAPYRUSEDITPART
- * @model name="papyruseditpart"
- * @generated
- * @ordered
- */
- public static final int PAPYRUSEDITPART_VALUE = 0;
-
- /**
- * An array of all the '<em><b>Papyrus Key Enumeration</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final PapyrusKeyEnumeration[] VALUES_ARRAY =
- new PapyrusKeyEnumeration[]{
- PAPYRUSEDITPART,
- };
-
- /**
- * A public read-only list of all the '<em><b>Papyrus Key Enumeration</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<PapyrusKeyEnumeration> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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 '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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 '<em><b>Papyrus Key Enumeration</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static PapyrusKeyEnumeration get(int value) {
- switch(value) {
- case PAPYRUSEDITPART_VALUE:
- return PAPYRUSEDITPART;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private PapyrusKeyEnumeration(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} //PapyrusKeyEnumeration
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Polilyne.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Polilyne.java
deleted file mode 100644
index a4916f097e5..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Polilyne.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.draw2d.geometry.Point;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Polilyne</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Polilyne#getWaypoints <em>Waypoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Polilyne#getClosed <em>Closed</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getPolilyne()
- * @model
- * @generated
- */
-public interface Polilyne extends GraphicPrimitive {
-
- /**
- * Returns the value of the '<em><b>Waypoints</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.draw2d.geometry.Point}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Waypoints</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Waypoints</em>' attribute list.
- * @see org.eclipse.papyrus.di.DiPackage#getPolilyne_Waypoints()
- * @model dataType="org.eclipse.papyrus.di.Point" lower="2"
- * @generated
- */
- EList<Point> getWaypoints();
-
- /**
- * Returns the value of the '<em><b>Closed</b></em>' attribute list.
- * The list contents are of type {@link java.lang.Boolean}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Closed</em>' attribute list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Closed</em>' attribute list.
- * @see org.eclipse.papyrus.di.DiPackage#getPolilyne_Closed()
- * @model dataType="org.eclipse.uml2.uml.Boolean" lower="2"
- * @generated
- */
- EList<Boolean> getClosed();
-
-} // Polilyne
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Property.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Property.java
deleted file mode 100644
index dcd0d22fa4a..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Property.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Property</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Property#getKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Property#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getProperty()
- * @model
- * @generated
- */
-public interface Property extends EObject {
-
- /**
- * Returns the value of the '<em><b>Key</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Key</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Key</em>' attribute.
- * @see #setKey(String)
- * @see org.eclipse.papyrus.di.DiPackage#getProperty_Key()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getKey();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Property#getKey <em>Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Key</em>' attribute.
- * @see #getKey()
- * @generated
- */
- void setKey(String value);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.di.DiPackage#getProperty_Value()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Property#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
-} // Property
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Reference.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Reference.java
deleted file mode 100644
index 79d290240ff..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Reference.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Reference</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Reference#isIsIndividualRepresentation <em>Is Individual Representation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.Reference#getReferenced <em>Referenced</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getReference()
- * @model
- * @generated
- */
-public interface Reference extends DiagramElement {
-
- /**
- * Returns the value of the '<em><b>Is Individual Representation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Individual Representation</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Is Individual Representation</em>' attribute.
- * @see #setIsIndividualRepresentation(boolean)
- * @see org.eclipse.papyrus.di.DiPackage#getReference_IsIndividualRepresentation()
- * @model dataType="org.eclipse.uml2.uml.Boolean"
- * @generated
- */
- boolean isIsIndividualRepresentation();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Reference#isIsIndividualRepresentation <em>Is Individual Representation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Individual Representation</em>' attribute.
- * @see #isIsIndividualRepresentation()
- * @generated
- */
- void setIsIndividualRepresentation(boolean value);
-
- /**
- * Returns the value of the '<em><b>Referenced</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Referenced</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Referenced</em>' reference.
- * @see #setReferenced(DiagramElement)
- * @see org.eclipse.papyrus.di.DiPackage#getReference_Referenced()
- * @model required="true"
- * @generated
- */
- DiagramElement getReferenced();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Reference#getReferenced <em>Referenced</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Referenced</em>' reference.
- * @see #getReferenced()
- * @generated
- */
- void setReferenced(DiagramElement value);
-
-} // Reference
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SemanticModelBridge.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SemanticModelBridge.java
deleted file mode 100644
index 777015f2caf..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SemanticModelBridge.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Semantic Model Bridge</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.SemanticModelBridge#getPresentation <em>Presentation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.SemanticModelBridge#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getSemanticModelBridge()
- * @model
- * @generated
- */
-public interface SemanticModelBridge extends EObject {
-
- /**
- * Returns the value of the '<em><b>Presentation</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Presentation</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Presentation</em>' attribute.
- * @see #setPresentation(String)
- * @see org.eclipse.papyrus.di.DiPackage#getSemanticModelBridge_Presentation()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getPresentation();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.SemanticModelBridge#getPresentation <em>Presentation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Presentation</em>' attribute.
- * @see #getPresentation()
- * @generated
- */
- void setPresentation(String value);
-
- /**
- * Returns the value of the '<em><b>Graph Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Graph Element</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Graph Element</em>' reference.
- * @see #setGraphElement(GraphElement)
- * @see org.eclipse.papyrus.di.DiPackage#getSemanticModelBridge_GraphElement()
- * @model
- * @generated
- */
- GraphElement getGraphElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.SemanticModelBridge#getGraphElement <em>Graph Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Graph Element</em>' reference.
- * @see #getGraphElement()
- * @generated
- */
- void setGraphElement(GraphElement value);
-
-} // SemanticModelBridge
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SimpleSemanticModelElement.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SimpleSemanticModelElement.java
deleted file mode 100644
index af586b8b9d5..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/SimpleSemanticModelElement.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Simple Semantic Model Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.SimpleSemanticModelElement#getTypeinfo <em>Typeinfo</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getSimpleSemanticModelElement()
- * @model
- * @generated
- */
-public interface SimpleSemanticModelElement extends SemanticModelBridge {
-
- /**
- * Returns the value of the '<em><b>Typeinfo</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Typeinfo</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Typeinfo</em>' attribute.
- * @see #setTypeinfo(String)
- * @see org.eclipse.papyrus.di.DiPackage#getSimpleSemanticModelElement_Typeinfo()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getTypeinfo();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.SimpleSemanticModelElement#getTypeinfo <em>Typeinfo</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Typeinfo</em>' attribute.
- * @see #getTypeinfo()
- * @generated
- */
- void setTypeinfo(String value);
-
-} // SimpleSemanticModelElement
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/TextElement.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/TextElement.java
deleted file mode 100644
index 61221b60a9d..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/TextElement.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Text Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.TextElement#getText <em>Text</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getTextElement()
- * @model
- * @generated
- */
-public interface TextElement extends LeafElement {
-
- /**
- * Returns the value of the '<em><b>Text</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Text</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Text</em>' attribute.
- * @see #setText(String)
- * @see org.eclipse.papyrus.di.DiPackage#getTextElement_Text()
- * @model dataType="org.eclipse.uml2.uml.String"
- * @generated
- */
- String getText();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.TextElement#getText <em>Text</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Text</em>' attribute.
- * @see #getText()
- * @generated
- */
- void setText(String value);
-
-} // TextElement
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Uml1SemanticModelBridge.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Uml1SemanticModelBridge.java
deleted file mode 100644
index 25417d8afe6..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/Uml1SemanticModelBridge.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di;
-
-import org.eclipse.uml2.uml.Element;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Uml1 Semantic Model Bridge</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.Uml1SemanticModelBridge#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.di.DiPackage#getUml1SemanticModelBridge()
- * @model
- * @generated
- */
-public interface Uml1SemanticModelBridge extends SemanticModelBridge {
-
- /**
- * Returns the value of the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Element</em>' reference.
- * @see #setElement(Element)
- * @see org.eclipse.papyrus.di.DiPackage#getUml1SemanticModelBridge_Element()
- * @model
- * @generated
- */
- Element getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.di.Uml1SemanticModelBridge#getElement <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Element</em>' reference.
- * @see #getElement()
- * @generated
- */
- void setElement(Element value);
-
-} // Uml1SemanticModelBridge
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/CoreSemanticModelBridgeImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/CoreSemanticModelBridgeImpl.java
deleted file mode 100644
index aad437e0416..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/CoreSemanticModelBridgeImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.di.CoreSemanticModelBridge;
-import org.eclipse.papyrus.di.DiPackage;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Core Semantic Model Bridge</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.CoreSemanticModelBridgeImpl#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CoreSemanticModelBridgeImpl extends SemanticModelBridgeImpl implements CoreSemanticModelBridge {
-
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected EObject element;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected CoreSemanticModelBridgeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.CORE_SEMANTIC_MODEL_BRIDGE;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getElement() {
- if(element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject)element;
- element = eResolveProxy(oldElement);
- if(element != oldElement) {
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT, oldElement, element));
- }
- }
- return element;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject basicGetElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setElement(EObject newElement) {
- EObject oldElement = element;
- element = newElement;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT, oldElement, element));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- if(resolve)
- return getElement();
- return basicGetElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- setElement((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- setElement((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- return element != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // CoreSemanticModelBridgeImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiFactoryImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiFactoryImpl.java
deleted file mode 100644
index ebe4e850a29..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiFactoryImpl.java
+++ /dev/null
@@ -1,554 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.*;
-
-import org.eclipse.swt.graphics.RGB;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class DiFactoryImpl extends EFactoryImpl implements DiFactory {
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static DiFactory init() {
- try {
- DiFactory theDiFactory = (DiFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/0.7.0/di");
- if(theDiFactory != null) {
- return theDiFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new DiFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case DiPackage.DIAGRAM_ELEMENT:
- return createDiagramElement();
- case DiPackage.GRAPH_ELEMENT:
- return createGraphElement();
- case DiPackage.REFERENCE:
- return createReference();
- case DiPackage.PROPERTY:
- return createProperty();
- case DiPackage.GRAPH_EDGE:
- return createGraphEdge();
- case DiPackage.GRAPH_CONNECTOR:
- return createGraphConnector();
- case DiPackage.GRAPH_NODE:
- return createGraphNode();
- case DiPackage.DIAGRAM_LINK:
- return createDiagramLink();
- case DiPackage.DIAGRAM:
- return createDiagram();
- case DiPackage.SEMANTIC_MODEL_BRIDGE:
- return createSemanticModelBridge();
- case DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT:
- return createSimpleSemanticModelElement();
- case DiPackage.UML1_SEMANTIC_MODEL_BRIDGE:
- return createUml1SemanticModelBridge();
- case DiPackage.CORE_SEMANTIC_MODEL_BRIDGE:
- return createCoreSemanticModelBridge();
- case DiPackage.LEAF_ELEMENT:
- return createLeafElement();
- case DiPackage.TEXT_ELEMENT:
- return createTextElement();
- case DiPackage.IMAGE:
- return createImage();
- case DiPackage.GRAPHIC_PRIMITIVE:
- return createGraphicPrimitive();
- case DiPackage.POLILYNE:
- return createPolilyne();
- case DiPackage.ELLIPSE:
- return createEllipse();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
- case DiPackage.PAPYRUS_KEY_ENUMERATION:
- return createPapyrusKeyEnumerationFromString(eDataType, initialValue);
- case DiPackage.POINT:
- return createPointFromString(eDataType, initialValue);
- case DiPackage.DIMENSION:
- return createDimensionFromString(eDataType, initialValue);
- case DiPackage.DOUBLE:
- return createDoubleFromString(eDataType, initialValue);
- case DiPackage.RGB:
- return createRGBFromString(eDataType, initialValue);
- case DiPackage.STRING:
- return createStringFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
- case DiPackage.PAPYRUS_KEY_ENUMERATION:
- return convertPapyrusKeyEnumerationToString(eDataType, instanceValue);
- case DiPackage.POINT:
- return convertPointToString(eDataType, instanceValue);
- case DiPackage.DIMENSION:
- return convertDimensionToString(eDataType, instanceValue);
- case DiPackage.DOUBLE:
- return convertDoubleToString(eDataType, instanceValue);
- case DiPackage.RGB:
- return convertRGBToString(eDataType, instanceValue);
- case DiPackage.STRING:
- return convertStringToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiagramElement createDiagramElement() {
- DiagramElementImpl diagramElement = new DiagramElementImpl();
- return diagramElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement createGraphElement() {
- GraphElementImpl graphElement = new GraphElementImpl();
- return graphElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Reference createReference() {
- ReferenceImpl reference = new ReferenceImpl();
- return reference;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Property createProperty() {
- PropertyImpl property = new PropertyImpl();
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphEdge createGraphEdge() {
- GraphEdgeImpl graphEdge = new GraphEdgeImpl();
- return graphEdge;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphConnector createGraphConnector() {
- GraphConnectorImpl graphConnector = new GraphConnectorImpl();
- return graphConnector;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphNode createGraphNode() {
- GraphNodeImpl graphNode = new GraphNodeImpl();
- return graphNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiagramLink createDiagramLink() {
- DiagramLinkImpl diagramLink = new DiagramLinkImpl();
- return diagramLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Diagram createDiagram() {
- DiagramImpl diagram = new DiagramImpl();
- return diagram;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public SemanticModelBridge createSemanticModelBridge() {
- SemanticModelBridgeImpl semanticModelBridge = new SemanticModelBridgeImpl();
- return semanticModelBridge;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public SimpleSemanticModelElement createSimpleSemanticModelElement() {
- SimpleSemanticModelElementImpl simpleSemanticModelElement = new SimpleSemanticModelElementImpl();
- return simpleSemanticModelElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Uml1SemanticModelBridge createUml1SemanticModelBridge() {
- Uml1SemanticModelBridgeImpl uml1SemanticModelBridge = new Uml1SemanticModelBridgeImpl();
- return uml1SemanticModelBridge;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public CoreSemanticModelBridge createCoreSemanticModelBridge() {
- CoreSemanticModelBridgeImpl coreSemanticModelBridge = new CoreSemanticModelBridgeImpl();
- return coreSemanticModelBridge;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public LeafElement createLeafElement() {
- LeafElementImpl leafElement = new LeafElementImpl();
- return leafElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TextElement createTextElement() {
- TextElementImpl textElement = new TextElementImpl();
- return textElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Image createImage() {
- ImageImpl image = new ImageImpl();
- return image;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphicPrimitive createGraphicPrimitive() {
- GraphicPrimitiveImpl graphicPrimitive = new GraphicPrimitiveImpl();
- return graphicPrimitive;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Polilyne createPolilyne() {
- PolilyneImpl polilyne = new PolilyneImpl();
- return polilyne;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Ellipse createEllipse() {
- EllipseImpl ellipse = new EllipseImpl();
- return ellipse;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertPapyrusKeyEnumerationToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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;
-
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Double createDoubleFromString(EDataType eDataType, String initialValue) {
- return (Double)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertDoubleToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String createStringFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertStringToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiPackage getDiPackage() {
- return (DiPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static DiPackage getPackage() {
- return DiPackage.eINSTANCE;
- }
-
-} //DiFactoryImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiPackageImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiPackageImpl.java
deleted file mode 100644
index f83409fcb2e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiPackageImpl.java
+++ /dev/null
@@ -1,1455 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.CoreSemanticModelBridge;
-import org.eclipse.papyrus.di.DiFactory;
-import org.eclipse.papyrus.di.DiPackage;
-import org.eclipse.papyrus.di.Diagram;
-import org.eclipse.papyrus.di.DiagramElement;
-import org.eclipse.papyrus.di.DiagramLink;
-import org.eclipse.papyrus.di.Ellipse;
-import org.eclipse.papyrus.di.GraphConnector;
-import org.eclipse.papyrus.di.GraphEdge;
-import org.eclipse.papyrus.di.GraphElement;
-import org.eclipse.papyrus.di.GraphNode;
-import org.eclipse.papyrus.di.GraphicPrimitive;
-import org.eclipse.papyrus.di.Image;
-import org.eclipse.papyrus.di.LeafElement;
-import org.eclipse.papyrus.di.PapyrusKeyEnumeration;
-import org.eclipse.papyrus.di.Polilyne;
-import org.eclipse.papyrus.di.Property;
-import org.eclipse.papyrus.di.Reference;
-import org.eclipse.papyrus.di.SemanticModelBridge;
-import org.eclipse.papyrus.di.SimpleSemanticModelElement;
-import org.eclipse.papyrus.di.TextElement;
-import org.eclipse.papyrus.di.Uml1SemanticModelBridge;
-
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class DiPackageImpl extends EPackageImpl implements DiPackage {
-
- /**
- * <!-- 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.di.DiPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private DiPackageImpl() {
- super(eNS_URI, DiFactory.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.
- *
- * <p>
- * This method is used to initialize {@link DiPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they
- * should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static DiPackage init() {
- if(isInited)
- return (DiPackage)EPackage.Registry.INSTANCE.getEPackage(DiPackage.eNS_URI);
-
- // Obtain or create and register package
- DiPackageImpl theDiPackage = (DiPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DiPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DiPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UMLPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theDiPackage.createPackageContents();
-
- // Initialize created meta-data
- theDiPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theDiPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(DiPackage.eNS_URI, theDiPackage);
- return theDiPackage;
- }
-
- /**
- * <!-- 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 EReference getCoreSemanticModelBridge_Element() {
- return (EReference)coreSemanticModelBridgeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- 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 DiFactory getDiFactory() {
- return (DiFactory)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);
- createEReference(coreSemanticModelBridgeEClass, CORE_SEMANTIC_MODEL_BRIDGE__ELEMENT);
-
- 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);
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.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);
- initEReference(getCoreSemanticModelBridge_Element(), theEcorePackage.getEObject(), null, "element", null, 0, 1, CoreSemanticModelBridge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- 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);
- }
-
-} //DiPackageImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramElementImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramElementImpl.java
deleted file mode 100644
index 90e4444940e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramElementImpl.java
+++ /dev/null
@@ -1,1083 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.DiagramElement;
-import org.eclipse.papyrus.di.GraphElement;
-import org.eclipse.papyrus.di.Property;
-import org.eclipse.papyrus.di.Reference;
-
-import org.eclipse.swt.graphics.RGB;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#isIsVisible <em>Is Visible</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getReference <em>Reference</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getContainer <em>Container</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getFontFamily <em>Font Family</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getFontSize <em>Font Size</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getLineStyle <em>Line Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getLineThickness <em>Line Thickness</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getFontColor <em>Font Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getForegroundColor <em>Foreground Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getBackgroundColor <em>Background Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getBorderColor <em>Border Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#isTranslucent <em>Translucent</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getSemanticParent <em>Semantic Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramElementImpl#getSemanticChild <em>Semantic Child</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DiagramElementImpl extends EObjectImpl implements DiagramElement {
-
- /**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getProperty()
- * @generated
- * @ordered
- */
- protected EList<Property> property;
-
- /**
- * The default value of the '{@link #isIsVisible() <em>Is Visible</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsVisible()
- * @generated
- * @ordered
- */
- protected static final boolean IS_VISIBLE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isIsVisible() <em>Is Visible</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsVisible()
- * @generated
- * @ordered
- */
- protected boolean isVisible = IS_VISIBLE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getReference() <em>Reference</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getReference()
- * @generated
- * @ordered
- */
- protected EList<Reference> reference;
-
- /**
- * The default value of the '{@link #getFontFamily() <em>Font Family</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontFamily()
- * @generated
- * @ordered
- */
- protected static final String FONT_FAMILY_EDEFAULT = "";
-
- /**
- * The cached value of the '{@link #getFontFamily() <em>Font Family</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontFamily()
- * @generated
- * @ordered
- */
- protected String fontFamily = FONT_FAMILY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFontSize() <em>Font Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontSize()
- * @generated
- * @ordered
- */
- protected static final int FONT_SIZE_EDEFAULT = 10;
-
- /**
- * The cached value of the '{@link #getFontSize() <em>Font Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontSize()
- * @generated
- * @ordered
- */
- protected int fontSize = FONT_SIZE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLineStyle() <em>Line Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLineStyle()
- * @generated
- * @ordered
- */
- protected static final String LINE_STYLE_EDEFAULT = "";
-
- /**
- * The cached value of the '{@link #getLineStyle() <em>Line Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLineStyle()
- * @generated
- * @ordered
- */
- protected String lineStyle = LINE_STYLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLineThickness() <em>Line Thickness</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLineThickness()
- * @generated
- * @ordered
- */
- protected static final int LINE_THICKNESS_EDEFAULT = 1;
-
- /**
- * The cached value of the '{@link #getLineThickness() <em>Line Thickness</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLineThickness()
- * @generated
- * @ordered
- */
- protected int lineThickness = LINE_THICKNESS_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFontColor() <em>Font Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontColor()
- * @generated
- * @ordered
- */
- protected static final RGB FONT_COLOR_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFontColor() <em>Font Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFontColor()
- * @generated
- * @ordered
- */
- protected RGB fontColor = FONT_COLOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #getForegroundColor() <em>Foreground Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getForegroundColor()
- * @generated
- * @ordered
- */
- protected static final RGB FOREGROUND_COLOR_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getForegroundColor() <em>Foreground Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getForegroundColor()
- * @generated
- * @ordered
- */
- protected RGB foregroundColor = FOREGROUND_COLOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBackgroundColor() <em>Background Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBackgroundColor()
- * @generated
- * @ordered
- */
- protected static final RGB BACKGROUND_COLOR_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBackgroundColor() <em>Background Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBackgroundColor()
- * @generated
- * @ordered
- */
- protected RGB backgroundColor = BACKGROUND_COLOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBorderColor() <em>Border Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBorderColor()
- * @generated
- * @ordered
- */
- protected static final RGB BORDER_COLOR_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBorderColor() <em>Border Color</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBorderColor()
- * @generated
- * @ordered
- */
- protected RGB borderColor = BORDER_COLOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #isTranslucent() <em>Translucent</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isTranslucent()
- * @generated
- * @ordered
- */
- protected static final boolean TRANSLUCENT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isTranslucent() <em>Translucent</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isTranslucent()
- * @generated
- * @ordered
- */
- protected boolean translucent = TRANSLUCENT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getSemanticParent() <em>Semantic Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSemanticParent()
- * @generated
- * @ordered
- */
- protected DiagramElement semanticParent;
-
- /**
- * The cached value of the '{@link #getSemanticChild() <em>Semantic Child</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSemanticChild()
- * @generated
- * @ordered
- */
- protected EList<DiagramElement> semanticChild;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DiagramElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.DIAGRAM_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Property> getProperty() {
- if(property == null) {
- property = new EObjectContainmentEList<Property>(Property.class, this, DiPackage.DIAGRAM_ELEMENT__PROPERTY);
- }
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isIsVisible() {
- return isVisible;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setIsVisible(boolean newIsVisible) {
- boolean oldIsVisible = isVisible;
- isVisible = newIsVisible;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__IS_VISIBLE, oldIsVisible, isVisible));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Reference> getReference() {
- if(reference == null) {
- reference = new EObjectResolvingEList<Reference>(Reference.class, this, DiPackage.DIAGRAM_ELEMENT__REFERENCE);
- }
- return reference;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement getContainer() {
- if(eContainerFeatureID() != DiPackage.DIAGRAM_ELEMENT__CONTAINER)
- return null;
- return (GraphElement)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetContainer(GraphElement newContainer, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newContainer, DiPackage.DIAGRAM_ELEMENT__CONTAINER, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setContainer(GraphElement newContainer) {
- if(newContainer != eInternalContainer() || (eContainerFeatureID() != DiPackage.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, DiPackage.GRAPH_ELEMENT__CONTAINED, GraphElement.class, msgs);
- msgs = basicSetContainer(newContainer, msgs);
- if(msgs != null)
- msgs.dispatch();
- } else if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__CONTAINER, newContainer, newContainer));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getFontFamily() {
- return fontFamily;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFontFamily(String newFontFamily) {
- String oldFontFamily = fontFamily;
- fontFamily = newFontFamily;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__FONT_FAMILY, oldFontFamily, fontFamily));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getFontSize() {
- return fontSize;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFontSize(int newFontSize) {
- int oldFontSize = fontSize;
- fontSize = newFontSize;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__FONT_SIZE, oldFontSize, fontSize));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getLineStyle() {
- return lineStyle;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setLineStyle(String newLineStyle) {
- String oldLineStyle = lineStyle;
- lineStyle = newLineStyle;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__LINE_STYLE, oldLineStyle, lineStyle));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getLineThickness() {
- return lineThickness;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setLineThickness(int newLineThickness) {
- int oldLineThickness = lineThickness;
- lineThickness = newLineThickness;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__LINE_THICKNESS, oldLineThickness, lineThickness));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RGB getFontColor() {
- return fontColor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFontColor(RGB newFontColor) {
- RGB oldFontColor = fontColor;
- fontColor = newFontColor;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__FONT_COLOR, oldFontColor, fontColor));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RGB getForegroundColor() {
- return foregroundColor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setForegroundColor(RGB newForegroundColor) {
- RGB oldForegroundColor = foregroundColor;
- foregroundColor = newForegroundColor;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__FOREGROUND_COLOR, oldForegroundColor, foregroundColor));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RGB getBackgroundColor() {
- return backgroundColor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBackgroundColor(RGB newBackgroundColor) {
- RGB oldBackgroundColor = backgroundColor;
- backgroundColor = newBackgroundColor;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__BACKGROUND_COLOR, oldBackgroundColor, backgroundColor));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RGB getBorderColor() {
- return borderColor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBorderColor(RGB newBorderColor) {
- RGB oldBorderColor = borderColor;
- borderColor = newBorderColor;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__BORDER_COLOR, oldBorderColor, borderColor));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isTranslucent() {
- return translucent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTranslucent(boolean newTranslucent) {
- boolean oldTranslucent = translucent;
- translucent = newTranslucent;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__TRANSLUCENT, oldTranslucent, translucent));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT, oldSemanticParent, semanticParent));
- }
- }
- return semanticParent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiagramElement basicGetSemanticParent() {
- return semanticParent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetSemanticParent(DiagramElement newSemanticParent, NotificationChain msgs) {
- DiagramElement oldSemanticParent = semanticParent;
- semanticParent = newSemanticParent;
- if(eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT, oldSemanticParent, newSemanticParent);
- if(msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSemanticParent(DiagramElement newSemanticParent) {
- if(newSemanticParent != semanticParent) {
- NotificationChain msgs = null;
- if(semanticParent != null)
- msgs = ((InternalEObject)semanticParent).eInverseRemove(this, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiagramElement.class, msgs);
- if(newSemanticParent != null)
- msgs = ((InternalEObject)newSemanticParent).eInverseAdd(this, DiPackage.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, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT, newSemanticParent, newSemanticParent));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<DiagramElement> getSemanticChild() {
- if(semanticChild == null) {
- semanticChild = new EObjectWithInverseResolvingEList<DiagramElement>(DiagramElement.class, this, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT);
- }
- return semanticChild;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getPropertyValue(String key) {
- if(this.getProperty(key) != null) {
- return this.getProperty(key).getValue();
- }
- return null;
-
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getEditpartName() {
- return this.getPropertyValue(org.eclipse.papyrus.di.PapyrusKeyEnumeration.PAPYRUSEDITPART.getLiteral());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- if(eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetContainer((GraphElement)otherEnd, msgs);
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- if(semanticParent != null)
- msgs = ((InternalEObject)semanticParent).eInverseRemove(this, DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD, DiagramElement.class, msgs);
- return basicSetSemanticParent((DiagramElement)otherEnd, msgs);
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getSemanticChild()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__PROPERTY:
- return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- return basicSetContainer(null, msgs);
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- return basicSetSemanticParent(null, msgs);
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- return ((InternalEList<?>)getSemanticChild()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- return eInternalContainer().eInverseRemove(this, DiPackage.GRAPH_ELEMENT__CONTAINED, GraphElement.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__PROPERTY:
- return getProperty();
- case DiPackage.DIAGRAM_ELEMENT__IS_VISIBLE:
- return isIsVisible();
- case DiPackage.DIAGRAM_ELEMENT__REFERENCE:
- return getReference();
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- return getContainer();
- case DiPackage.DIAGRAM_ELEMENT__FONT_FAMILY:
- return getFontFamily();
- case DiPackage.DIAGRAM_ELEMENT__FONT_SIZE:
- return getFontSize();
- case DiPackage.DIAGRAM_ELEMENT__LINE_STYLE:
- return getLineStyle();
- case DiPackage.DIAGRAM_ELEMENT__LINE_THICKNESS:
- return getLineThickness();
- case DiPackage.DIAGRAM_ELEMENT__FONT_COLOR:
- return getFontColor();
- case DiPackage.DIAGRAM_ELEMENT__FOREGROUND_COLOR:
- return getForegroundColor();
- case DiPackage.DIAGRAM_ELEMENT__BACKGROUND_COLOR:
- return getBackgroundColor();
- case DiPackage.DIAGRAM_ELEMENT__BORDER_COLOR:
- return getBorderColor();
- case DiPackage.DIAGRAM_ELEMENT__TRANSLUCENT:
- return isTranslucent();
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- if(resolve)
- return getSemanticParent();
- return basicGetSemanticParent();
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- return getSemanticChild();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__PROPERTY:
- getProperty().clear();
- getProperty().addAll((Collection<? extends Property>)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__IS_VISIBLE:
- setIsVisible((Boolean)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__REFERENCE:
- getReference().clear();
- getReference().addAll((Collection<? extends Reference>)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- setContainer((GraphElement)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_FAMILY:
- setFontFamily((String)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_SIZE:
- setFontSize((Integer)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__LINE_STYLE:
- setLineStyle((String)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__LINE_THICKNESS:
- setLineThickness((Integer)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_COLOR:
- setFontColor((RGB)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FOREGROUND_COLOR:
- setForegroundColor((RGB)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__BACKGROUND_COLOR:
- setBackgroundColor((RGB)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__BORDER_COLOR:
- setBorderColor((RGB)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__TRANSLUCENT:
- setTranslucent((Boolean)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- setSemanticParent((DiagramElement)newValue);
- return;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- getSemanticChild().clear();
- getSemanticChild().addAll((Collection<? extends DiagramElement>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__PROPERTY:
- getProperty().clear();
- return;
- case DiPackage.DIAGRAM_ELEMENT__IS_VISIBLE:
- setIsVisible(IS_VISIBLE_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__REFERENCE:
- getReference().clear();
- return;
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- setContainer((GraphElement)null);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_FAMILY:
- setFontFamily(FONT_FAMILY_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_SIZE:
- setFontSize(FONT_SIZE_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__LINE_STYLE:
- setLineStyle(LINE_STYLE_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__LINE_THICKNESS:
- setLineThickness(LINE_THICKNESS_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FONT_COLOR:
- setFontColor(FONT_COLOR_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__FOREGROUND_COLOR:
- setForegroundColor(FOREGROUND_COLOR_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__BACKGROUND_COLOR:
- setBackgroundColor(BACKGROUND_COLOR_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__BORDER_COLOR:
- setBorderColor(BORDER_COLOR_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__TRANSLUCENT:
- setTranslucent(TRANSLUCENT_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- setSemanticParent((DiagramElement)null);
- return;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- getSemanticChild().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM_ELEMENT__PROPERTY:
- return property != null && !property.isEmpty();
- case DiPackage.DIAGRAM_ELEMENT__IS_VISIBLE:
- return isVisible != IS_VISIBLE_EDEFAULT;
- case DiPackage.DIAGRAM_ELEMENT__REFERENCE:
- return reference != null && !reference.isEmpty();
- case DiPackage.DIAGRAM_ELEMENT__CONTAINER:
- return getContainer() != null;
- case DiPackage.DIAGRAM_ELEMENT__FONT_FAMILY:
- return FONT_FAMILY_EDEFAULT == null ? fontFamily != null : !FONT_FAMILY_EDEFAULT.equals(fontFamily);
- case DiPackage.DIAGRAM_ELEMENT__FONT_SIZE:
- return fontSize != FONT_SIZE_EDEFAULT;
- case DiPackage.DIAGRAM_ELEMENT__LINE_STYLE:
- return LINE_STYLE_EDEFAULT == null ? lineStyle != null : !LINE_STYLE_EDEFAULT.equals(lineStyle);
- case DiPackage.DIAGRAM_ELEMENT__LINE_THICKNESS:
- return lineThickness != LINE_THICKNESS_EDEFAULT;
- case DiPackage.DIAGRAM_ELEMENT__FONT_COLOR:
- return FONT_COLOR_EDEFAULT == null ? fontColor != null : !FONT_COLOR_EDEFAULT.equals(fontColor);
- case DiPackage.DIAGRAM_ELEMENT__FOREGROUND_COLOR:
- return FOREGROUND_COLOR_EDEFAULT == null ? foregroundColor != null : !FOREGROUND_COLOR_EDEFAULT.equals(foregroundColor);
- case DiPackage.DIAGRAM_ELEMENT__BACKGROUND_COLOR:
- return BACKGROUND_COLOR_EDEFAULT == null ? backgroundColor != null : !BACKGROUND_COLOR_EDEFAULT.equals(backgroundColor);
- case DiPackage.DIAGRAM_ELEMENT__BORDER_COLOR:
- return BORDER_COLOR_EDEFAULT == null ? borderColor != null : !BORDER_COLOR_EDEFAULT.equals(borderColor);
- case DiPackage.DIAGRAM_ELEMENT__TRANSLUCENT:
- return translucent != TRANSLUCENT_EDEFAULT;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_PARENT:
- return semanticParent != null;
- case DiPackage.DIAGRAM_ELEMENT__SEMANTIC_CHILD:
- return semanticChild != null && !semanticChild.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (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/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramImpl.java
deleted file mode 100644
index 4af081855c2..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramImpl.java
+++ /dev/null
@@ -1,498 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Diagram;
-import org.eclipse.papyrus.di.DiagramLink;
-import org.eclipse.papyrus.di.SemanticModelBridge;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getOwner <em>Owner</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getZoom <em>Zoom</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getViewport <em>Viewport</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getDiagramLink <em>Diagram Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramImpl#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DiagramImpl extends GraphNodeImpl implements Diagram {
-
- /**
- * The cached value of the '{@link #getOwner() <em>Owner</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getOwner()
- * @generated
- * @ordered
- */
- protected SemanticModelBridge owner;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getZoom() <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getZoom()
- * @generated
- * @ordered
- */
- protected static final double ZOOM_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getZoom() <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getZoom()
- * @generated
- * @ordered
- */
- protected double zoom = ZOOM_EDEFAULT;
-
- /**
- * The default value of the '{@link #getViewport() <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getViewport()
- * @generated
- * @ordered
- */
- protected static final Point VIEWPORT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getViewport() <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getViewport()
- * @generated
- * @ordered
- */
- protected Point viewport = VIEWPORT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getDiagramLink() <em>Diagram Link</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDiagramLink()
- * @generated
- * @ordered
- */
- protected EList<DiagramLink> diagramLink;
-
- /**
- * The default value of the '{@link #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getType()
- * @generated
- * @ordered
- */
- protected static final String TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getType()
- * @generated
- * @ordered
- */
- protected String type = TYPE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DiagramImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.DIAGRAM;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public SemanticModelBridge getOwner() {
- return owner;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetOwner(SemanticModelBridge newOwner, NotificationChain msgs) {
- SemanticModelBridge oldOwner = owner;
- owner = newOwner;
- if(eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__OWNER, oldOwner, newOwner);
- if(msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setOwner(SemanticModelBridge newOwner) {
- if(newOwner != owner) {
- NotificationChain msgs = null;
- if(owner != null)
- msgs = ((InternalEObject)owner).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DiPackage.DIAGRAM__OWNER, null, msgs);
- if(newOwner != null)
- msgs = ((InternalEObject)newOwner).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DiPackage.DIAGRAM__OWNER, null, msgs);
- msgs = basicSetOwner(newOwner, msgs);
- if(msgs != null)
- msgs.dispatch();
- } else if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__OWNER, newOwner, newOwner));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getZoom() {
- return zoom;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setZoom(double newZoom) {
- double oldZoom = zoom;
- zoom = newZoom;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__ZOOM, oldZoom, zoom));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Point getViewport() {
- return viewport;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setViewport(Point newViewport) {
- Point oldViewport = viewport;
- viewport = newViewport;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__VIEWPORT, oldViewport, viewport));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<DiagramLink> getDiagramLink() {
- if(diagramLink == null) {
- diagramLink = new EObjectResolvingEList<DiagramLink>(DiagramLink.class, this, DiPackage.DIAGRAM__DIAGRAM_LINK);
- }
- return diagramLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @NOT generated
- */
- public String getType() {
- if(this.type == null || this.type.equals("")) {
- return "ClassDiagram";
- }
- return this.type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setType(String newType) {
- String oldType = type;
- type = newType;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM__TYPE, oldType, type));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.DIAGRAM__OWNER:
- return basicSetOwner(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.DIAGRAM__OWNER:
- return getOwner();
- case DiPackage.DIAGRAM__NAME:
- return getName();
- case DiPackage.DIAGRAM__ZOOM:
- return getZoom();
- case DiPackage.DIAGRAM__VIEWPORT:
- return getViewport();
- case DiPackage.DIAGRAM__DIAGRAM_LINK:
- return getDiagramLink();
- case DiPackage.DIAGRAM__TYPE:
- return getType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.DIAGRAM__OWNER:
- setOwner((SemanticModelBridge)newValue);
- return;
- case DiPackage.DIAGRAM__NAME:
- setName((String)newValue);
- return;
- case DiPackage.DIAGRAM__ZOOM:
- setZoom((Double)newValue);
- return;
- case DiPackage.DIAGRAM__VIEWPORT:
- setViewport((Point)newValue);
- return;
- case DiPackage.DIAGRAM__DIAGRAM_LINK:
- getDiagramLink().clear();
- getDiagramLink().addAll((Collection<? extends DiagramLink>)newValue);
- return;
- case DiPackage.DIAGRAM__TYPE:
- setType((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM__OWNER:
- setOwner((SemanticModelBridge)null);
- return;
- case DiPackage.DIAGRAM__NAME:
- setName(NAME_EDEFAULT);
- return;
- case DiPackage.DIAGRAM__ZOOM:
- setZoom(ZOOM_EDEFAULT);
- return;
- case DiPackage.DIAGRAM__VIEWPORT:
- setViewport(VIEWPORT_EDEFAULT);
- return;
- case DiPackage.DIAGRAM__DIAGRAM_LINK:
- getDiagramLink().clear();
- return;
- case DiPackage.DIAGRAM__TYPE:
- setType(TYPE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM__OWNER:
- return owner != null;
- case DiPackage.DIAGRAM__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case DiPackage.DIAGRAM__ZOOM:
- return zoom != ZOOM_EDEFAULT;
- case DiPackage.DIAGRAM__VIEWPORT:
- return VIEWPORT_EDEFAULT == null ? viewport != null : !VIEWPORT_EDEFAULT.equals(viewport);
- case DiPackage.DIAGRAM__DIAGRAM_LINK:
- return diagramLink != null && !diagramLink.isEmpty();
- case DiPackage.DIAGRAM__TYPE:
- return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (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/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramLinkImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramLinkImpl.java
deleted file mode 100644
index 8b1844230b6..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/DiagramLinkImpl.java
+++ /dev/null
@@ -1,380 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Diagram;
-import org.eclipse.papyrus.di.DiagramLink;
-import org.eclipse.papyrus.di.GraphElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram Link</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl#getDiagram <em>Diagram</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl#getZoom <em>Zoom</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl#getViewport <em>Viewport</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.DiagramLinkImpl#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DiagramLinkImpl extends EObjectImpl implements DiagramLink {
-
- /**
- * The cached value of the '{@link #getDiagram() <em>Diagram</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDiagram()
- * @generated
- * @ordered
- */
- protected Diagram diagram;
-
- /**
- * The default value of the '{@link #getZoom() <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getZoom()
- * @generated
- * @ordered
- */
- protected static final double ZOOM_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getZoom() <em>Zoom</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getZoom()
- * @generated
- * @ordered
- */
- protected double zoom = ZOOM_EDEFAULT;
-
- /**
- * The default value of the '{@link #getViewport() <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getViewport()
- * @generated
- * @ordered
- */
- protected static final Point VIEWPORT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getViewport() <em>Viewport</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getViewport()
- * @generated
- * @ordered
- */
- protected Point viewport = VIEWPORT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGraphElement() <em>Graph Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getGraphElement()
- * @generated
- * @ordered
- */
- protected GraphElement graphElement;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DiagramLinkImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.DIAGRAM_LINK;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.DIAGRAM_LINK__DIAGRAM, oldDiagram, diagram));
- }
- }
- return diagram;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Diagram basicGetDiagram() {
- return diagram;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDiagram(Diagram newDiagram) {
- Diagram oldDiagram = diagram;
- diagram = newDiagram;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_LINK__DIAGRAM, oldDiagram, diagram));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getZoom() {
- return zoom;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setZoom(double newZoom) {
- double oldZoom = zoom;
- zoom = newZoom;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_LINK__ZOOM, oldZoom, zoom));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Point getViewport() {
- return viewport;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setViewport(Point newViewport) {
- Point oldViewport = viewport;
- viewport = newViewport;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_LINK__VIEWPORT, oldViewport, viewport));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT, oldGraphElement, graphElement));
- }
- }
- return graphElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement basicGetGraphElement() {
- return graphElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setGraphElement(GraphElement newGraphElement) {
- GraphElement oldGraphElement = graphElement;
- graphElement = newGraphElement;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT, oldGraphElement, graphElement));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.DIAGRAM_LINK__DIAGRAM:
- if(resolve)
- return getDiagram();
- return basicGetDiagram();
- case DiPackage.DIAGRAM_LINK__ZOOM:
- return getZoom();
- case DiPackage.DIAGRAM_LINK__VIEWPORT:
- return getViewport();
- case DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT:
- if(resolve)
- return getGraphElement();
- return basicGetGraphElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.DIAGRAM_LINK__DIAGRAM:
- setDiagram((Diagram)newValue);
- return;
- case DiPackage.DIAGRAM_LINK__ZOOM:
- setZoom((Double)newValue);
- return;
- case DiPackage.DIAGRAM_LINK__VIEWPORT:
- setViewport((Point)newValue);
- return;
- case DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT:
- setGraphElement((GraphElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM_LINK__DIAGRAM:
- setDiagram((Diagram)null);
- return;
- case DiPackage.DIAGRAM_LINK__ZOOM:
- setZoom(ZOOM_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_LINK__VIEWPORT:
- setViewport(VIEWPORT_EDEFAULT);
- return;
- case DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT:
- setGraphElement((GraphElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.DIAGRAM_LINK__DIAGRAM:
- return diagram != null;
- case DiPackage.DIAGRAM_LINK__ZOOM:
- return zoom != ZOOM_EDEFAULT;
- case DiPackage.DIAGRAM_LINK__VIEWPORT:
- return VIEWPORT_EDEFAULT == null ? viewport != null : !VIEWPORT_EDEFAULT.equals(viewport);
- case DiPackage.DIAGRAM_LINK__GRAPH_ELEMENT:
- return graphElement != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (zoom: ");
- result.append(zoom);
- result.append(", viewport: ");
- result.append(viewport);
- result.append(')');
- return result.toString();
- }
-
-} //DiagramLinkImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/EllipseImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/EllipseImpl.java
deleted file mode 100644
index 11c6ee40cad..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/EllipseImpl.java
+++ /dev/null
@@ -1,478 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Ellipse;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Ellipse</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getCenter <em>Center</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getRadiusX <em>Radius X</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getRadiusY <em>Radius Y</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getRotation <em>Rotation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getStartAngle <em>Start Angle</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.EllipseImpl#getEndAngle <em>End Angle</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EllipseImpl extends GraphicPrimitiveImpl implements Ellipse {
-
- /**
- * The default value of the '{@link #getCenter() <em>Center</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getCenter()
- * @generated
- * @ordered
- */
- protected static final Point CENTER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCenter() <em>Center</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getCenter()
- * @generated
- * @ordered
- */
- protected Point center = CENTER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRadiusX() <em>Radius X</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRadiusX()
- * @generated
- * @ordered
- */
- protected static final double RADIUS_X_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getRadiusX() <em>Radius X</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRadiusX()
- * @generated
- * @ordered
- */
- protected double radiusX = RADIUS_X_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRadiusY() <em>Radius Y</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRadiusY()
- * @generated
- * @ordered
- */
- protected static final double RADIUS_Y_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getRadiusY() <em>Radius Y</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRadiusY()
- * @generated
- * @ordered
- */
- protected double radiusY = RADIUS_Y_EDEFAULT;
-
- /**
- * The default value of the '{@link #getRotation() <em>Rotation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRotation()
- * @generated
- * @ordered
- */
- protected static final double ROTATION_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getRotation() <em>Rotation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRotation()
- * @generated
- * @ordered
- */
- protected double rotation = ROTATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getStartAngle() <em>Start Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartAngle()
- * @generated
- * @ordered
- */
- protected static final double START_ANGLE_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getStartAngle() <em>Start Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getStartAngle()
- * @generated
- * @ordered
- */
- protected double startAngle = START_ANGLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEndAngle() <em>End Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEndAngle()
- * @generated
- * @ordered
- */
- protected static final double END_ANGLE_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getEndAngle() <em>End Angle</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEndAngle()
- * @generated
- * @ordered
- */
- protected double endAngle = END_ANGLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected EllipseImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.ELLIPSE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Point getCenter() {
- return center;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setCenter(Point newCenter) {
- Point oldCenter = center;
- center = newCenter;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__CENTER, oldCenter, center));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getRadiusX() {
- return radiusX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRadiusX(double newRadiusX) {
- double oldRadiusX = radiusX;
- radiusX = newRadiusX;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__RADIUS_X, oldRadiusX, radiusX));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getRadiusY() {
- return radiusY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRadiusY(double newRadiusY) {
- double oldRadiusY = radiusY;
- radiusY = newRadiusY;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__RADIUS_Y, oldRadiusY, radiusY));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getRotation() {
- return rotation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRotation(double newRotation) {
- double oldRotation = rotation;
- rotation = newRotation;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__ROTATION, oldRotation, rotation));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getStartAngle() {
- return startAngle;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setStartAngle(double newStartAngle) {
- double oldStartAngle = startAngle;
- startAngle = newStartAngle;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__START_ANGLE, oldStartAngle, startAngle));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public double getEndAngle() {
- return endAngle;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setEndAngle(double newEndAngle) {
- double oldEndAngle = endAngle;
- endAngle = newEndAngle;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.ELLIPSE__END_ANGLE, oldEndAngle, endAngle));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.ELLIPSE__CENTER:
- return getCenter();
- case DiPackage.ELLIPSE__RADIUS_X:
- return getRadiusX();
- case DiPackage.ELLIPSE__RADIUS_Y:
- return getRadiusY();
- case DiPackage.ELLIPSE__ROTATION:
- return getRotation();
- case DiPackage.ELLIPSE__START_ANGLE:
- return getStartAngle();
- case DiPackage.ELLIPSE__END_ANGLE:
- return getEndAngle();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.ELLIPSE__CENTER:
- setCenter((Point)newValue);
- return;
- case DiPackage.ELLIPSE__RADIUS_X:
- setRadiusX((Double)newValue);
- return;
- case DiPackage.ELLIPSE__RADIUS_Y:
- setRadiusY((Double)newValue);
- return;
- case DiPackage.ELLIPSE__ROTATION:
- setRotation((Double)newValue);
- return;
- case DiPackage.ELLIPSE__START_ANGLE:
- setStartAngle((Double)newValue);
- return;
- case DiPackage.ELLIPSE__END_ANGLE:
- setEndAngle((Double)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.ELLIPSE__CENTER:
- setCenter(CENTER_EDEFAULT);
- return;
- case DiPackage.ELLIPSE__RADIUS_X:
- setRadiusX(RADIUS_X_EDEFAULT);
- return;
- case DiPackage.ELLIPSE__RADIUS_Y:
- setRadiusY(RADIUS_Y_EDEFAULT);
- return;
- case DiPackage.ELLIPSE__ROTATION:
- setRotation(ROTATION_EDEFAULT);
- return;
- case DiPackage.ELLIPSE__START_ANGLE:
- setStartAngle(START_ANGLE_EDEFAULT);
- return;
- case DiPackage.ELLIPSE__END_ANGLE:
- setEndAngle(END_ANGLE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.ELLIPSE__CENTER:
- return CENTER_EDEFAULT == null ? center != null : !CENTER_EDEFAULT.equals(center);
- case DiPackage.ELLIPSE__RADIUS_X:
- return radiusX != RADIUS_X_EDEFAULT;
- case DiPackage.ELLIPSE__RADIUS_Y:
- return radiusY != RADIUS_Y_EDEFAULT;
- case DiPackage.ELLIPSE__ROTATION:
- return rotation != ROTATION_EDEFAULT;
- case DiPackage.ELLIPSE__START_ANGLE:
- return startAngle != START_ANGLE_EDEFAULT;
- case DiPackage.ELLIPSE__END_ANGLE:
- return endAngle != END_ANGLE_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (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/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphConnectorImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphConnectorImpl.java
deleted file mode 100644
index bc8ffac0ce9..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphConnectorImpl.java
+++ /dev/null
@@ -1,346 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.GraphConnector;
-import org.eclipse.papyrus.di.GraphEdge;
-import org.eclipse.papyrus.di.GraphElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graph Connector</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphConnectorImpl#getPosition <em>Position</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphConnectorImpl#getGraphEdge <em>Graph Edge</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphConnectorImpl#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GraphConnectorImpl extends EObjectImpl implements GraphConnector {
-
- /**
- * The default value of the '{@link #getPosition() <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPosition()
- * @generated
- * @ordered
- */
- protected static final Point POSITION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPosition() <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPosition()
- * @generated
- * @ordered
- */
- protected Point position = POSITION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGraphEdge() <em>Graph Edge</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getGraphEdge()
- * @generated
- * @ordered
- */
- protected EList<GraphEdge> graphEdge;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GraphConnectorImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.GRAPH_CONNECTOR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Point getPosition() {
- return position;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setPosition(Point newPosition) {
- Point oldPosition = position;
- position = newPosition;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_CONNECTOR__POSITION, oldPosition, position));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<GraphEdge> getGraphEdge() {
- if(graphEdge == null) {
- graphEdge = new EObjectWithInverseResolvingEList.ManyInverse<GraphEdge>(GraphEdge.class, this, DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE, DiPackage.GRAPH_EDGE__ANCHOR);
- }
- return graphEdge;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement getGraphElement() {
- if(eContainerFeatureID() != DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT)
- return null;
- return (GraphElement)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetGraphElement(GraphElement newGraphElement, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newGraphElement, DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setGraphElement(GraphElement newGraphElement) {
- if(newGraphElement != eInternalContainer() || (eContainerFeatureID() != DiPackage.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, DiPackage.GRAPH_ELEMENT__ANCHORAGE, GraphElement.class, msgs);
- msgs = basicSetGraphElement(newGraphElement, msgs);
- if(msgs != null)
- msgs.dispatch();
- } else if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT, newGraphElement, newGraphElement));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getGraphEdge()).basicAdd(otherEnd, msgs);
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- if(eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetGraphElement((GraphElement)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- return ((InternalEList<?>)getGraphEdge()).basicRemove(otherEnd, msgs);
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- return basicSetGraphElement(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- return eInternalContainer().eInverseRemove(this, DiPackage.GRAPH_ELEMENT__ANCHORAGE, GraphElement.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__POSITION:
- return getPosition();
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- return getGraphEdge();
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- return getGraphElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__POSITION:
- setPosition((Point)newValue);
- return;
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- getGraphEdge().clear();
- getGraphEdge().addAll((Collection<? extends GraphEdge>)newValue);
- return;
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- setGraphElement((GraphElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__POSITION:
- setPosition(POSITION_EDEFAULT);
- return;
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- getGraphEdge().clear();
- return;
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- setGraphElement((GraphElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_CONNECTOR__POSITION:
- return POSITION_EDEFAULT == null ? position != null : !POSITION_EDEFAULT.equals(position);
- case DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE:
- return graphEdge != null && !graphEdge.isEmpty();
- case DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT:
- return getGraphElement() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (position: ");
- result.append(position);
- result.append(')');
- return result.toString();
- }
-
-} //GraphConnectorImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphEdgeImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphEdgeImpl.java
deleted file mode 100644
index 2f1c5d68dca..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphEdgeImpl.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.GraphConnector;
-import org.eclipse.papyrus.di.GraphEdge;
-import org.eclipse.papyrus.di.GraphElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graph Edge</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphEdgeImpl#getAnchor <em>Anchor</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphEdgeImpl#getWaypoints <em>Waypoints</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GraphEdgeImpl extends GraphElementImpl implements GraphEdge {
-
- /**
- * The cached value of the '{@link #getAnchor() <em>Anchor</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAnchor()
- * @generated
- * @ordered
- */
- protected EList<GraphConnector> anchor;
-
- /**
- * The cached value of the '{@link #getWaypoints() <em>Waypoints</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getWaypoints()
- * @generated
- * @ordered
- */
- protected EList<Point> waypoints;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GraphEdgeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.GRAPH_EDGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<GraphConnector> getAnchor() {
- if(anchor == null) {
- anchor = new EObjectWithInverseResolvingEList.ManyInverse<GraphConnector>(GraphConnector.class, this, DiPackage.GRAPH_EDGE__ANCHOR, DiPackage.GRAPH_CONNECTOR__GRAPH_EDGE);
- }
- return anchor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Point> getWaypoints() {
- if(waypoints == null) {
- waypoints = new EDataTypeUniqueEList<Point>(Point.class, this, DiPackage.GRAPH_EDGE__WAYPOINTS);
- }
- return waypoints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement getAnchorSource() {
- return ((GraphConnector)getAnchor().get(0)).getGraphElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement getAnchorTarget() {
- return ((GraphConnector)getAnchor().get(1)).getGraphElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAnchorSource(GraphElement value) {
- initConnectors();
- ((GraphConnector)getAnchor().get(0)).setGraphElement(value);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAnchorTarget(GraphElement value) {
- initConnectors();
- ((GraphConnector)getAnchor().get(1)).setGraphElement(value);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initConnectors() {
- if(!getAnchor().isEmpty())
- return;
-
- getAnchor().add(DiPackage.eINSTANCE.getDiFactory().createGraphConnector());
- getAnchor().add(DiPackage.eINSTANCE.getDiFactory().createGraphConnector());
-
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnchor()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- return ((InternalEList<?>)getAnchor()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- return getAnchor();
- case DiPackage.GRAPH_EDGE__WAYPOINTS:
- return getWaypoints();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- getAnchor().clear();
- getAnchor().addAll((Collection<? extends GraphConnector>)newValue);
- return;
- case DiPackage.GRAPH_EDGE__WAYPOINTS:
- getWaypoints().clear();
- getWaypoints().addAll((Collection<? extends Point>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- getAnchor().clear();
- return;
- case DiPackage.GRAPH_EDGE__WAYPOINTS:
- getWaypoints().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_EDGE__ANCHOR:
- return anchor != null && !anchor.isEmpty();
- case DiPackage.GRAPH_EDGE__WAYPOINTS:
- return waypoints != null && !waypoints.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (waypoints: ");
- result.append(waypoints);
- result.append(')');
- return result.toString();
- }
-
-} //GraphEdgeImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphElementImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphElementImpl.java
deleted file mode 100644
index ebeec039219..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphElementImpl.java
+++ /dev/null
@@ -1,421 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.DiagramElement;
-import org.eclipse.papyrus.di.DiagramLink;
-import org.eclipse.papyrus.di.GraphConnector;
-import org.eclipse.papyrus.di.GraphElement;
-import org.eclipse.papyrus.di.SemanticModelBridge;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graph Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphElementImpl#getContained <em>Contained</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphElementImpl#getLink <em>Link</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphElementImpl#getSemanticModel <em>Semantic Model</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphElementImpl#getPosition <em>Position</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphElementImpl#getAnchorage <em>Anchorage</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GraphElementImpl extends DiagramElementImpl implements GraphElement {
-
- /**
- * The cached value of the '{@link #getContained() <em>Contained</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getContained()
- * @generated
- * @ordered
- */
- protected EList<DiagramElement> contained;
-
- /**
- * The cached value of the '{@link #getLink() <em>Link</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLink()
- * @generated
- * @ordered
- */
- protected EList<DiagramLink> link;
-
- /**
- * The cached value of the '{@link #getSemanticModel() <em>Semantic Model</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSemanticModel()
- * @generated
- * @ordered
- */
- protected SemanticModelBridge semanticModel;
-
- /**
- * The default value of the '{@link #getPosition() <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPosition()
- * @generated
- * @ordered
- */
- protected static final Point POSITION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPosition() <em>Position</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPosition()
- * @generated
- * @ordered
- */
- protected Point position = POSITION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getAnchorage() <em>Anchorage</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getAnchorage()
- * @generated
- * @ordered
- */
- protected EList<GraphConnector> anchorage;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GraphElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.GRAPH_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<DiagramElement> getContained() {
- if(contained == null) {
- contained = new EObjectContainmentWithInverseEList<DiagramElement>(DiagramElement.class, this, DiPackage.GRAPH_ELEMENT__CONTAINED, DiPackage.DIAGRAM_ELEMENT__CONTAINER);
- }
- return contained;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<DiagramLink> getLink() {
- if(link == null) {
- link = new EObjectContainmentEList<DiagramLink>(DiagramLink.class, this, DiPackage.GRAPH_ELEMENT__LINK);
- }
- return link;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public SemanticModelBridge getSemanticModel() {
- return semanticModel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetSemanticModel(SemanticModelBridge newSemanticModel, NotificationChain msgs) {
- SemanticModelBridge oldSemanticModel = semanticModel;
- semanticModel = newSemanticModel;
- if(eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL, oldSemanticModel, newSemanticModel);
- if(msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSemanticModel(SemanticModelBridge newSemanticModel) {
- if(newSemanticModel != semanticModel) {
- NotificationChain msgs = null;
- if(semanticModel != null)
- msgs = ((InternalEObject)semanticModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL, null, msgs);
- if(newSemanticModel != null)
- msgs = ((InternalEObject)newSemanticModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL, null, msgs);
- msgs = basicSetSemanticModel(newSemanticModel, msgs);
- if(msgs != null)
- msgs.dispatch();
- } else if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL, newSemanticModel, newSemanticModel));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Point getPosition() {
- return position;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setPosition(Point newPosition) {
- Point oldPosition = position;
- position = newPosition;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_ELEMENT__POSITION, oldPosition, position));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<GraphConnector> getAnchorage() {
- if(anchorage == null) {
- anchorage = new EObjectContainmentWithInverseEList<GraphConnector>(GraphConnector.class, this, DiPackage.GRAPH_ELEMENT__ANCHORAGE, DiPackage.GRAPH_CONNECTOR__GRAPH_ELEMENT);
- }
- return anchorage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getContained()).basicAdd(otherEnd, msgs);
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getAnchorage()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- return ((InternalEList<?>)getContained()).basicRemove(otherEnd, msgs);
- case DiPackage.GRAPH_ELEMENT__LINK:
- return ((InternalEList<?>)getLink()).basicRemove(otherEnd, msgs);
- case DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL:
- return basicSetSemanticModel(null, msgs);
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- return ((InternalEList<?>)getAnchorage()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- return getContained();
- case DiPackage.GRAPH_ELEMENT__LINK:
- return getLink();
- case DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL:
- return getSemanticModel();
- case DiPackage.GRAPH_ELEMENT__POSITION:
- return getPosition();
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- return getAnchorage();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- getContained().clear();
- getContained().addAll((Collection<? extends DiagramElement>)newValue);
- return;
- case DiPackage.GRAPH_ELEMENT__LINK:
- getLink().clear();
- getLink().addAll((Collection<? extends DiagramLink>)newValue);
- return;
- case DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL:
- setSemanticModel((SemanticModelBridge)newValue);
- return;
- case DiPackage.GRAPH_ELEMENT__POSITION:
- setPosition((Point)newValue);
- return;
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- getAnchorage().clear();
- getAnchorage().addAll((Collection<? extends GraphConnector>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- getContained().clear();
- return;
- case DiPackage.GRAPH_ELEMENT__LINK:
- getLink().clear();
- return;
- case DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL:
- setSemanticModel((SemanticModelBridge)null);
- return;
- case DiPackage.GRAPH_ELEMENT__POSITION:
- setPosition(POSITION_EDEFAULT);
- return;
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- getAnchorage().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_ELEMENT__CONTAINED:
- return contained != null && !contained.isEmpty();
- case DiPackage.GRAPH_ELEMENT__LINK:
- return link != null && !link.isEmpty();
- case DiPackage.GRAPH_ELEMENT__SEMANTIC_MODEL:
- return semanticModel != null;
- case DiPackage.GRAPH_ELEMENT__POSITION:
- return POSITION_EDEFAULT == null ? position != null : !POSITION_EDEFAULT.equals(position);
- case DiPackage.GRAPH_ELEMENT__ANCHORAGE:
- return anchorage != null && !anchorage.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (position: ");
- result.append(position);
- result.append(')');
- return result.toString();
- }
-
-} //GraphElementImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphNodeImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphNodeImpl.java
deleted file mode 100644
index 266fddf6ab8..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphNodeImpl.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.GraphNode;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graph Node</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.GraphNodeImpl#getSize <em>Size</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GraphNodeImpl extends GraphElementImpl implements GraphNode {
-
- /**
- * The default value of the '{@link #getSize() <em>Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSize()
- * @generated
- * @ordered
- */
- protected static final Dimension SIZE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSize() <em>Size</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSize()
- * @generated
- * @ordered
- */
- protected Dimension size = SIZE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GraphNodeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.GRAPH_NODE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Dimension getSize() {
- return size;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSize(Dimension newSize) {
- Dimension oldSize = size;
- size = newSize;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.GRAPH_NODE__SIZE, oldSize, size));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.GRAPH_NODE__SIZE:
- return getSize();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.GRAPH_NODE__SIZE:
- setSize((Dimension)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_NODE__SIZE:
- setSize(SIZE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.GRAPH_NODE__SIZE:
- return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (size: ");
- result.append(size);
- result.append(')');
- return result.toString();
- }
-
-} //GraphNodeImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphicPrimitiveImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphicPrimitiveImpl.java
deleted file mode 100644
index 94d1c8a1a7e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/GraphicPrimitiveImpl.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.di.DiPackage;
-import org.eclipse.papyrus.di.GraphicPrimitive;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Graphic Primitive</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class GraphicPrimitiveImpl extends LeafElementImpl implements GraphicPrimitive {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected GraphicPrimitiveImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.GRAPHIC_PRIMITIVE;
- }
-
-} //GraphicPrimitiveImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ImageImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ImageImpl.java
deleted file mode 100644
index 7808b4fa0c3..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ImageImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Image;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Image</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.ImageImpl#getUri <em>Uri</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.ImageImpl#getMimeType <em>Mime Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ImageImpl extends LeafElementImpl implements Image {
-
- /**
- * The default value of the '{@link #getUri() <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUri()
- * @generated
- * @ordered
- */
- protected static final String URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUri() <em>Uri</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUri()
- * @generated
- * @ordered
- */
- protected String uri = URI_EDEFAULT;
-
- /**
- * The default value of the '{@link #getMimeType() <em>Mime Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMimeType()
- * @generated
- * @ordered
- */
- protected static final String MIME_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMimeType() <em>Mime Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMimeType()
- * @generated
- * @ordered
- */
- protected String mimeType = MIME_TYPE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ImageImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.IMAGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUri() {
- return uri;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUri(String newUri) {
- String oldUri = uri;
- uri = newUri;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.IMAGE__URI, oldUri, uri));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getMimeType() {
- return mimeType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMimeType(String newMimeType) {
- String oldMimeType = mimeType;
- mimeType = newMimeType;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.IMAGE__MIME_TYPE, oldMimeType, mimeType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.IMAGE__URI:
- return getUri();
- case DiPackage.IMAGE__MIME_TYPE:
- return getMimeType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.IMAGE__URI:
- setUri((String)newValue);
- return;
- case DiPackage.IMAGE__MIME_TYPE:
- setMimeType((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.IMAGE__URI:
- setUri(URI_EDEFAULT);
- return;
- case DiPackage.IMAGE__MIME_TYPE:
- setMimeType(MIME_TYPE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.IMAGE__URI:
- return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
- case DiPackage.IMAGE__MIME_TYPE:
- return MIME_TYPE_EDEFAULT == null ? mimeType != null : !MIME_TYPE_EDEFAULT.equals(mimeType);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (uri: ");
- result.append(uri);
- result.append(", mimeType: ");
- result.append(mimeType);
- result.append(')');
- return result.toString();
- }
-
-} //ImageImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/LeafElementImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/LeafElementImpl.java
deleted file mode 100644
index e511c5a1c84..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/LeafElementImpl.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.di.DiPackage;
-import org.eclipse.papyrus.di.LeafElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Leaf Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class LeafElementImpl extends DiagramElementImpl implements LeafElement {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected LeafElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.LEAF_ELEMENT;
- }
-
-} //LeafElementImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PolilyneImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PolilyneImpl.java
deleted file mode 100644
index 91b36b1ecf0..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PolilyneImpl.java
+++ /dev/null
@@ -1,209 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Polilyne;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Polilyne</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.PolilyneImpl#getWaypoints <em>Waypoints</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.PolilyneImpl#getClosed <em>Closed</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PolilyneImpl extends GraphicPrimitiveImpl implements Polilyne {
-
- /**
- * The cached value of the '{@link #getWaypoints() <em>Waypoints</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getWaypoints()
- * @generated
- * @ordered
- */
- protected EList<Point> waypoints;
-
- /**
- * The cached value of the '{@link #getClosed() <em>Closed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getClosed()
- * @generated
- * @ordered
- */
- protected EList<Boolean> closed;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected PolilyneImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.POLILYNE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Point> getWaypoints() {
- if(waypoints == null) {
- waypoints = new EDataTypeUniqueEList<Point>(Point.class, this, DiPackage.POLILYNE__WAYPOINTS);
- }
- return waypoints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Boolean> getClosed() {
- if(closed == null) {
- closed = new EDataTypeUniqueEList<Boolean>(Boolean.class, this, DiPackage.POLILYNE__CLOSED);
- }
- return closed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.POLILYNE__WAYPOINTS:
- return getWaypoints();
- case DiPackage.POLILYNE__CLOSED:
- return getClosed();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.POLILYNE__WAYPOINTS:
- getWaypoints().clear();
- getWaypoints().addAll((Collection<? extends Point>)newValue);
- return;
- case DiPackage.POLILYNE__CLOSED:
- getClosed().clear();
- getClosed().addAll((Collection<? extends Boolean>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.POLILYNE__WAYPOINTS:
- getWaypoints().clear();
- return;
- case DiPackage.POLILYNE__CLOSED:
- getClosed().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.POLILYNE__WAYPOINTS:
- return waypoints != null && !waypoints.isEmpty();
- case DiPackage.POLILYNE__CLOSED:
- return closed != null && !closed.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (waypoints: ");
- result.append(waypoints);
- result.append(", closed: ");
- result.append(closed);
- result.append(')');
- return result.toString();
- }
-
-} //PolilyneImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PropertyImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PropertyImpl.java
deleted file mode 100644
index 3b6dda6ef20..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/PropertyImpl.java
+++ /dev/null
@@ -1,245 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Property;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Property</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.PropertyImpl#getKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.PropertyImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PropertyImpl extends EObjectImpl implements Property {
-
- /**
- * The default value of the '{@link #getKey() <em>Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getKey()
- * @generated
- * @ordered
- */
- protected static final String KEY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getKey() <em>Key</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getKey()
- * @generated
- * @ordered
- */
- protected String key = KEY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected PropertyImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.PROPERTY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getKey() {
- return key;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String newKey) {
- String oldKey = key;
- key = newKey;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.PROPERTY__KEY, oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.PROPERTY__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.PROPERTY__KEY:
- return getKey();
- case DiPackage.PROPERTY__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.PROPERTY__KEY:
- setKey((String)newValue);
- return;
- case DiPackage.PROPERTY__VALUE:
- setValue((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.PROPERTY__KEY:
- setKey(KEY_EDEFAULT);
- return;
- case DiPackage.PROPERTY__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.PROPERTY__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case DiPackage.PROPERTY__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (key: ");
- result.append(key);
- result.append(", value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} //PropertyImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ReferenceImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ReferenceImpl.java
deleted file mode 100644
index b61de7fa97e..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/ReferenceImpl.java
+++ /dev/null
@@ -1,253 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.DiagramElement;
-import org.eclipse.papyrus.di.Reference;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Reference</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.ReferenceImpl#isIsIndividualRepresentation <em>Is Individual Representation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.ReferenceImpl#getReferenced <em>Referenced</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ReferenceImpl extends DiagramElementImpl implements Reference {
-
- /**
- * The default value of the '{@link #isIsIndividualRepresentation() <em>Is Individual Representation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsIndividualRepresentation()
- * @generated
- * @ordered
- */
- protected static final boolean IS_INDIVIDUAL_REPRESENTATION_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isIsIndividualRepresentation() <em>Is Individual Representation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isIsIndividualRepresentation()
- * @generated
- * @ordered
- */
- protected boolean isIndividualRepresentation = IS_INDIVIDUAL_REPRESENTATION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getReferenced() <em>Referenced</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getReferenced()
- * @generated
- * @ordered
- */
- protected DiagramElement referenced;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ReferenceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.REFERENCE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isIsIndividualRepresentation() {
- return isIndividualRepresentation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setIsIndividualRepresentation(boolean newIsIndividualRepresentation) {
- boolean oldIsIndividualRepresentation = isIndividualRepresentation;
- isIndividualRepresentation = newIsIndividualRepresentation;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.REFERENCE__IS_INDIVIDUAL_REPRESENTATION, oldIsIndividualRepresentation, isIndividualRepresentation));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.REFERENCE__REFERENCED, oldReferenced, referenced));
- }
- }
- return referenced;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiagramElement basicGetReferenced() {
- return referenced;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setReferenced(DiagramElement newReferenced) {
- DiagramElement oldReferenced = referenced;
- referenced = newReferenced;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.REFERENCE__REFERENCED, oldReferenced, referenced));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.REFERENCE__IS_INDIVIDUAL_REPRESENTATION:
- return isIsIndividualRepresentation();
- case DiPackage.REFERENCE__REFERENCED:
- if(resolve)
- return getReferenced();
- return basicGetReferenced();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.REFERENCE__IS_INDIVIDUAL_REPRESENTATION:
- setIsIndividualRepresentation((Boolean)newValue);
- return;
- case DiPackage.REFERENCE__REFERENCED:
- setReferenced((DiagramElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.REFERENCE__IS_INDIVIDUAL_REPRESENTATION:
- setIsIndividualRepresentation(IS_INDIVIDUAL_REPRESENTATION_EDEFAULT);
- return;
- case DiPackage.REFERENCE__REFERENCED:
- setReferenced((DiagramElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.REFERENCE__IS_INDIVIDUAL_REPRESENTATION:
- return isIndividualRepresentation != IS_INDIVIDUAL_REPRESENTATION_EDEFAULT;
- case DiPackage.REFERENCE__REFERENCED:
- return referenced != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (isIndividualRepresentation: ");
- result.append(isIndividualRepresentation);
- result.append(')');
- return result.toString();
- }
-
-} //ReferenceImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SemanticModelBridgeImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SemanticModelBridgeImpl.java
deleted file mode 100644
index 23d904b9e1c..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SemanticModelBridgeImpl.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.GraphElement;
-import org.eclipse.papyrus.di.SemanticModelBridge;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Semantic Model Bridge</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl#getPresentation <em>Presentation</em>}</li>
- * <li>{@link org.eclipse.papyrus.di.impl.SemanticModelBridgeImpl#getGraphElement <em>Graph Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SemanticModelBridgeImpl extends EObjectImpl implements SemanticModelBridge {
-
- /**
- * The default value of the '{@link #getPresentation() <em>Presentation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPresentation()
- * @generated
- * @ordered
- */
- protected static final String PRESENTATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPresentation() <em>Presentation</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPresentation()
- * @generated
- * @ordered
- */
- protected String presentation = PRESENTATION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGraphElement() <em>Graph Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getGraphElement()
- * @generated
- * @ordered
- */
- protected GraphElement graphElement;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected SemanticModelBridgeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.SEMANTIC_MODEL_BRIDGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getPresentation() {
- return presentation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setPresentation(String newPresentation) {
- String oldPresentation = presentation;
- presentation = newPresentation;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.SEMANTIC_MODEL_BRIDGE__PRESENTATION, oldPresentation, presentation));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT, oldGraphElement, graphElement));
- }
- }
- return graphElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public GraphElement basicGetGraphElement() {
- return graphElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setGraphElement(GraphElement newGraphElement) {
- GraphElement oldGraphElement = graphElement;
- graphElement = newGraphElement;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT, oldGraphElement, graphElement));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.SEMANTIC_MODEL_BRIDGE__PRESENTATION:
- return getPresentation();
- case DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT:
- if(resolve)
- return getGraphElement();
- return basicGetGraphElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.SEMANTIC_MODEL_BRIDGE__PRESENTATION:
- setPresentation((String)newValue);
- return;
- case DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT:
- setGraphElement((GraphElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.SEMANTIC_MODEL_BRIDGE__PRESENTATION:
- setPresentation(PRESENTATION_EDEFAULT);
- return;
- case DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT:
- setGraphElement((GraphElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.SEMANTIC_MODEL_BRIDGE__PRESENTATION:
- return PRESENTATION_EDEFAULT == null ? presentation != null : !PRESENTATION_EDEFAULT.equals(presentation);
- case DiPackage.SEMANTIC_MODEL_BRIDGE__GRAPH_ELEMENT:
- return graphElement != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (presentation: ");
- result.append(presentation);
- result.append(')');
- return result.toString();
- }
-
-} //SemanticModelBridgeImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SimpleSemanticModelElementImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SimpleSemanticModelElementImpl.java
deleted file mode 100644
index 2eb19a8024a..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/SimpleSemanticModelElementImpl.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.SimpleSemanticModelElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Simple Semantic Model Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.SimpleSemanticModelElementImpl#getTypeinfo <em>Typeinfo</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SimpleSemanticModelElementImpl extends SemanticModelBridgeImpl implements SimpleSemanticModelElement {
-
- /**
- * The default value of the '{@link #getTypeinfo() <em>Typeinfo</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypeinfo()
- * @generated
- * @ordered
- */
- protected static final String TYPEINFO_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypeinfo() <em>Typeinfo</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypeinfo()
- * @generated
- * @ordered
- */
- protected String typeinfo = TYPEINFO_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected SimpleSemanticModelElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.SIMPLE_SEMANTIC_MODEL_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypeinfo() {
- return typeinfo;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypeinfo(String newTypeinfo) {
- String oldTypeinfo = typeinfo;
- typeinfo = newTypeinfo;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO, oldTypeinfo, typeinfo));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO:
- return getTypeinfo();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO:
- setTypeinfo((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO:
- setTypeinfo(TYPEINFO_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.SIMPLE_SEMANTIC_MODEL_ELEMENT__TYPEINFO:
- return TYPEINFO_EDEFAULT == null ? typeinfo != null : !TYPEINFO_EDEFAULT.equals(typeinfo);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (typeinfo: ");
- result.append(typeinfo);
- result.append(')');
- return result.toString();
- }
-
-} //SimpleSemanticModelElementImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/TextElementImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/TextElementImpl.java
deleted file mode 100644
index 6e40e2020d6..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/TextElementImpl.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.TextElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Text Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.TextElementImpl#getText <em>Text</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TextElementImpl extends LeafElementImpl implements TextElement {
-
- /**
- * The default value of the '{@link #getText() <em>Text</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getText()
- * @generated
- * @ordered
- */
- protected static final String TEXT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getText() <em>Text</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getText()
- * @generated
- * @ordered
- */
- protected String text = TEXT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected TextElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.TEXT_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getText() {
- return text;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setText(String newText) {
- String oldText = text;
- text = newText;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.TEXT_ELEMENT__TEXT, oldText, text));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.TEXT_ELEMENT__TEXT:
- return getText();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.TEXT_ELEMENT__TEXT:
- setText((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.TEXT_ELEMENT__TEXT:
- setText(TEXT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.TEXT_ELEMENT__TEXT:
- return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if(eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (text: ");
- result.append(text);
- result.append(')');
- return result.toString();
- }
-
-} //TextElementImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/Uml1SemanticModelBridgeImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/Uml1SemanticModelBridgeImpl.java
deleted file mode 100644
index bee25f573ad..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/impl/Uml1SemanticModelBridgeImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.DiPackage;
-import org.eclipse.papyrus.di.Uml1SemanticModelBridge;
-
-import org.eclipse.uml2.uml.Element;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Uml1 Semantic Model Bridge</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.di.impl.Uml1SemanticModelBridgeImpl#getElement <em>Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Uml1SemanticModelBridgeImpl extends SemanticModelBridgeImpl implements Uml1SemanticModelBridge {
-
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected Element element;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected Uml1SemanticModelBridgeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DiPackage.Literals.UML1_SEMANTIC_MODEL_BRIDGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @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, DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT, oldElement, element));
- }
- }
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Element basicGetElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setElement(Element newElement) {
- Element oldElement = element;
- element = newElement;
- if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT, oldElement, element));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- if(resolve)
- return getElement();
- return basicGetElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- setElement((Element)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- setElement((Element)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case DiPackage.UML1_SEMANTIC_MODEL_BRIDGE__ELEMENT:
- return element != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //Uml1SemanticModelBridgeImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiAdapterFactory.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiAdapterFactory.java
deleted file mode 100644
index 82ee160e567..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiAdapterFactory.java
+++ /dev/null
@@ -1,504 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.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.di.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.DiPackage
- * @generated
- */
-public class DiAdapterFactory extends AdapterFactoryImpl {
-
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static DiPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiAdapterFactory() {
- if(modelPackage == null) {
- modelPackage = DiPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
- return true;
- }
- if(object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DiSwitch<Adapter> modelSwitch =
- new DiSwitch<Adapter>() {
-
- @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 <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @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.di.DiagramElement <em>Diagram Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.DiagramElement
- * @generated
- */
- public Adapter createDiagramElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.GraphElement <em>Graph Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.GraphElement
- * @generated
- */
- public Adapter createGraphElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Reference <em>Reference</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Reference
- * @generated
- */
- public Adapter createReferenceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Property <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Property
- * @generated
- */
- public Adapter createPropertyAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.GraphEdge <em>Graph Edge</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.GraphEdge
- * @generated
- */
- public Adapter createGraphEdgeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.GraphConnector <em>Graph Connector</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.GraphConnector
- * @generated
- */
- public Adapter createGraphConnectorAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.GraphNode <em>Graph Node</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.GraphNode
- * @generated
- */
- public Adapter createGraphNodeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.DiagramLink <em>Diagram Link</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.DiagramLink
- * @generated
- */
- public Adapter createDiagramLinkAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Diagram <em>Diagram</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Diagram
- * @generated
- */
- public Adapter createDiagramAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.SemanticModelBridge <em>Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.SemanticModelBridge
- * @generated
- */
- public Adapter createSemanticModelBridgeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.SimpleSemanticModelElement <em>Simple Semantic Model Element</em>}
- * '.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.SimpleSemanticModelElement
- * @generated
- */
- public Adapter createSimpleSemanticModelElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Uml1SemanticModelBridge <em>Uml1 Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Uml1SemanticModelBridge
- * @generated
- */
- public Adapter createUml1SemanticModelBridgeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.CoreSemanticModelBridge <em>Core Semantic Model Bridge</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.CoreSemanticModelBridge
- * @generated
- */
- public Adapter createCoreSemanticModelBridgeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.LeafElement <em>Leaf Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.LeafElement
- * @generated
- */
- public Adapter createLeafElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.TextElement <em>Text Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.TextElement
- * @generated
- */
- public Adapter createTextElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Image <em>Image</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Image
- * @generated
- */
- public Adapter createImageAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.GraphicPrimitive <em>Graphic Primitive</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.GraphicPrimitive
- * @generated
- */
- public Adapter createGraphicPrimitiveAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Polilyne <em>Polilyne</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Polilyne
- * @generated
- */
- public Adapter createPolilyneAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.di.Ellipse <em>Ellipse</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.di.Ellipse
- * @generated
- */
- public Adapter createEllipseAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //DiAdapterFactory
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceFactoryImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceFactoryImpl.java
deleted file mode 100644
index 2a6ae4c3693..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 Atos Origin.
- *
- *
- * 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:
- * Emilien Perico (Atos Origin) emilien.perico@atosorigin.com - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.util.DiResourceImpl
- * @generated
- */
-public class DiResourceFactoryImpl extends ResourceFactoryImpl {
-
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- Resource result = new DiResourceImpl(uri);
- return result;
- }
-
-} //DiResourceFactoryImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceImpl.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceImpl.java
deleted file mode 100644
index 7a0bc315b9c..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiResourceImpl.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 Atos Origin.
- *
- *
- * 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:
- * Emilien Perico (Atos Origin) emilien.perico@atosorigin.com - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.util.DiResourceFactoryImpl
- * @generated
- */
-public class DiResourceImpl extends XMIResourceImpl {
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public DiResourceImpl(URI uri) {
- super(uri);
- }
-
- /**
- * @see org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl#useUUIDs()
- */
- @Override
- protected boolean useUUIDs() {
- return true;
- }
-
-} //DiResourceImpl
diff --git a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiSwitch.java b/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiSwitch.java
deleted file mode 100644
index 2b7f2103bde..00000000000
--- a/deprecated/deprecated-plugins/core.deprecated/org.eclipse.papyrus.di/src/org/eclipse/papyrus/di/util/DiSwitch.java
+++ /dev/null
@@ -1,648 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2008 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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.di.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.di.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> 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.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.di.DiPackage
- * @generated
- */
-public class DiSwitch<T> {
-
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static DiPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public DiSwitch() {
- if(modelPackage == null) {
- modelPackage = DiPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if(theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- } else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case DiPackage.DIAGRAM_ELEMENT:
- {
- DiagramElement diagramElement = (DiagramElement)theEObject;
- T result = caseDiagramElement(diagramElement);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.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 DiPackage.REFERENCE:
- {
- Reference reference = (Reference)theEObject;
- T result = caseReference(reference);
- if(result == null)
- result = caseDiagramElement(reference);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.PROPERTY:
- {
- Property property = (Property)theEObject;
- T result = caseProperty(property);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.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 DiPackage.GRAPH_CONNECTOR:
- {
- GraphConnector graphConnector = (GraphConnector)theEObject;
- T result = caseGraphConnector(graphConnector);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.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 DiPackage.DIAGRAM_LINK:
- {
- DiagramLink diagramLink = (DiagramLink)theEObject;
- T result = caseDiagramLink(diagramLink);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.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 DiPackage.SEMANTIC_MODEL_BRIDGE:
- {
- SemanticModelBridge semanticModelBridge = (SemanticModelBridge)theEObject;
- T result = caseSemanticModelBridge(semanticModelBridge);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 DiPackage.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 '<em>Diagram Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
- * @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 '<em>Graph Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graph Element</em>'.
- * @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 '<em>Reference</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Reference</em>'.
- * @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 '<em>Property</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Property</em>'.
- * @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 '<em>Graph Edge</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graph Edge</em>'.
- * @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 '<em>Graph Connector</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graph Connector</em>'.
- * @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 '<em>Graph Node</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graph Node</em>'.
- * @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 '<em>Diagram Link</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Diagram Link</em>'.
- * @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 '<em>Diagram</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Diagram</em>'.
- * @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 '<em>Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Semantic Model Bridge</em>'.
- * @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 '<em>Simple Semantic Model Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Simple Semantic Model Element</em>'.
- * @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 '<em>Uml1 Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Uml1 Semantic Model Bridge</em>'.
- * @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 '<em>Core Semantic Model Bridge</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Core Semantic Model Bridge</em>'.
- * @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 '<em>Leaf Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Leaf Element</em>'.
- * @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 '<em>Text Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Text Element</em>'.
- * @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 '<em>Image</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Image</em>'.
- * @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 '<em>Graphic Primitive</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Graphic Primitive</em>'.
- * @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 '<em>Polilyne</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Polilyne</em>'.
- * @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 '<em>Ellipse</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Ellipse</em>'.
- * @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 '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //DiSwitch

Back to the top