-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathplugin.xml
More file actions
200 lines (200 loc) · 6.66 KB
/
Copy pathplugin.xml
File metadata and controls
200 lines (200 loc) · 6.66 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="com.huawei.cloud.servicestage.eclipse.preferences.HuaweiPreferencePage"
id="com.huawei.cloud.servicestage.eclipse.preferences.HuaweiPreferencePage"
name="%preferencepage.name">
</page>
</extension>
<extension point="org.eclipse.core.runtime.preferences">
<initializer
class="com.huawei.cloud.servicestage.eclipse.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
id="com.huawei.cloud.servicestage.eclipse.commands.category"
name="%command.category.name">
</category>
<command
categoryId="com.huawei.cloud.servicestage.eclipse.commands.category"
name="%command.configure.name"
id="com.huawei.cloud.servicestage.eclipse.commands.configureCommand">
</command>
<command
categoryId="com.huawei.cloud.servicestage.eclipse.commands.category"
name="%command.deploy.name"
id="com.huawei.cloud.servicestage.eclipse.commands.deployCommand">
</command>
<command
categoryId="com.huawei.cloud.servicestage.eclipse.commands.category"
name="%command.status.name"
id="com.huawei.cloud.servicestage.eclipse.commands.statusCommand">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="com.huawei.cloud.servicestage.eclipse.ConfigHandler"
commandId="com.huawei.cloud.servicestage.eclipse.commands.configureCommand">
</handler>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="com.huawei.cloud.servicestage.eclipse.DeployHandler"
commandId="com.huawei.cloud.servicestage.eclipse.commands.deployCommand">
</handler>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="com.huawei.cloud.servicestage.eclipse.StatusHandler"
commandId="com.huawei.cloud.servicestage.eclipse.commands.statusCommand">
</handler>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
<definition id="com.huawei.cloud.servicestage.eclipse.extensionTest">
<or>
<adapt type="org.eclipse.core.resources.IResource">
<or>
<test property="org.eclipse.core.resources.extension"
value="war">
</test>
<test property="org.eclipse.core.resources.extension"
value="jar">
</test>
</or>
</adapt>
<adapt type="org.eclipse.core.resources.IProject">
<or>
<test property="org.eclipse.core.resources.projectNature"
value="org.eclipse.wst.jsdt.core.jsNature"/>
<test property="org.eclipse.core.resources.projectNature"
value="org.eclipse.php.core.PHPNature"/>
</or>
</adapt>
</or>
</definition>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
id="com.huawei.cloud.servicestage.eclipse.menus.tools"
label="Tools"
mnemonic="H">
<menu
id="com.huawei.cloud.servicestage.eclipse.menus.servicestage"
label="ServiceStage"
icon="icons/servicestage.png"
mnemonic="S">
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.configureCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.configureCommand"
icon="icons/config.png"
mnemonic="C">
</command>
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.deployCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.deployCommand"
icon="icons/deploy.png"
mnemonic="D">
<visibleWhen>
<or>
<with variable="selection">
<iterate ifEmpty="false">
<reference definitionId="com.huawei.cloud.servicestage.eclipse.extensionTest"/>
</iterate>
</with>
</or>
</visibleWhen>
</command>
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.statusCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.statusCommand"
icon="icons/status.png"
mnemonic="S">
</command>
</menu>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="com.huawei.cloud.servicestage.eclipse.toolbars.huaweiToolbar">
<command
id="com.huawei.cloud.servicestage.eclipse.toolbars.configureCommand"
commandId="com.huawei.cloud.servicestage.eclipse.commands.configureCommand"
icon="icons/config.png"
tooltip="Configure">
</command>
<command
id="com.huawei.cloud.servicestage.eclipse.toolbars.deployCommand"
commandId="com.huawei.cloud.servicestage.eclipse.commands.deployCommand"
icon="icons/deploy.png"
tooltip="Deploy">
<visibleWhen>
<or>
<with variable="selection">
<iterate ifEmpty="false">
<reference definitionId="com.huawei.cloud.servicestage.eclipse.extensionTest"/>
</iterate>
</with>
</or>
</visibleWhen>
</command>
<command
id="com.huawei.cloud.servicestage.eclipse.toolbars.statusCommand"
commandId="com.huawei.cloud.servicestage.eclipse.commands.statusCommand"
icon="icons/status.png"
tooltip="Status">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
id="com.huawei.cloud.servicestage.eclipse.menus.servicestage"
label="%menus.servicestage.label"
icon="icons/servicestage.png"
mnemonic="S">
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.configureCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.configureCommand"
icon="icons/config.png"
mnemonic="C">
</command>
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.deployCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.deployCommand"
icon="icons/deploy.png"
mnemonic="D">
<visibleWhen>
<or>
<with variable="activeMenuSelection">
<iterate ifEmpty="false">
<reference definitionId="com.huawei.cloud.servicestage.eclipse.extensionTest"/>
</iterate>
</with>
</or>
</visibleWhen>
</command>
<command
commandId="com.huawei.cloud.servicestage.eclipse.commands.statusCommand"
id="com.huawei.cloud.servicestage.eclipse.menus.statusCommand"
icon="icons/status.png"
mnemonic="S">
</command>
</menu>
</menuContribution>
</extension>
</plugin>