Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization.properties.generation/model')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore27
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore22
3 files changed, 77 insertions, 0 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore
new file mode 100644
index 00000000000..c0f2d0988b8
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore
@@ -0,0 +1,27 @@
+<?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="fieldselection"
+ nsURI="http://www.eclipse.org/papyrus/properties/fieldSelection" nsPrefix="fs">
+ <eClassifiers xsi:type="ecore:EClass" name="FieldSelection">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="fields" upperBound="-1"
+ eType="#//PropertyDefinition" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="contextElements" upperBound="-1"
+ eType="#//ContextElement" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PropertyDefinition">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueSingle" lowerBound="1"
+ eType="#//Value" defaultValueLiteral="DEFAULT"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueMultiple" lowerBound="1"
+ eType="#//Value" defaultValueLiteral="DEFAULT"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ContextElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
+ eType="#//ContextElement" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1"
+ eType="#//PropertyDefinition" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Value" instanceClassName="org.eclipse.papyrus.properties.generation.wizard.widget.TernaryButton.State"/>
+</ecore:EPackage>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel
new file mode 100644
index 00000000000..38d1be51c0c
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel
@@ -0,0 +1,28 @@
+<?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.properties.generation/src-gen"
+ editDirectory="/org.eclipse.papyrus.properties.generation.edit/src-gen" editorDirectory="/org.eclipse.papyrus.properties.generation.editor/src-gen"
+ modelPluginID="org.eclipse.papyrus.properties.generation" modelName="FieldSelection"
+ testsDirectory="/org.eclipse.papyrus.properties.generation.tests/src-gen" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" copyrightFields="false">
+ <foreignModel>FieldSelection.ecore</foreignModel>
+ <genPackages prefix="FieldSelection" basePackage="org.eclipse.papyrus.properties.generation"
+ disposableProviderFactory="true" ecorePackage="FieldSelection.ecore#/">
+ <genDataTypes ecoreDataType="FieldSelection.ecore#//Value"/>
+ <genClasses ecoreClass="FieldSelection.ecore#//FieldSelection">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//FieldSelection/fields"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//FieldSelection/contextElements"/>
+ </genClasses>
+ <genClasses ecoreClass="FieldSelection.ecore#//PropertyDefinition">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/valueSingle"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/valueMultiple"/>
+ </genClasses>
+ <genClasses ecoreClass="FieldSelection.ecore#//ContextElement">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//ContextElement/elements"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//ContextElement/properties"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//ContextElement/name"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore
new file mode 100644
index 00000000000..48c36bb7f84
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore
@@ -0,0 +1,22 @@
+<?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="LayoutEuristic"
+ nsURI="http://www.eclipse.org/papyrus/properties/layoutEuristic" nsPrefix="layout">
+ <eClassifiers xsi:type="ecore:EClass" name="Config">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultTextEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/PropertyEditorType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultBooleanEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/PropertyEditorType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultIntegerEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/PropertyEditorType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultEnumEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/PropertyEditorType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultReferenceEditor"
+ eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/PropertyEditorType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultSectionLayout" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/LayoutType"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="defaultModelElementFactory"
+ eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.properties.model/Model/Properties.ecore#//environment/ModelElementFactoryDescriptor"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="layoutKind" eType="#//LayoutKind"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="LayoutKind">
+ <eLiterals/>
+ </eClassifiers>
+</ecore:EPackage>

Back to the top