Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bc2678f43c6a36d7e242425a8ed16ff66b65ce2a (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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse version="3.4"?>

<plugin>
   <extension-point id="contextStorage" name="Context Storage Action Providers" schema="schema/contextStorage.exsd"/>
    
   <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.customization.properties.editor.UIEditor" contributorClass="org.eclipse.papyrus.customization.properties.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.customization.properties.UIEditor" name="%editor.name">
      </editor>
   </extension>
   <extension point="org.eclipse.emf.ecore.uri_mapping">
      <mapping source="pathmap://PPECustom/" target="platform:/plugin/org.eclipse.papyrus.customization.properties/Model/">
      </mapping>
   </extension>
   <extension point="org.eclipse.papyrus.views.properties.environment">
      <environment environmentModel="Model/CustomizationEnvironment.xmi">
      </environment>
   </extension>
   <extension point="org.eclipse.papyrus.views.properties.context">
      <context contextModel="Model/Customization.ctx">
      </context>
   </extension>
   <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
      <propertyContributor contributorId="CustomizationPropertyView" labelProvider="org.eclipse.papyrus.views.properties.providers.PropertiesHeaderLabelProvider" tabDescriptorProvider="org.eclipse.papyrus.views.properties.xwt.XWTTabDescriptorProvider">
         <propertyCategory
               category="org.eclipse.papyrus">
         </propertyCategory>
      </propertyContributor>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            allowMultiple="true"
            category="org.eclipse.papyrus.views.category"
            class="org.eclipse.papyrus.customization.properties.editor.preview.Preview"
            icon="icons/preview.png"
            id="org.eclipse.papyrus.customization.properties.preview"
            name="%view.name"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="org.eclipse.papyrus.customization.properties.perspective.CustomizationPerspectiveFactory"
            icon="icons/Customization.gif"
            id="org.eclipse.papyrus.customization.properties.perspective"
            name="%perspective.name">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="org.eclipse.papyrus.customization.properties.preferences.CustomizationPreferencesInitializer">
      </initializer>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            category="org.eclipse.papyrus.infra.core.sasheditor.preferences.generalcategory"
            class="org.eclipse.papyrus.customization.properties.preferences.CustomizationPreferencePage"
            id="org.eclipse.papyrus.customization.properties.preferences"
            name="%page.name">
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.papyrus.customization.properties.ui.OpenCustomization"
            commandId="org.eclipse.papyrus.customization.properties.customize">
      </handler>
      <handler
            class="org.eclipse.papyrus.customization.properties.editor.actions.TogglePreviewAction"
            commandId="org.eclipse.papyrus.customization.properties.TogglePreview">
      </handler>
      <handler
            class="org.eclipse.papyrus.customization.properties.editor.actions.ToggleDataContextAction"
            commandId="org.eclipse.papyrus.customization.properties.ToggleDataContext">
      </handler>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            description="%command.description"
            id="org.eclipse.papyrus.customization.properties.customize"
            name="%command.name">
      </command>
      <command
            description="%command.description.0"
            id="org.eclipse.papyrus.customization.properties.TogglePreview"
            name="%command.name.0">
         <state
               class="org.eclipse.papyrus.customization.properties.editor.actions.TogglePreviewState"
               id="org.eclipse.ui.commands.toggleState">
         </state>
      </command>
      <command
            description="%command.description.1"
            id="org.eclipse.papyrus.customization.properties.ToggleDataContext"
            name="%command.name.1">
            <state
               class="org.eclipse.papyrus.customization.properties.editor.actions.ToggleDataContextState"
               id="org.eclipse.papyrus.customizatio.propertiesn.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.customization.properties.customize"
               icon="icons/Customization.gif"
               id="org.eclipse.papyrus.customization.properties.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.customization.properties"
               label="%toolbar.label">
            <command
                  commandId="org.eclipse.papyrus.customization.properties.TogglePreview"
                  icon="icons/preview.png"
                  id="org.eclipse.papyrus.customization.properties.togglePreview"
                  label="%command.label"
                  style="toggle"
                  tooltip="%command.tooltip">
               <visibleWhen>
                  <with
                        variable="activeEditorId">
                     <equals
                           value="org.eclipse.papyrus.customization.properties.UIEditor">
                     </equals>
                  </with>
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.papyrus.customization.properties.ToggleDataContext"
                  icon="icons/DataContexts.gif"
                  id="org.eclipse.papyrus.customization.properties.toggleDataContext"
                  label="%command.label.0"
                  style="toggle"
                  tooltip="%command.tooltip.0">
               <visibleWhen>
                  <with
                        variable="activeEditorId">
                     <equals
                           value="org.eclipse.papyrus.customization.properties.UIEditor">
                     </equals>
                  </with>
               </visibleWhen>
            </command>
         </toolbar>
      </menuContribution>
   </extension>
   
   <extension
         point="org.eclipse.papyrus.customization.properties.contextStorage">
      <actionProvider
            class="org.eclipse.papyrus.customization.properties.storage.actions.workspace.WorkspaceContextStorageActionProvider">
      </actionProvider>
   </extension>
</plugin>

Back to the top