Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b3b1f53d53025cf220f6e26daa2f01b35c023ddf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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="MMTree"
    nsURI="platform:/resource/Tree2List/metamodels/MMTree.ecore" nsPrefix="tree">
  <eClassifiers xsi:type="ecore:EClass" name="TreeElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Node" eSuperTypes="#//TreeElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
        eType="#//TreeElement" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Leaf" eSuperTypes="#//TreeElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="size" eType="#//LeafSize"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="LeafSize">
    <eLiterals name="small"/>
    <eLiterals name="medium" value="1"/>
    <eLiterals name="big" value="2"/>
  </eClassifiers>
</ecore:EPackage>

Back to the top