Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model')
-rw-r--r--extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.ecore48
-rw-r--r--extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.genmodel19
2 files changed, 67 insertions, 0 deletions
diff --git a/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.ecore b/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.ecore
new file mode 100644
index 00000000000..19092e38d55
--- /dev/null
+++ b/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.ecore
@@ -0,0 +1,48 @@
+<?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="papyrustableinstance" nsURI="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"
+ nsPrefix="org.eclipse.papyrus.infra.table.instance.papyrustableinstance">
+ <eClassifiers xsi:type="ecore:EClass" name="PapyrusTableInstance" eSuperTypes="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ defaultValueLiteral="no name">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The name of the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ defaultValueLiteral="PapyrusDefaultTable">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The type of the table"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="isSynchronized" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Indicates if the table is synchronized with its context or not. Synchronization is done with the filling queries."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="table" eType="ecore:EClass platform:/plugin/org.eclipse.emf.facet.widgets.nattable.instance/model/tableinstance2.ecore#//TableInstance2">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The TableInstance"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="fillingQueries" upperBound="-1"
+ eType="ecore:EClass platform:/plugin/org.eclipse.emf.facet.infra.query/model/query.ecore#//ModelQuery">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The queries used to fill the table"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pastedElementId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ defaultValueLiteral="">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This attribute stores the id of the element represented by the row during a paste action in the table."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pastedElementContainmentFeature"
+ eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EReference">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="This property reference the feature of the context of the table which is used as containement feature&#xD;&#xA;for the pasted elements."/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.genmodel b/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.genmodel
new file mode 100644
index 00000000000..d98cf5d65bd
--- /dev/null
+++ b/extraplugins/tablemigration/org.eclipse.papyrus.infra.table.instance/model/papyrustableinstance.genmodel
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.infra.table.instance/src"
+ modelPluginID="org.eclipse.papyrus.infra.table.instance" modelName="Papyrustableinstance"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
+ usedGenPackages="platform:/plugin/org.eclipse.emf.facet.widgets.celleditors/model/celleditors.genmodel#//modelCellEditor platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.emf.facet.infra.facet/model/facet.genmodel#//facet platform:/plugin/org.eclipse.emf.facet.infra.query/model/query.genmodel#//query platform:/plugin/org.eclipse.emf.facet.widgets.nattable.tableconfiguration/model/tableConfiguration.genmodel#//tableconfiguration platform:/plugin/org.eclipse.emf.facet.widgets.nattable.instance/model/tableinstance.genmodel#//tableinstance platform:/plugin/org.eclipse.emf.facet.widgets.nattable.instance/model/tableinstance2.genmodel#//tableinstance2 platform:/plugin/org.eclipse.emf.facet.infra.browser.custom/models/uiCustom.genmodel#//custom">
+ <foreignModel>papyrustableinstance.ecore</foreignModel>
+ <genPackages prefix="Papyrustableinstance" basePackage="org.eclipse.papyrus.infra.table.instance"
+ disposableProviderFactory="true" ecorePackage="papyrustableinstance.ecore#/">
+ <genClasses ecoreClass="papyrustableinstance.ecore#//PapyrusTableInstance">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute papyrustableinstance.ecore#//PapyrusTableInstance/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute papyrustableinstance.ecore#//PapyrusTableInstance/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute papyrustableinstance.ecore#//PapyrusTableInstance/isSynchronized"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference papyrustableinstance.ecore#//PapyrusTableInstance/table"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference papyrustableinstance.ecore#//PapyrusTableInstance/fillingQueries"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>

Back to the top