| <?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="documentstructuretemplate" nsURI="http://www.eclipse.org/papyrus/model2doc/gmf/1.0.0/documentstructuretemplate" |
| nsPrefix="gmfdocumentstructuretemplate"> |
| <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <details key="originalName" value="GMFdocumentstructuretemplate"/> |
| </eAnnotations> |
| <eClassifiers xsi:type="ecore:EClass" name="GMFDiagramView" eSuperTypes="../../org.eclipse.papyrus.model2doc.emf.documentstructuretemplate/model/documentstructuretemplate.ecore#//ITemplatePartView ../../org.eclipse.papyrus.model2doc.emf.documentstructuretemplate/model/documentstructuretemplate.ecore#//ILeafBodyPartTemplate"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This element allows to describe diagram in a documentstructuretemplate model."/> |
| </eAnnotations> |
| <eAnnotations source="duplicates"> |
| <contents xsi:type="ecore:EOperation" name="buildPartTemplateTitle" ordered="false" |
| lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> |
| <eAnnotations source="redefines" references="../../org.eclipse.papyrus.model2doc.emf.documentstructuretemplate/model/documentstructuretemplate.ecore#//IBodySectionPartTemplate/buildPartTemplateTitle"/> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="body" value="return org.eclipse.papyrus.model2doc.gmf.documentstructuretemplate.internal.operations.GMFBodySectionPartTemplateTitleOperations.GMF_INSTANCE.buildPartTemplateTitle(this, context);"/> |
| </eAnnotations> |
| <eParameters name="context" ordered="false" lowerBound="1" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/> |
| </contents> |
| </eAnnotations> |
| <eOperations name="getMatchingDiagrams" ordered="false" upperBound="-1" eType="#//Diagram"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This method returns the diagram owned by the parameter expectedDiagramContext, according to the type of the diagram.
It type is not defined, the method will returns all diagrams."/> |
| </eAnnotations> |
| <eParameters name="expectedDiagramContext" ordered="false" lowerBound="1" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/> |
| </eOperations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="diagramType" ordered="false" |
| eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="The type of diagram to manage. If no type is defined, we will take all diagrams."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="diagramImageMargin" ordered="false" |
| lowerBound="1" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EInt" |
| defaultValueLiteral="10"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This field allows to define the size of the margin around the diagram snapshot. The value is interpreted as Pixel. The default value is 10."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="imageFormat" ordered="false" |
| lowerBound="1" eType="ecore:EEnum ../../org.eclipse.papyrus.model2doc.core.builtintypes/model/BuiltInTypes.ecore#//ImageFormat" |
| defaultValueLiteral="SVG"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Diagram" instanceClassName="org.eclipse.gmf.runtime.notation.Diagram" |
| abstract="true" interface="true"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This interface allows to represent the GMF Diagram element."/> |
| </eAnnotations> |
| </eClassifiers> |
| </ecore:EPackage> |