added property tester for server components
[public/netxms.git] / webui / webapp / Core / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <extension-point id="org.netxms.ui.eclipse.loginlisteners" name="NXMC Login Listeners" schema="schema/org.netxms.ui.eclipse.loginlisteners.exsd"/>
5 <extension-point id="org.netxms.ui.eclipse.branding" name="NetXMS Console Branding" schema="schema/org.netxms.ui.eclipse.branding.exsd"/>
6 <extension-point id="org.netxms.ui.eclipse.sessionproviders" name="Session Providers" schema="schema/org.netxms.ui.eclipse.sessionproviders.exsd"/>
7 <extension-point id="org.netxms.ui.eclipse.colorproviders" name="Color Providers" schema="schema/org.netxms.ui.eclipse.colorproviders.exsd"/>
8 <extension
9 id="nxmc"
10 name="NetXMS Management Console"
11 point="org.eclipse.core.runtime.applications">
12 <application
13 thread="main"
14 cardinality="singleton-global"
15 visible="true">
16 <run
17 class="org.netxms.ui.eclipse.console.Application">
18 </run>
19 </application>
20 </extension>
21 <extension
22 point="org.eclipse.ui.perspectives">
23 <perspective
24 name="%perspective.default"
25 class="org.netxms.ui.eclipse.console.perspectives.ManagementPerspective"
26 id="org.netxms.ui.eclipse.console.ManagementPerspective">
27 </perspective>
28 </extension>
29
30 <extension
31 point="org.eclipse.ui.views">
32 <view
33 allowMultiple="false"
34 category="org.eclipse.ui"
35 class="org.eclipse.ui.ExtensionFactory:progressView"
36 icon="icons/pview.gif"
37 id="org.eclipse.ui.views.ProgressView"
38 name="%view.progress"
39 restorable="true">
40 </view>
41 <category
42 id="org.netxms.ui.eclipse.viewcategory.config"
43 name="%category.config">
44 </category>
45 <category
46 id="org.netxms.ui.eclipse.viewcategory.tools"
47 name="%category.tools">
48 </category>
49 </extension>
50 <extension point="org.eclipse.ui.preferencePages">
51 <page name="%page.workbench"
52 class="org.netxms.ui.eclipse.console.preferencepages.WorkbenchGeneralPrefs"
53 id="org.eclipse.ui.preferencePages.Workbench">
54 </page>
55 <page category="org.eclipse.ui.preferencePages.Workbench"
56 class="org.eclipse.ui.ExtensionFactory:perspectivesPreferencePage"
57 id="org.eclipse.ui.preferencePages.Perspectives"
58 name="%page.perspectives">
59 </page>
60 <page
61 name="%page.decorators"
62 category="org.eclipse.ui.preferencePages.Workbench"
63 class="org.eclipse.ui.ExtensionFactory:decoratorsPreferencePage"
64 id="org.eclipse.ui.preferencePages.Decorators">
65 </page>
66 <page
67 class="org.netxms.ui.eclipse.console.preferencepages.RegionalSettingsPrefPage"
68 id="org.netxms.ui.eclipse.preferencePages.RegionalSettings"
69 name="%page.regionalSettings">
70 </page>
71 </extension>
72 <extension
73 point="org.eclipse.ui.commands">
74 <command
75 description="%actionDescription.SendSMS"
76 id="org.netxms.ui.eclipse.console.commands.send_sms"
77 name="%action.SendSMS">
78 </command>
79 <command
80 description="Toggle Filter"
81 id="org.netxms.ui.eclipse.library.commands.show_filter"
82 name="Toggle Filter">
83 </command>
84 <command
85 description="%command.PauseTrace"
86 id="org.netxms.ui.eclipse.library.commands.pause_trace"
87 name="%command.PauseTrace">
88 </command>
89 <command
90 description="%command.description.Copy"
91 id="org.netxms.ui.eclipse.library.commands.copy"
92 name="%command.name.Copy">
93 </command>
94 <command
95 description="%command.description.Refresh"
96 id="org.netxms.ui.eclipse.library.commands.refresh"
97 name="%command.name.Refresh">
98 </command>
99 <command
100 description="%command.description.ExportCSV"
101 id="org.netxms.ui.eclipse.library.commands.export_to_csv_selection"
102 name="%command.name.ExportCSV">
103 </command>
104 <command
105 description="%command.description.ExportAllCSV"
106 id="org.netxms.ui.eclipse.library.commands.export_to_csv_all"
107 name="%command.name.ExportAllCSV">
108 </command>
109 <category
110 id="org.netxms.ui.eclipse.console.category.views"
111 name="%category.name.Views">
112 </category>
113 <category
114 id="org.netxms.ui.eclipse.console.category.tools"
115 name="%category.name.Tools">
116 </category>
117 </extension>
118 <extension
119 point="org.eclipse.ui.actionSets">
120 <actionSet
121 id="org.netxms.ui.eclipse.console.action_set"
122 label="%actionSet.core"
123 visible="true">
124 <action
125 class="org.netxms.ui.eclipse.console.actions.SendSMS"
126 definitionId="org.netxms.ui.eclipse.console.commands.send_sms"
127 id="org.netxms.ui.eclipse.console.actions.send_sms"
128 label="%action.SendSMS"
129 menubarPath="tools/additions">
130 </action>
131 </actionSet>
132 </extension>
133 <extension
134 point="org.eclipse.ui.bindings">
135 <key
136 commandId="org.netxms.ui.eclipse.console.commands.send_sms"
137 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
138 sequence="M1+M3+S">
139 </key>
140 <key
141 commandId="org.netxms.ui.eclipse.library.commands.show_filter"
142 contextId="org.netxms.ui.eclipse.library.context.AbstractTraceView"
143 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
144 sequence="M1+F2">
145 </key>
146 <key
147 commandId="org.netxms.ui.eclipse.library.commands.pause_trace"
148 contextId="org.netxms.ui.eclipse.library.context.AbstractTraceView"
149 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
150 sequence="PAUSE">
151 </key>
152 <key
153 commandId="org.netxms.ui.eclipse.library.commands.copy"
154 contextId="org.eclipse.ui.contexts.window"
155 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
156 sequence="M1+C">
157 </key>
158 <key
159 commandId="org.netxms.ui.eclipse.library.commands.refresh"
160 contextId="org.eclipse.ui.contexts.window"
161 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
162 sequence="F5">
163 </key>
164 <key
165 commandId="org.netxms.ui.eclipse.library.commands.export_to_csv_selection"
166 contextId="org.eclipse.ui.contexts.window"
167 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
168 sequence="M1+M3+X">
169 </key>
170 <key
171 commandId="org.netxms.ui.eclipse.library.commands.export_to_csv_all"
172 contextId="org.eclipse.ui.contexts.window"
173 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
174 sequence="M1+M3+A">
175 </key>
176 <key
177 commandId="org.eclipse.ui.file.closePart"
178 contextId="org.eclipse.ui.contexts.window"
179 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
180 sequence="M1+W">
181 </key>
182 <scheme
183 description="%scheme.description"
184 id="org.netxms.ui.eclipse.defaultKeyBinding"
185 name="%scheme.name">
186 </scheme>
187 </extension>
188 <extension
189 point="org.eclipse.ui.contexts">
190 <context
191 id="org.netxms.ui.eclipse.library.context.AbstractTraceView"
192 name="Abstract Trace View"
193 parentId="org.eclipse.ui.contexts.window">
194 </context>
195 </extension>
196 <extension
197 point="org.eclipse.ui.presentationFactories">
198 <factory
199 class="org.netxms.ui.eclipse.console.themes.classic.ClassicPresentationFactory"
200 id="org.netxms.ui.eclipse.console.factory.classic"
201 name="Classic Presentation Factory">
202 </factory>
203 <factory
204 class="org.netxms.ui.eclipse.console.themes.material.MaterialPresentationFactory"
205 id="org.netxms.ui.eclipse.console.factory.material"
206 name="Material Presentation Factory">
207 </factory>
208 </extension>
209 <extension
210 point="org.eclipse.core.runtime.adapters">
211 <factory
212 adaptableType="org.netxms.ui.eclipse.objects.ObjectWrapper"
213 class="org.netxms.ui.eclipse.objects.ObjectWrapperAdapterFactory">
214 <adapter
215 type="org.netxms.client.objects.AbstractObject">
216 </adapter>
217 </factory>
218 </extension>
219 <extension
220 point="org.eclipse.ui.services">
221 <sourceProvider
222 provider="org.netxms.ui.eclipse.console.SourceProvider">
223 <variable
224 name="org.netxms.access.AllScheduledTasks"
225 priorityLevel="workbench">
226 </variable>
227 <variable
228 name="org.netxms.access.ConfigureTraps"
229 priorityLevel="workbench">
230 </variable>
231 <variable
232 name="org.netxms.access.DeleteAlarms"
233 priorityLevel="workbench">
234 </variable>
235 <variable
236 name="org.netxms.access.EditEventConfiguration"
237 priorityLevel="workbench">
238 </variable>
239 <variable
240 name="org.netxms.access.EventProcessingPolicy"
241 priorityLevel="workbench">
242 </variable>
243 <variable
244 name="org.netxms.access.ManageActions"
245 priorityLevel="workbench">
246 </variable>
247 <variable
248 name="org.netxms.access.ManageAgentConfig"
249 priorityLevel="workbench">
250 </variable>
251 <variable
252 name="org.netxms.access.ManageServerFiles"
253 priorityLevel="workbench">
254 </variable>
255 <variable
256 name="org.netxms.access.ManageImageLibray"
257 priorityLevel="workbench">
258 </variable>
259 <variable
260 name="org.netxms.access.ManageMappingTables"
261 priorityLevel="workbench">
262 </variable>
263 <variable
264 name="org.netxms.access.ManagePackages"
265 priorityLevel="workbench">
266 </variable>
267 <variable
268 name="org.netxms.access.ManageScripts"
269 priorityLevel="workbench">
270 </variable>
271 <variable
272 name="org.netxms.access.ManageSessions"
273 priorityLevel="workbench">
274 </variable>
275 <variable
276 name="org.netxms.access.ManageSituations"
277 priorityLevel="workbench">
278 </variable>
279 <variable
280 name="org.netxms.access.ManageSummaryTables"
281 priorityLevel="workbench">
282 </variable>
283 <variable
284 name="org.netxms.access.ManageTools"
285 priorityLevel="workbench">
286 </variable>
287 <variable
288 name="org.netxms.access.ManageUsers"
289 priorityLevel="workbench">
290 </variable>
291 <variable
292 name="org.netxms.access.MobileDeviceLogin"
293 priorityLevel="workbench">
294 </variable>
295 <variable
296 name="org.netxms.access.OwnScheduledTasks"
297 priorityLevel="workbench">
298 </variable>
299 <variable
300 name="org.netxms.access.ReadServerFiles"
301 priorityLevel="workbench">
302 </variable>
303 <variable
304 name="org.netxms.access.RegisterAgents"
305 priorityLevel="workbench">
306 </variable>
307 <variable
308 name="org.netxms.access.ReportingServer"
309 priorityLevel="workbench">
310 </variable>
311 <variable
312 name="org.netxms.access.ScheduleFileUpload"
313 priorityLevel="workbench">
314 </variable>
315 <variable
316 name="org.netxms.access.ScheduleMaintenance"
317 priorityLevel="workbench">
318 </variable>
319 <variable
320 name="org.netxms.access.ScheduleScript"
321 priorityLevel="workbench">
322 </variable>
323 <variable
324 name="org.netxms.access.SendSMS"
325 priorityLevel="workbench">
326 </variable>
327 <variable
328 name="org.netxms.access.ServerConfig"
329 priorityLevel="workbench">
330 </variable>
331 <variable
332 name="org.netxms.access.ServerConsole"
333 priorityLevel="workbench">
334 </variable>
335 <variable
336 name="org.netxms.access.UnlinkIssues"
337 priorityLevel="workbench">
338 </variable>
339 <variable
340 name="org.netxms.access.UserScheduledTasks"
341 priorityLevel="workbench">
342 </variable>
343 <variable
344 name="org.netxms.access.ViewAuditLog"
345 priorityLevel="workbench">
346 </variable>
347 <variable
348 name="org.netxms.access.ViewEventConfiguration"
349 priorityLevel="workbench">
350 </variable>
351 <variable
352 name="org.netxms.access.ViewEventLog"
353 priorityLevel="workbench">
354 </variable>
355 <variable
356 name="org.netxms.access.ViewSyslog"
357 priorityLevel="workbench">
358 </variable>
359 <variable
360 name="org.netxms.access.ViewTrapLog"
361 priorityLevel="workbench">
362 </variable>
363 <variable
364 name="org.netxms.access.XMPPCommands"
365 priorityLevel="workbench">
366 </variable>
367 </sourceProvider>
368 </extension>
369 <extension
370 point="org.eclipse.ui.activities">
371 <activity
372 id="org.netxms.ui.eclipse.console.activity.SendSMS"
373 name="Send SMS">
374 <enabledWhen>
375 <with
376 variable="org.netxms.access.SendSMS">
377 <equals
378 value="true">
379 </equals>
380 </with></enabledWhen>
381 </activity>
382 <activityPatternBinding
383 activityId="org.netxms.ui.eclipse.console.activity.SendSMS"
384 isEqualityPattern="true"
385 pattern="org.netxms.webui.core/org.netxms.ui.eclipse.console.actions.send_sms">
386 </activityPatternBinding>
387 </extension>
388 <extension
389 point="org.eclipse.core.expressions.propertyTesters">
390 <propertyTester
391 class="org.netxms.ui.eclipse.console.ServerComponentPropertyTester"
392 id="org.netxms.ui.eclipse.console.ServerComponentPropertyTester"
393 namespace="org.netxms.ui.eclipse"
394 properties="isComponentRegistered"
395 type="java.lang.Object">
396 </propertyTester>
397 </extension>
398 <extension
399 point="org.eclipse.rap.ui.branding">
400 <branding
401 favicon="icons/favicon.png"
402 id="org.netxms.webui.design.branding.classic"
403 themeId="org.netxms.webui.design.theme.classic"
404 title="NetXMS Management Console">
405 <presentationFactory
406 id="org.netxms.ui.eclipse.console.factory.classic"
407 viewActionsVisible="true">
408 </presentationFactory>
409 </branding>
410 <branding
411 favicon="icons/favicon.png"
412 id="org.netxms.webui.design.branding.material"
413 themeId="org.netxms.webui.design.theme.material"
414 title="NetXMS Management Console">
415 <presentationFactory
416 defaultLayoutId="org.netxms.ui.eclipse.console.layouts.modern"
417 id="org.netxms.ui.eclipse.console.factory.material"
418 viewActionsVisible="true">
419 </presentationFactory>
420 </branding>
421 </extension>
422 <extension
423 point="org.eclipse.rap.ui.themes">
424 <theme
425 file="theme/classic.css"
426 id="org.netxms.webui.design.theme.classic"
427 name="Classic Theme">
428 </theme>
429 <theme
430 file="theme/material.css"
431 id="org.netxms.webui.design.theme.material"
432 name="Material Theme">
433 </theme>
434 </extension>
435 <extension
436 point="org.eclipse.rap.ui.entrypoint">
437 <entrypoint
438 applicationId="org.netxms.webui.core.nxmc"
439 brandingId="org.netxms.webui.design.branding.classic"
440 id="org.netxms.webui.entrypoint"
441 path="/nxmc">
442 </entrypoint>
443 <entrypoint
444 applicationId="org.netxms.webui.core.nxmc"
445 brandingId="org.netxms.webui.design.branding.material"
446 id="org.netxms.webui.entrypoint"
447 path="/nxmc2">
448 </entrypoint>
449 </extension>
450 <extension
451 point="org.eclipse.equinox.http.registry.servlets">
452 <servlet
453 alias="/"
454 class="org.netxms.ui.eclipse.console.RedirectServlet">
455 </servlet>
456 </extension>
457 <extension
458 point="org.eclipse.rap.ui.serviceHandler">
459 <serviceHandler
460 class="org.netxms.ui.eclipse.console.DownloadServiceHandler"
461 id="downloadServiceHandler">
462 </serviceHandler>
463 </extension>
464 <extension
465 id="product"
466 name="NetXMS Management Console"
467 point="org.eclipse.core.runtime.products">
468 <product
469 application="nxmc"
470 name="NetXMS Management Console">
471 <property
472 name="preferenceCustomization"
473 value="plugin_customization.ini">
474 </property>
475 </product>
476 </extension>
477 <extension
478 point="org.eclipse.rap.ui.resources">
479 <resource
480 class="org.netxms.ui.eclipse.console.LongTapHandlerScript"
481 id="org.netxms.ui.eclipse.console.LongTapHandlerScript">
482 </resource>
483 </extension>
484 <extension
485 point="org.eclipse.core.runtime.preferences">
486 <initializer
487 class="org.netxms.ui.eclipse.console.PreferenceInitializer">
488 </initializer>
489 </extension>
490 <extension
491 point="org.eclipse.rap.ui.layouts">
492 <layout
493 id="org.netxms.ui.eclipse.console.layouts.material"
494 name="Material Layout">
495 <layoutSet
496 class="org.netxms.ui.eclipse.console.themes.material.layout.Header"
497 id="org.netxms.ui.eclipse.console.themes.material.layout.Header"
498 name="Header">
499 </layoutSet>
500 </layout>
501 </extension>
502 </plugin>