Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/filters/org.eclipse.papyrus.infra.filters/model/filters.ecore')
-rw-r--r--plugins/infra/filters/org.eclipse.papyrus.infra.filters/model/filters.ecore51
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/infra/filters/org.eclipse.papyrus.infra.filters/model/filters.ecore b/plugins/infra/filters/org.eclipse.papyrus.infra.filters/model/filters.ecore
new file mode 100644
index 00000000000..5607ca0f7a9
--- /dev/null
+++ b/plugins/infra/filters/org.eclipse.papyrus.infra.filters/model/filters.ecore
@@ -0,0 +1,51 @@
+<?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="filters" nsURI="http://www.eclipse.org/Papyrus/2014/common/filters"
+ nsPrefix="filters">
+ <eClassifiers xsi:type="ecore:EDataType" name="Object" instanceClassName="java.lang.Object"/>
+ <eClassifiers xsi:type="ecore:EClass" name="CompoundFilter" eSuperTypes="#//Filter">
+ <eOperations name="acyclic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="A filter may not directly or indirectly compose itself."/>
+ </eAnnotations>
+ <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/>
+ </eAnnotations>
+ </eParameters>
+ <eParameters name="context">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The cache of context-specific information."/>
+ </eAnnotations>
+ <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
+ <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ </eGenericType>
+ </eParameters>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="filter" ordered="false"
+ lowerBound="1" upperBound="-1" eType="#//Filter"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ownedFilter" ordered="false"
+ upperBound="-1" eType="#//Filter" containment="true">
+ <eAnnotations source="subsets" references="#//CompoundFilter/filter"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" ordered="false"
+ lowerBound="1" eType="#//OperatorKind"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Filter" abstract="true" interface="true">
+ <eOperations name="matches" ordered="false" lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Boolean">
+ <eParameters name="input" ordered="false" lowerBound="1" eType="#//Object"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="OperatorKind">
+ <eLiterals name="and"/>
+ <eLiterals name="or" value="1"/>
+ <eLiterals name="xor" value="2"/>
+ <eLiterals name="not" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Equals" eSuperTypes="#//Filter">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="object" ordered="false"
+ lowerBound="1" eType="#//Object"/>
+ </eClassifiers>
+</ecore:EPackage>

Back to the top