summaryrefslogtreecommitdiff
path: root/org.tizen.common/plugin.xml
blob: 8deffd8f402937b158067f9d5adf585130f1050f (plain)
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
    <extension
        point="org.eclipse.ui.newWizards">
        <category
            id="org.tizen.nativeapp.newCategory"
            name="Tizen">
        </category>
    </extension>
    <extension
        point="org.eclipse.ui.preferencePages">
        <page
            class="org.tizen.common.preferences.TizenBasePreferencePage"
            id="org.tizen.common.preferences.tizencommon"
            name="Tizen SDK">
        </page>
    </extension>
    <extension
        point="org.eclipse.ui.startup">
        <startup
            class="org.tizen.common.update.UpdateManager">
        </startup>
    </extension>
    <!-- activities start -->
    <extension
        point="org.eclipse.ui.activities">
        <!-- disable rhino lauch shortcuts & wst launch shortcut -->
        <activity
            name="Popup UI"
            description="Popup UI"
            id="org.tizen.web.launch.DisablePopupMenu">
        <enabledWhen>
            <with variable="activeWorkbenchWindow.activePerspective">
                <and>
                    <not>
                        <equals value="org.tizen.web.ui.perspective.WACwidget"/>
                    </not>
                    <not>
                        <equals value="org.tizen.nativeapp.perspective"/>
                    </not>
                </and>
            </with>
        </enabledWhen>
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.launch.DisablePopupMenu"
            pattern="org.eclipse.wst.server.ui/org.eclipse.wst.server.launchShortcut*">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.launch.DisablePopupMenu"
            pattern="org.eclipse.wst.jsdt.debug.rhino.ui/org.eclipse.wst.jsdt.debug.rhino.ui.launch.shortcut*">
        </activityPatternBinding>
    </extension>

    <extension
        point="org.eclipse.ui.activities">
        <!-- disable CDT launch ui -->
        <category
            name="CDT launch UI"
            description="Disable CDT launch UI when Native App Perspective is activated."
            id="org.tizen.nativeapp.CDTLaunchUICategory">
         </category>

        <activity
            name="CDT Launch UI Elements"
            description="Launch UI elements from CDT"
            id="org.tizen.nativeapp.DisableCDTLaunchUIActivity">

            <enabledWhen>
                <with variable="activeWorkbenchWindow.activePerspective">
                    <and>
                        <not>
                            <equals value="org.tizen.web.ui.perspective.WACwidget"/>
                        </not>
                        <not>
                            <equals value="org.tizen.nativeapp.perspective"/>
                        </not>
                    </and>
                </with>
            </enabledWhen>
        </activity>

        <categoryActivityBinding
            activityId="org.tizen.nativeapp.DisableCDTLaunchUIActivity"
            categoryId="org.tizen.nativeapp.CDTLaunchUICategory">
        </categoryActivityBinding>

        <activityPatternBinding
            activityId="org.tizen.nativeapp.DisableCDTLaunchUIActivity"
            pattern="org\.eclipse\.cdt\.launch/org\.eclipse\.cdt\.launch\.launchGroup">
        </activityPatternBinding>

        <activityPatternBinding
            activityId="org.tizen.nativeapp.DisableCDTLaunchUIActivity"
            pattern="org\.eclipse\.cdt\.debug\.core/org\.eclipse\.cdt\.launch\.[a-zA-Z]*LaunchType">
        </activityPatternBinding>

        <activityPatternBinding
            activityId="org.tizen.nativeapp.DisableCDTLaunchUIActivity"
            pattern="org\.eclipse\.cdt\.debug\.ui/org\.eclipse\.cdt\.debug\.ui\.localCShortcut">
        </activityPatternBinding>

        <!-- disable CDT toolchain editor page -->
        <category
              description="Disable CDT Toolchain Editor Page when Tizen Perspective is activated."
              id="org.tizen.nativeapp.CDTToolChainEditorPageCategory"
              name="CDT ToolChain Editor Page">
        </category>
        <activity
              description="ToolChain Editor Property Page"
              id="org.tizen.nativeapp.DisableCDTToolChainEditorPageActivity"
              name="CDT ToolChain Editor Page Elements">
            <enabledWhen>
                <with variable="activeWorkbenchWindow.activePerspective">
                    <and>
                        <not>
                            <equals value="org.tizen.web.ui.perspective.WACwidget"/>
                        </not>
                        <not>
                            <equals value="org.tizen.nativeapp.perspective"/>
                        </not>
                    </and>
                </with>
            </enabledWhen>
        </activity>
        <categoryActivityBinding
              activityId="org.tizen.nativeapp.DisableCDTToolChainEditorPageActivity"
              categoryId="org.tizen.nativeapp.CDTToolChainEditorPageCategory">
        </categoryActivityBinding>
        <activityPatternBinding
              activityId="org.tizen.nativeapp.DisableCDTToolChainEditorPageActivity"
              pattern="org\.eclipse\.cdt\.managedbuilder\.ui/org\.eclipse\.cdt\.managedbuilder\.ui\.properties\.Page_ToolChain">
        </activityPatternBinding>
    </extension>

    <extension
        point="org.eclipse.ui.activities">
        <!-- disable other new wizards -->
        <activity
            id="org.tizen.web.ui.modification.newXsdDisabler"
            name="%activity.name">
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.ui.modification.newXsdDisabler"
            pattern="org.eclipse.wst.xsd.ui/org.eclipse.wst.xsd.ui.internal.wizards.*">
        </activityPatternBinding>

        <activity
            id="org.tizen.web.ui.modification.newDtdDisabler"
            name="%activity.name.0">
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.ui.modification.newDtdDisabler"
            pattern="org.eclipse.wst.dtd.ui/org.eclipse.wst.dtd.ui.internal.wizard.*">
        </activityPatternBinding>

        <activity
            id="org.tizen.web.ui.modification.ValidateMenuItemDisabler"
            name="%activity.name.1">
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.ui.modification.ValidateMenuItemDisabler"
            pattern="org.eclipse.wst.validation.ui/ValidationAction">
        </activityPatternBinding>


        <activity
            name="Wizard UI"
            description="Wizard UI"
            id="org.tizen.web.DisableWizardsActivity">
            <enabledWhen>
                <with variable="activeWorkbenchWindow.activePerspective">
                    <and>
                        <not>
                            <equals value="org.tizen.web.ui.perspective.WACwidget"/>
                        </not>
                        <not>
                            <equals value="org.tizen.nativeapp.perspective"/>
                        </not>
                    </and>
                </with>
            </enabledWhen>
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="com\.samsung\.tizen\.guibuilder/com\.samsung\.tizen\.guibuilder\.wizard\.newSgmWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.jdt\.ui/org\.eclipse\.jdt\.ui\.wizards\.JavaProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.ant\.ui/org\.eclipse\.ant\.ui\.wizards\.JavaProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.importer/org\.eclipse\.emf\.importer\.ui\.EMFProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.codegen\.ecore\.ui/org\.eclipse\.emf\.codegen\.ecore\.ui\.EmptyProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.jsdt\.ui/org\.eclipse\.wst\.jsdt\.ui\.wizards\.JavaProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.xml\.ui/org\.eclipse\.wst\.xml\.ui\.XMLExampleProjectCreationWizard">
        </activityPatternBinding>


        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.ecore\.editor/org\.eclipse\.emf\.ecore\.presentation\.EcoreModelWizardID">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.mapping\.ecore2xml\.ui/org\.eclipse\.emf\.mapping\.ecore2xml\.presentation\.Ecore2XMLModelWizardID">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.mapping\.ecore2ecore\.editor/org\.eclipse\.emf\.mapping\.ecore2ecore\.presentation\.Ecore2EcoreModelWizardID">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.importer/org\.eclipse\.emf\.importer\.ui\.EMFModelWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.importer/org\.eclipse\.emf\.importer\.ui\.EMFProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.jdt\.ui/org\.eclipse\.jdt\.ui\.wizards.*">
        </activityPatternBinding>


        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.jdt\.junit/org\.eclipse\.jdt\.junit\.wizards.*">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.jdt\.debug\.ui/org\.eclipse\.jdt\.debug\.ui\.snippetEditor\.NewSnippetFileCreationWizard">
        </activityPatternBinding>
         <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.server\.ui/org\.eclipse\.wst\.server\.ui\.new\.server">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.jst\.jsp\.ui/org\.eclipse\.jst\.jsp\.ui\.internal\.wizard.*">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.emf\.codegen\.ui/org\.eclipse\.emf\.codegen\.ui\.ConvertToJETProjectWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.xsd\.ui/org\.eclipse\.wst\.xsd\.ui\.internal\.wizards\.NewXSDWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.dtd\.ui/org\.eclipse\.wst\.dtd\.ui\.internal\.wizard\.NewDTDWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="json\.editor\.plugin/Json\.newFileWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.xml\.ui/org\.eclipse\.wst\.xml\.ui\.internal\.wizards\.NewXMLWizard">
        </activityPatternBinding>
        <activityPatternBinding
            activityId="org.tizen.web.DisableWizardsActivity"
            pattern="org\.eclipse\.wst\.xml\.ui/org\.eclipse\.wst\.xml\.ui\.XMLExampleProjectCreationWizard">
        </activityPatternBinding>
    </extension>

    <extension
        point="org.eclipse.ui.activities">
        <!-- PopupMenus Enabled when tizen Web IDE perspective -->
        <activity
            description="PopupMenus"
            id="org.tizen.web.PopupMenusActivity"
            name="PopupMenus">
            <enabledWhen>
                <with
                    variable="activeWorkbenchWindow.activePerspective">
                    <and>
                        <equals
                            value="org.tizen.web.ui.perspective.WACwidget">
                        </equals>
                    </and>
                </with>
            </enabledWhen>
        </activity>
        <activityPatternBinding
            activityId="org.tizen.web.PopupMenusActivity"
            pattern="org.tizen.web.sign/org.tizen.web.sign.signwidgetaction">
        </activityPatternBinding>
        <activityPatternBinding
             activityId="org.tizen.web.PopupMenusActivity"
             pattern="org.tizen.web.localization/org.tizen.web.localization.menus.popup.localizationMenu">
       </activityPatternBinding>
    </extension>
    <!-- activities end -->
</plugin>