Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore13
1 files changed, 13 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore
index e39ca082388..677c8a2968e 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/model/DI.ecore
@@ -1,13 +1,24 @@
<?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="di" nsURI="http://www.omg.org/spec/DD/20110901/DI" nsPrefix="di">
+ <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <details key="originalName" value="DI"/>
+ </eAnnotations>
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="The Diagram Interchange (DI) package enables interchange of graphical information that language users have control over, such as position of nodes and line routing points. Language specifications specialize elements of DI to define diagram interchange elements for a language."/>
</eAnnotations>
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
+ <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL"/>
+ </eAnnotations>
<eClassifiers xsi:type="ecore:EClass" name="DiagramElement" abstract="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DiagramElement is the abstract super type of all elements in diagrams, including diagrams themselves. When contained in a diagram, diagram elements are laid out relative to the diagram’s origin."/>
</eAnnotations>
+ <eOperations name="diagram" ordered="false" lowerBound="1" eType="#//Diagram">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL">
+ <details key="body" value="if self.oclIsKindOf(Diagram) then &#xA;&#x9;self.oclAsType(Diagram)&#xA;else if self.owningDiagramElement->notEmpty() then&#xA;&#x9;self.owningDiagramElement.diagram&#xA;else&#xA;&#x9;null&#xA;endif endif"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" upperBound="-1"
eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"
changeable="false" volatile="true" transient="true" derived="true">
@@ -62,6 +73,8 @@
</eAnnotations>
<eAnnotations source="union"/>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="diagram" ordered="false"
+ lowerBound="1" eType="#//Diagram" volatile="true" transient="true" derived="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Style" abstract="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">

Back to the top