| <?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="textdocument" nsURI="http://www.eclipse.org/papyrus/infra/textedit/textdocument" |
| nsPrefix="textdocument"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This package contains the elements used to represent an instance of a TextDocument"/> |
| </eAnnotations> |
| <eClassifiers xsi:type="ecore:EClass" name="TextDocument"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This element represents an instance of a TextDocument. A such element can be open in the Papyrus SashEditor."/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="semanticContext" lowerBound="1" |
| eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="Reference the edited element of the user model."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="graphicalContext" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="Reference the element under which the TextDocument will be displayed in a TreeViewer (for example)."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" 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 name to display in the UI for the editor."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="kindId" lowerBound="1" |
| eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> |
| <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> |
| <details key="documentation" value="This field will allow a better integration with the Papyrus Architecture Framework.
This value must be equals to the value PapyrusRepresentationKind#implementationID
This field will be used to find the ViewPrototype of an instance of TextDocument.
This field is useless for usage outside of Papyrus, but we set its multiplicity to [1] to avoid possible mistake in Papyrus usages.
This value can be changed by an architecture context switch."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" 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 the editor. This value must not be changed."/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| </eClassifiers> |
| </ecore:EPackage> |