Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 42cbafe650a4c498d6a9837d389f99f4714d9248 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<?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="di" nsURI="http://www.eclipse.org/papyrus/0.7.0/sashdi" nsPrefix="di">
  <eAnnotations source="resource=XMI"/>
  <eClassifiers xsi:type="ecore:EClass" name="SashModel">
    <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
      <details key="documentation" value="Root node of the model describing the sash windows, panels and pages.&#xD;&#xA;A SashModel can have several windows containing panels separated by sashes. Such panels can be folders &#xD;&#xA;containing pages."/>
    </eAnnotations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="removePage" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="lookupPage" ordered="false" lowerBound="1" eType="#//PageRef">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Lookup the pageRef identified by the pageIdentifier.&#xD;&#xA;Return the pageRef or null if not found.&#xD;&#xA;Lookup in the entire SashModel structure."/>
      </eAnnotations>
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="movePage" ordered="false" lowerBound="1">
      <eParameters name="srcParentFolder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="srcIndex" ordered="false" lowerBound="1" eType="#//int"/>
      <eParameters name="targetParentFolder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="targetIndex" ordered="false" lowerBound="1" eType="#//int"/>
    </eOperations>
    <eOperations name="insertFolder" ordered="false" lowerBound="1">
      <eParameters name="folderToInsert" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="refFolder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="refFolderSide" ordered="false" lowerBound="1" eType="#//int"/>
    </eOperations>
    <eOperations name="movePage" ordered="false" lowerBound="1">
      <eParameters name="srcParentFolder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="srcIndex" ordered="false" lowerBound="1" eType="#//int"/>
      <eParameters name="targetParentFolder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
    </eOperations>
    <eOperations name="removeEmptyFolder" ordered="false" lowerBound="1">
      <eParameters name="folder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
    </eOperations>
    <eOperations name="removeAllPages" ordered="false" lowerBound="1">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Remove all pages from the model. Only left one empty top level folder."/>
      </eAnnotations>
    </eOperations>
    <eOperations name="removeOtherPages" ordered="false" lowerBound="1">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Remove pages other than the one specified from the model. Intermediate folders are also removed."/>
      </eAnnotations>
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="lookupFirstWindow" ordered="false" lowerBound="1" eType="#//Window">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Get the first available window."/>
      </eAnnotations>
    </eOperations>
    <eOperations name="lookupFirstFolder" ordered="false" lowerBound="1" eType="#//TabFolder">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Lookup the first available folder."/>
      </eAnnotations>
    </eOperations>
    <eOperations name="removePageAndEmptyFolder" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="setCurrentSelectionSilently" ordered="false" lowerBound="1">
      <eParameters name="selection" ordered="false" lowerBound="1" eType="#//TabFolder"/>
    </eOperations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="folder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="folder" ordered="false" lowerBound="1" eType="#//TabFolder"/>
      <eParameters name="pageRef" ordered="false" lowerBound="1" eType="#//PageRef"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="windows" ordered="false"
        upperBound="-1" eType="#//Window" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="currentSelection" ordered="false"
        unique="false" lowerBound="1" eType="#//TabFolder"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="restoreActivePage" ordered="false"
        lowerBound="1" eType="#//boolean"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Window" eSuperTypes="#//PanelParent">
    <eStructuralFeatures xsi:type="ecore:EReference" name="position" ordered="false"
        unique="false" lowerBound="1" eType="#//Position"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="size" ordered="false" unique="false"
        lowerBound="1" eType="#//Size"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="panel" ordered="false"
        unique="false" lowerBound="1" eType="#//AbstractPanel" volatile="true" transient="true"
        derived="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Redefine children."/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PanelParent" abstract="true">
    <eOperations name="replaceChild" ordered="false" lowerBound="1">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Replace the specified child by the new value.&#xD;&#xA;Don't need to be implemented in TabFolder.&#xD;&#xA;Used to insert a new SashPanel."/>
      </eAnnotations>
      <eParameters name="oldChild" ordered="false" lowerBound="1" eType="#//AbstractPanel"/>
      <eParameters name="newChild" ordered="false" lowerBound="1" eType="#//AbstractPanel"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false"
        lowerBound="2" upperBound="2" eType="#//AbstractPanel" containment="true"
        eOpposite="#//AbstractPanel/parent"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="AbstractPanel" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false"
        unique="false" lowerBound="1" eType="#//PanelParent" eOpposite="#//PanelParent/children"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Position">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" ordered="false" unique="false"
        lowerBound="1" eType="#//int"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" ordered="false" unique="false"
        lowerBound="1" eType="#//int"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="int" instanceClassName="int">
    <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML">
      <details key="originalName" value="Integer"/>
    </eAnnotations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Size">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" ordered="false"
        unique="false" lowerBound="1" eType="#//int"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" ordered="false"
        unique="false" lowerBound="1" eType="#//int"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="TabFolder" eSuperTypes="#//AbstractPanel">
    <eOperations name="movePage" ordered="false" lowerBound="1">
      <eParameters name="oldIndex" ordered="false" lowerBound="1" eType="#//int"/>
      <eParameters name="newIndex" ordered="false" lowerBound="1" eType="#//int"/>
    </eOperations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="removePage" ordered="false" lowerBound="1">
      <eParameters name="pageIndex" ordered="false" lowerBound="1" eType="#//int"/>
    </eOperations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="index" ordered="false" lowerBound="1" eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//Integer"/>
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="pageRef" ordered="false" lowerBound="1" eType="#//PageRef"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false"
        upperBound="-1" eType="#//PageRef" containment="true" eOpposite="#//PageRef/parent"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="currentSelection" ordered="false"
        eType="#//PageRef">
      <eAnnotations source="subsets" references="#//TabFolder/children"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PageRef">
    <eOperations name="isForIdentifier" ordered="false" lowerBound="1" eType="#//boolean">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="emfPageIdentifier" ordered="false"
        unique="false" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="pageIdentifier" ordered="false"
        unique="false" lowerBound="1" eType="#//JavaObject" volatile="true" transient="true"
        derived="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="pageIdentifier can be a plain JavaObject or an EObject.&#xD;&#xA;They are not stored in the same place."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="objectPageIdentifier" ordered="false"
        unique="false" lowerBound="1" eType="#//JavaObject">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Storage to store Identifier that are not EObject."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="favoriteEditor" ordered="false"
        eType="ecore:EDataType ../../org.eclipse.uml2.types/model/Types.ecore#//String"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false"
        unique="false" eType="#//TabFolder" eOpposite="#//TabFolder/children"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="JavaObject" instanceClassName="java.lang.Object"/>
  <eClassifiers xsi:type="ecore:EDataType" name="boolean" instanceClassName="boolean"/>
  <eClassifiers xsi:type="ecore:EClass" name="SashPanel" eSuperTypes="#//AbstractPanel #//PanelParent">
    <eOperations name="setChildren" ordered="false" lowerBound="1">
      <eParameters name="leftChild" ordered="false" lowerBound="1" eType="#//AbstractPanel"/>
      <eParameters name="rightChild" ordered="false" lowerBound="1" eType="#//AbstractPanel"/>
      <eParameters name="direction" ordered="false" lowerBound="1" eType="#//int"/>
    </eOperations>
    <eOperations name="delete" ordered="false" lowerBound="1">
      <eParameters name="childToDelete" ordered="false" lowerBound="1" eType="#//AbstractPanel"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="sashPosition" ordered="false"
        unique="false" lowerBound="1" eType="#//Float">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Position of the sash in the panel. The position is in percent. The value should be between 0 and 100."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false"
        unique="false" lowerBound="1" eType="#//int"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="Float" instanceClassName="float"/>
  <eClassifiers xsi:type="ecore:EClass" name="AbstractPage">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="pageIdentifier" ordered="false"
        unique="false" lowerBound="1" eType="#//JavaObject"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PageList">
    <eOperations name="addPage" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eOperations name="removePage" ordered="false" lowerBound="1">
      <eParameters name="pageIdentifier" ordered="false" lowerBound="1" eType="#//JavaObject"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="availablePage" ordered="false"
        upperBound="-1" eType="#//PageRef" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="SashWindowsMngr">
    <eStructuralFeatures xsi:type="ecore:EReference" name="pageList" ordered="false"
        unique="false" lowerBound="1" eType="#//PageList" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="sashModel" ordered="false"
        unique="false" lowerBound="1" eType="#//SashModel" containment="true"/>
  </eClassifiers>
</ecore:EPackage>

Back to the top