Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 969442420a087ae1a115641c8745b497516d312d (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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<?xml version="1.0" encoding="UTF-8"?>
<description:Group
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
    xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
    name="My"
    version="12.0.0.201702091400">
  <ownedViewpoints
      name="TestOverrides"/>
  <extensions
      xsi:type="properties:ViewExtensionDescription">
    <categories
        name="Default">
      <pages
          labelExpression="Pikachu">
        <extends
            href="../../../../plugin/org.eclipse.sirius.properties.core/model/properties.odesign#//@extensions.0/@categories.0/@pages.0"/>
      </pages>
      <pages
          name="DefaultPage"
          labelExpression="Default Page"
          domainClass="ecore.EClass"
          semanticCandidateExpression="var:self"
          groups="//@extensions.0/@categories.0/@groups.0 //@extensions.0/@categories.0/@groups.1">
        <validationSet>
          <semanticValidationRules
              name="DefaultSemanticValidationRule"
              level="ERROR"
              targetClass="ecore.EClass">
            <audits
                auditExpression="aql:false"/>
          </semanticValidationRules>
          <semanticValidationRules
              name="FilterOverriddenDefaultSemanticValidationRule"
              level="ERROR"
              targetClass="ecore.EClass">
            <audits
                auditExpression="aql:false"/>
          </semanticValidationRules>
        </validationSet>
      </pages>
      <pages
          name="AnotherPageWithDefaultGroup"
          labelExpression="Another Page"
          domainClass="ecore.EClass"
          semanticCandidateExpression="var:self"
          groups="//@extensions.0/@categories.0/@groups.0"/>
      <pages
          name="AnotherDefaultPage"
          labelExpression="Another Default Page"
          domainClass="ecore.EClass"
          semanticCandidateExpression="var:self"
          groups="//@extensions.0/@categories.0/@groups.2"
          filterValidationRulesFromExtendedPageExpression="">
        <validationSet>
          <semanticValidationRules
              name="AnotherDefaultSemanticValidationRule"
              level="ERROR"
              targetClass="ecore.EClass">
            <audits
                auditExpression="aql:false"/>
          </semanticValidationRules>
          <semanticValidationRules
              name="FilterExtendedDefaultSemanticValidationRule"
              level="ERROR"
              targetClass="ecore.EClass">
            <audits
                auditExpression="aql:false"/>
          </semanticValidationRules>
        </validationSet>
      </pages>
      <groups
          name="DefaultGroup"
          label=""
          labelExpression="Default Group"
          semanticCandidateExpression="var:self">
        <controls
            xsi:type="properties:TextDescription"
            name="DefaultText"
            labelExpression="Default Text"
            isEnabledExpression=""
            valueExpression="aql:self.name"/>
        <controls
            xsi:type="properties:LabelDescription"
            name="DefaultLabel"
            label=""
            labelExpression="Default Label"
            valueExpression="aql:self.name"/>
        <controls
            xsi:type="properties:ButtonDescription"
            name="DefaultButton"
            labelExpression="DefaultButton"/>
        <controls
            xsi:type="properties:CheckboxDescription"
            name="DefaultCheckbox"
            labelExpression="DefaultCheckbox"/>
        <controls
            xsi:type="properties:SelectDescription"
            name="DefaultSelect"
            labelExpression="DefaultSelect"
            valueExpression="aql:self.name"/>
        <controls
            xsi:type="properties:TextAreaDescription"
            name="DefaultTextArea"
            labelExpression="DefaultTextArea"
            valueExpression="aql:self.name"/>
        <controls
            xsi:type="properties:ListDescription"
            name="DefaultList"
            label=""
            labelExpression="DefaultList"
            valueExpression=""
            displayExpression=""
            filterConditionalStylesFromExtendedListExpression=""/>
        <controls
            xsi:type="properties:HyperlinkDescription"
            name="DefaultHyperlink"
            labelExpression="DefaultHyperlink"
            valueExpression="aql:self"
            displayExpression="aql:value.name"
            filterConditionalStylesFromExtendedHyperlinkExpression=""/>
        <controls
            xsi:type="properties:RadioDescription"
            name="DefaultRadio"
            labelExpression="DefaultRadio"
            candidatesExpression="aql:Sequence{'Radio1','Radio2','Radio3'}"
            candidateDisplayExpression="aql:candidate"/>
        <controls
            xsi:type="properties:TextDescription"
            name="FilterText"
            label=""
            labelExpression="FilterText"
            valueExpression="aql:self.name"/>
      </groups>
      <groups
          name="FilterOverriddenGroup"
          label=""
          labelExpression="FilterOverriddenGroup"
          domainClass=""
          semanticCandidateExpression="var:self"/>
      <groups
          name="FilterExtendedGroup"
          label=""
          labelExpression="FilterOverridenGroup"
          semanticCandidateExpression="var:self"/>
    </categories>
    <categories
        name="Overrides">
      <overrides
          xsi:type="properties:GroupOverrideDescription"
          name="OverridesDefaultGroup"
          labelExpression="OverridesDefaultGroup"
          filterControlsFromExtendedGroupExpression=""
          overrides="//@extensions.0/@categories.0/@groups.0"
          filterControlsFromOverriddenGroupExpression="aql:control.name.contains('Filter')"/>
      <overrides
          xsi:type="properties:PageOverrideDescription"
          name="OverridesDefaultRulesPage"
          labelExpression="OverridesDefaultRulesPage"
          overrides="//@extensions.0/@categories.0/@pages.0"/>
      <overrides
          xsi:type="properties:GroupOverrideDescription"
          name="OverridesDefaultRulesGroup"
          labelExpression="OverridesDefaultRulesGroup">
        <overrides
            href="../../../../plugin/org.eclipse.sirius.properties.core/model/properties.odesign#//@extensions.0/@categories.0/@groups.0"/>
      </overrides>
      <overrides
          xsi:type="properties:TextOverrideDescription"
          name="OverridesDefaultText"
          labelExpression="OverridesDefaultText"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.0"/>
      <overrides
          xsi:type="properties:LabelOverrideDescription"
          name="OverridesDefaultLabel"
          labelExpression="OverridesDefaultLabel"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.1"/>
      <overrides
          xsi:type="properties:ButtonOverrideDescription"
          name="OverridesDefaultButton"
          labelExpression="OverridesDefaultButton"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.2"/>
      <overrides
          xsi:type="properties:CheckboxOverrideDescription"
          name="OverridesDefaultCheckbox"
          labelExpression="OverridesDefaultCheckbox"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.3"/>
      <overrides
          xsi:type="properties:SelectOverrideDescription"
          name="OverridesDefaultSelect"
          labelExpression="OverridesDefaultSelect"
          candidatesExpression="aql:self"
          candidateDisplayExpression="aql:candidate.name"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.4"/>
      <overrides
          xsi:type="properties:TextAreaOverrideDescription"
          name="OverridesDefaultTextArea"
          labelExpression="OverridesDefaultTextArea"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.5"/>
      <overrides
          xsi:type="properties:ListOverrideDescription"
          name="OverridesDefaultList"
          labelExpression="OverridesDefaultList"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.6"/>
      <overrides
          xsi:type="properties:HyperlinkOverrideDescription"
          name="OverridesDefaultHyperlink"
          label=""
          labelExpression="OverridesDefaultHyperlink"
          filterActionsFromExtendedHyperlinkExpression=""
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.7"/>
      <overrides
          xsi:type="properties:RadioOverrideDescription"
          name="OverridesDefaultRadio"
          label=""
          labelExpression="OverridesDefaultRadio"
          overrides="//@extensions.0/@categories.0/@groups.0/@controls.8"/>
      <overrides
          xsi:type="properties:PageOverrideDescription"
          name="OverridesDefaultPageAndExtendsAnotherDefaultPage"
          labelExpression="OverridesDefaultPage"
          domainClass=""
          preconditionExpression=""
          extends="//@extensions.0/@categories.0/@pages.3"
          filterGroupsFromExtendedPageExpression="aql:group.name.contains('FilterExtended')"
          filterValidationRulesFromExtendedPageExpression="aql:validationRule.name.contains('FilterExtended')"
          overrides="//@extensions.0/@categories.0/@pages.1"
          filterGroupsFromOverriddenPageExpression="aql:group.name.contains('FilterOverridden')"
          filterValidationRulesFromOverriddenPageExpression="aql:validationRule.name.contains('FilterOverridden')"/>
    </categories>
  </extensions>
</description:Group>

Back to the top