<?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="rule" nsURI="http://org/eclipse/emf/ecp/view/rule/model" nsPrefix="org.eclipse.emf.ecp.view.rule.model"> | |
<eClassifiers xsi:type="ecore:EClass" name="Condition" abstract="true"/> | |
<eClassifiers xsi:type="ecore:EClass" name="LeafCondition" eSuperTypes="#//Condition"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="expectedValue" lowerBound="1" | |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="domainModelReference" lowerBound="1" | |
eType="ecore:EClass ../../org.eclipse.emf.ecp.view.model/model/view.ecore#//DomainModelReference" | |
containment="true"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="valueDomainModelReference" | |
eType="ecore:EClass ../../org.eclipse.emf.ecp.view.model/model/view.ecore#//DomainModelReference" | |
containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="OrCondition" eSuperTypes="#//Condition"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="conditions" lowerBound="2" | |
upperBound="-1" eType="#//Condition" containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="AndCondition" eSuperTypes="#//Condition"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="conditions" lowerBound="2" | |
upperBound="-1" eType="#//Condition" containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Rule" abstract="true" eSuperTypes="../../org.eclipse.emf.ecp.view.model/model/view.ecore#//Attachment"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1" | |
eType="#//Condition" containment="true"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="ShowRule" eSuperTypes="#//Rule"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hide" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="EnableRule" eSuperTypes="#//Rule"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="disable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | |
</eClassifiers> | |
</ecore:EPackage> |