blob: f093ff622c527c674ad4e68d6c37aff0c2cbb79d (
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
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
<browserCustomization file="UICustom/context.uiCustom" loadByDefault="true">
</browserCustomization>
</extension>
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
<browserCustomization file="UICustom/environment.uiCustom" loadByDefault="true"/>
</extension>
<extension point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
<browserCustomization file="UICustom/ui.uiCustom" loadByDefault="true"/>
</extension>
<extension point="org.eclipse.emf.facet.infra.query.registration">
<modelqueryset file="Query/Contexts.querySet"/>
</extension>
<extension
point="org.eclipse.emf.facet.infra.query.registration">
<modelqueryset
file="Query/Ui.querySet">
</modelqueryset>
</extension>
<extension point="org.eclipse.ui.editors">
<editor class="org.eclipse.papyrus.properties.customization.editor.UIEditor" contributorClass="org.eclipse.papyrus.properties.customization.editor.ContextEditorActionBarContributor" default="true" extensions="ctx" icon="platform:/plugin/org.eclipse.papyrus.views.properties.model.edit/icons/full/obj16/Context.gif" id="org.eclipse.papyrus.property.customization.UIEditor" name="%editor.name">
</editor>
</extension>
<extension point="org.eclipse.emf.ecore.uri_mapping">
<mapping source="pathmap://PPECustom/" target="platform:/plugin/org.eclipse.papyrus.properties.customization/Model/">
</mapping>
</extension>
<extension point="org.eclipse.papyrus.properties.environment">
<environment environmentModel="Model/CustomizationEnvironment.xmi">
</environment>
</extension>
<extension point="org.eclipse.papyrus.properties.context">
<context contextModel="Model/Customization.ctx" loadDefault="true">
</context>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor contributorId="CustomizationPropertyView" labelProvider="org.eclipse.papyrus.properties.providers.SelectionLabelProvider" tabDescriptorProvider="org.eclipse.papyrus.properties.xwt.XWTTabDescriptorProvider">
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="true"
category="org.eclipse.papyrus.views.category"
class="org.eclipse.papyrus.properties.customization.editor.preview.Preview"
icon="icons/preview.png"
id="org.eclipse.papyrus.properties.customization.preview"
name="%view.name"
restorable="true">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.papyrus.properties.customization.perspective.CustomizationPerspectiveFactory"
icon="icons/Customization.gif"
id="org.eclipse.papyrus.properties.customization.perspective"
name="%perspective.name">
</perspective>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.papyrus.properties.customization.preferences.CustomizationPreferencesInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.papyrus.preferences.generalcategory"
class="org.eclipse.papyrus.properties.customization.preferences.CustomizationPreferencePage"
id="org.eclipse.papyrus.properties.customization.preferences"
name="%page.name">
</page>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.properties.customization.ui.OpenCustomization"
commandId="org.eclipse.papyrus.properties.customization.customize">
</handler>
<handler
class="org.eclipse.papyrus.properties.customization.editor.actions.TogglePreviewAction"
commandId="org.eclipse.papyrus.properties.customization.TogglePreview">
</handler>
<handler
class="org.eclipse.papyrus.properties.customization.editor.actions.ToggleDataContextAction"
commandId="org.eclipse.papyrus.properties.customization.ToggleDataContext">
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="%command.description"
id="org.eclipse.papyrus.properties.customization.customize"
name="%command.name">
</command>
<command
description="%command.description.0"
id="org.eclipse.papyrus.properties.customization.TogglePreview"
name="%command.name.0">
<state
class="org.eclipse.papyrus.properties.customization.editor.actions.TogglePreviewState"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
description="%command.description.1"
id="org.eclipse.papyrus.properties.customization.ToggleDataContext"
name="%command.name.1">
<state
class="org.eclipse.papyrus.properties.customization.editor.actions.ToggleDataContextState"
id="org.eclipse.papyrus.properties.customization.displayContextState">
</state>
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.ui.views.PropertySheet">
<command
commandId="org.eclipse.papyrus.properties.customization.customize"
icon="icons/Customization.gif"
id="org.eclipse.papyrus.properties.customization.customizehandler"
label="%customize.command.label"
mnemonic="%customize.command.mnemonic"
mode="FORCE_TEXT"
style="push"
tooltip="%customize.command.tooltip">
<visibleWhen
checkEnabled="true">
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="org.eclipes.papyrus.properties.customization"
label="%toolbar.label">
<command
commandId="org.eclipse.papyrus.properties.customization.TogglePreview"
icon="icons/preview.png"
id="org.eclipse.papyrus.properties.customization.togglePreview"
label="%command.label"
style="toggle"
tooltip="%command.tooltip">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.property.customization.UIEditor">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.properties.customization.ToggleDataContext"
icon="icons/DataContexts.gif"
id="org.eclipse.papyrus.properties.customization.toggleDataContext"
label="%command.label.0"
style="toggle"
tooltip="%command.tooltip.0">
<visibleWhen>
<with
variable="activeEditorId">
<equals
value="org.eclipse.papyrus.property.customization.UIEditor">
</equals>
</with>
</visibleWhen>
</command>
</toolbar>
</menuContribution>
</extension>
</plugin>
|