blob: 1c9adaa45e3174876eb098a9f81e78bdb641b81b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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="newchild" nsURI="http://www.eclipse.org/papyrus/newchild" nsPrefix="newchild">
<eClassifiers xsi:type="ecore:EClass" name="NewchildConfiguration">
<eStructuralFeatures xsi:type="ecore:EReference" name="roots" upperBound="-1"
eType="#//MenuRoot" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="newChildPolicies" upperBound="-1"
eType="#//ncpolicy/NewChildPolicySet" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuRoot" eSuperTypes="#//MenuContainer platform:/plugin/org.eclipse.papyrus.infra.constraints/Model/Constraints.ecore#//DisplayUnit">
<eStructuralFeatures xsi:type="ecore:EReference" name="groups" upperBound="-1"
eType="#//MenuGroup" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuItem" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuContainer" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="submenus" upperBound="-1"
eType="#//MenuItem" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Menu" eSuperTypes="#//MenuContainer #//MenuItem">
<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="icon" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MenuAction" eSuperTypes="#//MenuItem">
<eStructuralFeatures xsi:type="ecore:EReference" name="elementType" lowerBound="1"
eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Separator" eSuperTypes="#//MenuItem"/>
<eClassifiers xsi:type="ecore:EClass" name="MenuGroup" eSuperTypes="#//MenuContainer">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="before" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="after" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="absolutePosition" eType="#//MenuPosition"
defaultValueLiteral="top"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="MenuPosition">
<eLiterals name="top"/>
<eLiterals name="bottom" value="1"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CustomFiller" eSuperTypes="#//MenuItem">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="className" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eSubpackages name="ncpolicy" nsURI="http://www.eclipse.org/papyrus/newchild/policy"
nsPrefix="ncpolicy">
<eClassifiers xsi:type="ecore:EEnum" name="CreateIn">
<eLiterals name="self" literal="self"/>
<eLiterals name="parent" value="1" literal="parent"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="Layout">
<eLiterals name="hierarchical"/>
<eLiterals name="flat" value="1"/>
<eLiterals name="auto" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NewEMFChildMenu" eSuperTypes="#//Menu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="createIn" lowerBound="1"
eType="#//ncpolicy/CreateIn" defaultValueLiteral="self"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="layout" lowerBound="1"
eType="#//ncpolicy/Layout" defaultValueLiteral="hierarchical"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="groups" upperBound="-1"
eType="#//MenuGroup" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NewChildPolicySet" eSuperTypes="platform:/plugin/org.eclipse.papyrus.infra.constraints/Model/Constraints.ecore#//DisplayUnit">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="policies" upperBound="-1"
eType="#//ncpolicy/NewChildPolicy" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NewChildPolicy" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="roles" upperBound="-1"
eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eClasses" upperBound="-1"
eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FilterPolicy" eSuperTypes="#//ncpolicy/NewChildPolicy"/>
<eClassifiers xsi:type="ecore:EClass" name="ReplacePolicy" eSuperTypes="#//ncpolicy/NewChildPolicy">
<eStructuralFeatures xsi:type="ecore:EReference" name="replaceWith" lowerBound="1"
upperBound="-1" eType="#//MenuItem" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CustomPolicy" eSuperTypes="#//ncpolicy/NewChildPolicy">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="className" lowerBound="1"
eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
</eSubpackages>
</ecore:EPackage>
|