diff options
Diffstat (limited to 'extraplugins/propertylifecycle/org.eclipse.papyrus.propertylifecycle.model/model/propertylifecycle.ecore')
-rwxr-xr-x | extraplugins/propertylifecycle/org.eclipse.papyrus.propertylifecycle.model/model/propertylifecycle.ecore | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/extraplugins/propertylifecycle/org.eclipse.papyrus.propertylifecycle.model/model/propertylifecycle.ecore b/extraplugins/propertylifecycle/org.eclipse.papyrus.propertylifecycle.model/model/propertylifecycle.ecore new file mode 100755 index 00000000000..533039a39f0 --- /dev/null +++ b/extraplugins/propertylifecycle/org.eclipse.papyrus.propertylifecycle.model/model/propertylifecycle.ecore @@ -0,0 +1,89 @@ +<?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="propertylifecycle" nsURI="http://www.eclipse.org/papyrus/propertylifecycle/0.1" + nsPrefix="propertylifecycle"> + <eClassifiers xsi:type="ecore:EClass" name="StrategyTemplate" abstract="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Contains the standard informations needed to identify the strategy sets"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="decription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="StrategySet" eSuperTypes="#//StrategyTemplate"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Root set containing the defined strategies"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="strategies" lowerBound="1" + upperBound="-1" eType="#//StrategyElement" containment="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="StrategyElement" eSuperTypes="#//ElementTemplate #//StrategyTemplate"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The element affected by this strategy"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="elementContainers" upperBound="-1" + eType="#//ElementContainer" containment="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="elementProperties" lowerBound="1" + upperBound="-1" eType="#//ElementProperty" containment="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ElementTemplate" abstract="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Contains the standard informations needed to identify the elements affected by this strategy"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="baseType" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="specializedType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ElementContainer" eSuperTypes="#//ElementTemplate"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The informations defining the required immediate possible container(s) of the element"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="containersContainer" ordered="false" + eType="#//ElementContainer" containment="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ElementProperty"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="These informations are used to select and edit the property"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="featureLabel" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="priority" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject" + defaultValueLiteral="0"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="triggers" ordered="false" + lowerBound="1" upperBound="-1" eType="#//AbstractTrigger" containment="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="valueProcessor" ordered="false" + lowerBound="1" eType="#//AbstractValueProcessor" containment="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AbstractTrigger" abstract="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Triggers specifying the lifecycle moment(s) from which to apply the processed value to the property"/> + </eAnnotations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AbstractValueProcessor" abstract="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Processor from which to compute the new value of the property"/> + </eAnnotations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="JavaProcessor" eSuperTypes="#//AbstractValueProcessor"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Process the new vaue from the specified java class"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="className" ordered="false" + lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="BasicTrigger" eSuperTypes="#//AbstractTrigger"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Specify the basic triggers of an element's lifecycle"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="onCreate" ordered="false" + lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="onDelete" ordered="false" + lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="onOpen" ordered="false" + lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="onMove" ordered="false" + lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + </eClassifiers> +</ecore:EPackage> |