Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore')
-rw-r--r--deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore172
1 files changed, 172 insertions, 0 deletions
diff --git a/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore
new file mode 100644
index 00000000000..cebea7ea7c3
--- /dev/null
+++ b/deprecated/org.eclipse.papyrus.conversion.di2/model/di2.ecore
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="di2" nsURI="http://www.papyrusuml.org" nsPrefix="di2">
+ <eClassifiers xsi:type="ecore:EClass" name="DiagramElement">
+ <eOperations name="getProperty" eType="#//Property">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="java.util.Iterator it = getProperty().iterator();&#xD;&#xA;while (it.hasNext()) {&#xD;&#xA;&#x9;Property element = (Property) it.next();&#xD;&#xA;&#x9;if(key.equals(element.getKey())) {&#xD;&#xA;&#x9;&#x9;return element;&#xD;&#xA;&#x9;}&#xD;&#xA;}&#xD;&#xA;return null;"/>
+ </eAnnotations>
+ <eParameters name="key" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eOperations>
+ <eOperations name="getPropertyValue" eType="#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value=" if(this.getProperty(key)!=null){&#xD;&#xA;&#x9;return this.getProperty(key).getValue();}&#xD;&#xA;return null;&#xD;&#xA;&#x9;"/>
+ </eAnnotations>
+ <eParameters name="key" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eOperations>
+ <eOperations name="getEditpartName" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="return this.getPropertyValue(com.cea.papyrus.diagraminterchange2.di2.PapyrusKeyEnumeration.PAPYRUSEDITPART.getLiteral());"/>
+ <details key="documentation" value="it is used to obtain the name of the good editpart"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="property" upperBound="-1"
+ eType="#//Property" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isVisible" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reference" upperBound="-1"
+ eType="#//Reference"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="container" eType="#//GraphElement"
+ eOpposite="#//GraphElement/contained"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontFamily" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"
+ defaultValueLiteral=""/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontSize" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Integer"
+ defaultValueLiteral="10"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineStyle" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"
+ defaultValueLiteral=""/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineThickness" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Integer"
+ defaultValueLiteral="1"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontColor" eType="#//RGB"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="foregroundColor" eType="#//RGB"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="backgroundColor" eType="#//RGB"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="borderColor" eType="#//RGB"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="translucent" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="semanticParent" eType="#//DiagramElement"
+ eOpposite="#//DiagramElement/semanticChild"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="semanticChild" upperBound="-1"
+ eType="#//DiagramElement" eOpposite="#//DiagramElement/semanticParent"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GraphElement" eSuperTypes="#//DiagramElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="contained" upperBound="-1"
+ eType="#//DiagramElement" containment="true" eOpposite="#//DiagramElement/container"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="link" upperBound="-1" eType="#//DiagramLink"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="semanticModel" eType="#//SemanticModelBridge"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="position" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="anchorage" upperBound="-1"
+ eType="#//GraphConnector" containment="true" eOpposite="#//GraphConnector/graphElement"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Reference" eSuperTypes="#//DiagramElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isIndividualRepresentation"
+ eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="referenced" lowerBound="1"
+ eType="#//DiagramElement"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Property">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GraphEdge" eSuperTypes="#//GraphElement">
+ <eOperations name="getAnchorSource" eType="#//GraphElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="return ((GraphConnector)getAnchor().get(0)).getGraphElement();"/>
+ </eAnnotations>
+ </eOperations>
+ <eOperations name="getAnchorTarget" eType="#//GraphElement">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="return ((GraphConnector)getAnchor().get(1)).getGraphElement();"/>
+ </eAnnotations>
+ </eOperations>
+ <eOperations name="setAnchorSource">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="initConnectors();&#xD;&#xA;((GraphConnector)getAnchor().get(0)).setGraphElement(value);"/>
+ </eAnnotations>
+ <eParameters name="value" eType="#//GraphElement"/>
+ </eOperations>
+ <eOperations name="setAnchorTarget">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="initConnectors();&#xD;&#xA;((GraphConnector)getAnchor().get(1)).setGraphElement(value);"/>
+ </eAnnotations>
+ <eParameters name="value" eType="#//GraphElement"/>
+ </eOperations>
+ <eOperations name="initConnectors">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="if(!getAnchor().isEmpty())&#xD;&#xA; return;&#xD;&#xA; &#x9;&#xD;&#xA;getAnchor().add( Di2Package.eINSTANCE.getDi2Factory().createGraphConnector() ) ;&#xD;&#xA;getAnchor().add( Di2Package.eINSTANCE.getDi2Factory().createGraphConnector() ) ;&#xD;&#xA;"/>
+ </eAnnotations>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="anchor" upperBound="2"
+ eType="#//GraphConnector" eOpposite="#//GraphConnector/graphEdge"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="waypoints" upperBound="-1"
+ eType="#//Point" defaultValueLiteral=""/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GraphConnector">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="position" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="graphEdge" upperBound="-1"
+ eType="#//GraphEdge" eOpposite="#//GraphEdge/anchor"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="graphElement" lowerBound="1"
+ eType="#//GraphElement" eOpposite="#//GraphElement/anchorage"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GraphNode" eSuperTypes="#//GraphElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="size" eType="#//Dimension"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DiagramLink">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="diagram" lowerBound="1"
+ eType="#//Diagram"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="zoom" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="viewport" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="graphElement" lowerBound="1"
+ eType="#//GraphElement"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Diagram" eSuperTypes="#//GraphNode">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="owner" lowerBound="1" eType="#//SemanticModelBridge"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="zoom" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="viewport" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="diagramLink" upperBound="-1"
+ eType="#//DiagramLink"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SemanticModelBridge">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="presentation" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="graphElement" eType="#//GraphElement"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SimpleSemanticModelElement" eSuperTypes="#//SemanticModelBridge">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeinfo" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Uml1SemanticModelBridge" eSuperTypes="#//SemanticModelBridge">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="element" eType="ecore:EClass ../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CoreSemanticModelBridge" eSuperTypes="#//SemanticModelBridge"/>
+ <eClassifiers xsi:type="ecore:EClass" name="LeafElement" eSuperTypes="#//DiagramElement"/>
+ <eClassifiers xsi:type="ecore:EClass" name="TextElement" eSuperTypes="#//LeafElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Image" eSuperTypes="#//LeafElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mimeType" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="GraphicPrimitive" eSuperTypes="#//LeafElement"/>
+ <eClassifiers xsi:type="ecore:EClass" name="Polilyne" eSuperTypes="#//GraphicPrimitive">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="waypoints" lowerBound="2"
+ upperBound="-1" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="closed" lowerBound="2"
+ upperBound="-1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Ellipse" eSuperTypes="#//GraphicPrimitive">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="center" eType="#//Point"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="radiusX" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="radiusY" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="rotation" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="startAngle" eType="#//Double"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="endAngle" eType="#//Double"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Point" instanceClassName="org.eclipse.draw2d.geometry.Point"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="Dimension" instanceClassName="org.eclipse.draw2d.geometry.Dimension"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="Double" instanceClassName="double"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="RGB" instanceClassName="org.eclipse.swt.graphics.RGB"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="String" instanceClassName="java.lang.String"/>
+ <eClassifiers xsi:type="ecore:EEnum" name="PapyrusKeyEnumeration">
+ <eLiterals name="papyruseditpart"/>
+ </eClassifiers>
+</ecore:EPackage>

Back to the top