Changelog update
[public/netxms.git] / src / java / netxms-eclipse / Dashboard / plugin.xml
CommitLineData
4cd1e46b
AK
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<plugin>
4
5 <extension
6 point="org.eclipse.ui.perspectives">
7 <perspective
8 name="%perspective.name.Dashboard"
9 icon="icons/dashboard.png"
10 class="org.netxms.ui.eclipse.dashboard.perspectives.DashboardPerspective"
11 id="org.netxms.ui.eclipse.dashboard.DashboardPerspective">
12 </perspective>
13 </extension>
14 <extension
15 point="org.eclipse.ui.popupMenus">
16 <objectContribution
17 adaptable="false"
18 id="org.netxms.ui.eclipse.dashboard.actions.popup.object.DashboardRoot"
19 objectClass="org.netxms.client.objects.DashboardRoot">
4cd1e46b
AK
20 <action
21 class="org.netxms.ui.eclipse.dashboard.actions.ImportDashboard"
22 enablesFor="1"
23 icon="icons/import.gif"
24 id="org.netxms.ui.eclipse.dashboard.actions.ImportDashboard#DashboardRoot"
25 label="%action.label.ImportDashboard"
26 menubarPath="objectcreation">
27 </action>
c4ca0ae5
VK
28 <action
29 class="org.netxms.ui.eclipse.dashboard.actions.CreateDashboard"
30 enablesFor="1"
31 id="org.netxms.ui.eclipse.dashboard.popupActions.CreateDashboard#DashboardRoot"
d28084ec
EJ
32 label="&amp;Dashboard..."
33 menubarPath="CreateObjectSubmenu/additions">
34 </action>
35 <action
36 class="org.netxms.ui.eclipse.dashboard.actions.CreateDashboardGroup"
37 enablesFor="1"
38 id="org.netxms.ui.eclipse.dashboard.popupActions.CreateDashboardGroup#DashboardRoot"
39 label="Dashboard &amp;group..."
40 menubarPath="CreateObjectSubmenu/additions">
c4ca0ae5 41 </action>
4cd1e46b
AK
42 </objectContribution>
43 <objectContribution
44 adaptable="false"
45 id="org.netxms.ui.eclipse.dashboard.actions.popup.object.Dashboard"
46 objectClass="org.netxms.client.objects.Dashboard">
47 <action
48 class="org.netxms.ui.eclipse.dashboard.actions.CreateDashboard"
49 enablesFor="1"
50 id="org.netxms.ui.eclipse.dashboard.popupActions.CreateDashboard#Dashboard"
51 label="%action.label.CreateDashboard"
52 menubarPath="objectcreation">
53 </action>
54 <action
55 class="org.netxms.ui.eclipse.dashboard.actions.OpenDashboard"
56 enablesFor="1"
57 id="org.netxms.ui.eclipse.dashboard.popupActions.OpenDashboard"
58 label="%action.label.OpenDashboard"
59 menubarPath="additions">
60 </action>
61 <action
62 class="org.netxms.ui.eclipse.dashboard.actions.CloneDashboard"
63 id="org.netxms.ui.eclipse.dashboard.popupActions.CloneDashboard"
64 label="%action.label.CloneDashboard"
65 menubarPath="additions">
66 </action>
67 <action
68 class="org.netxms.ui.eclipse.dashboard.actions.ExportDashboard"
69 icon="icons/export.gif"
70 id="org.netxms.ui.eclipse.dashboard.actions.ExportDashboard"
71 label="%action.label.Export"
72 menubarPath="additions">
73 </action>
74 </objectContribution>
d28084ec
EJ
75 <objectContribution
76 adaptable="false"
77 id="org.netxms.ui.eclipse.dashboard.actions.popup.object.DashboardGroup"
78 objectClass="org.netxms.client.objects.DashboardGroup">
79 <action
80 class="org.netxms.ui.eclipse.dashboard.actions.CreateDashboardGroup"
81 enablesFor="1"
82 id="org.netxms.ui.eclipse.dashboard.popupActions.CreateDashboardGroup#DashboardGroup"
83 label="Dashboard &amp;group..."
84 menubarPath="CreateObjectSubmenu/additions">
85 </action>
86 <action
87 class="org.netxms.ui.eclipse.dashboard.actions.CreateDashboard"
88 enablesFor="1"
89 id="org.netxms.ui.eclipse.dashboard.popupActions.CreateDashboard#DashboardGroup"
90 label="&amp;Dashboard..."
91 menubarPath="CreateObjectSubmenu/additions">
92 </action>
93 </objectContribution>
4cd1e46b
AK
94 </extension>
95 <extension
96 point="org.eclipse.ui.views">
97 <view
98 allowMultiple="true"
99 class="org.netxms.ui.eclipse.dashboard.views.DashboardView"
100 icon="icons/dashboard.png"
101 id="org.netxms.ui.eclipse.dashboard.views.DashboardView"
102 name="%view.name.Dashboard"
103 restorable="true">
104 </view>
105 <view
106 allowMultiple="false"
107 class="org.netxms.ui.eclipse.dashboard.views.DashboardNavigator"
108 icon="icons/dashboard_nav.gif"
109 id="org.netxms.ui.eclipse.dashboard.views.DashboardNavigator"
110 name="%view.name.DashboardNavigator"
111 restorable="true">
112 </view>
113 <view
114 allowMultiple="false"
115 class="org.netxms.ui.eclipse.dashboard.views.DashboardDynamicView"
116 icon="icons/dashboard.png"
117 id="org.netxms.ui.eclipse.dashboard.views.DashboardDynamicView"
118 name="%view.name.Dashboard"
119 restorable="true">
120 </view>
121 </extension>
122 <extension
123 point="org.eclipse.ui.propertyPages">
124 <page
125 class="org.netxms.ui.eclipse.dashboard.propertypages.DashboardElements"
126 id="org.netxms.ui.eclipse.dashboard.propertypages.DashboardElements"
127 name="%page.name.DashboardElements">
128 <enabledWhen>
129 <instanceof
130 value="org.netxms.client.objects.Dashboard">
131 </instanceof>
132 </enabledWhen>
133 </page>
134 <page
135 class="org.netxms.ui.eclipse.dashboard.propertypages.Layout"
136 id="org.netxms.ui.eclipse.dashboard.propertypages.Layout#100"
137 name="%page.name.Layout">
138 <enabledWhen>
139 <instanceof
140 value="org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig">
141 </instanceof>
142 </enabledWhen>
143 </page>
144 <page
145 class="org.netxms.ui.eclipse.dashboard.propertypages.LabelProperties"
146 id="org.netxms.ui.eclipse.dashboard.propertypages.LabelProperties#0"
147 name="%page.name.Label">
148 <enabledWhen>
149 <instanceof
150 value="org.netxms.ui.eclipse.dashboard.widgets.internal.LabelConfig">
151 </instanceof>
152 </enabledWhen>
153 </page>
154 <page
155 class="org.netxms.ui.eclipse.dashboard.propertypages.DataSources"
156 id="org.netxms.ui.eclipse.dashboard.propertypages.DataSources#20"
157 name="%page.name.DataSources">
158 <enabledWhen>
159 <instanceof
160 value="org.netxms.ui.eclipse.dashboard.widgets.internal.AbstractChartConfig">
161 </instanceof>
162 </enabledWhen>
163 </page>
164 <page
165 class="org.netxms.ui.eclipse.dashboard.propertypages.EmbeddedDashboard"
166 id="org.netxms.ui.eclipse.dashboard.propertypages.EmbeddedDashboard#0"
167 name="%page.name.Dashboard">
168 <enabledWhen>
169 <instanceof
170 value="org.netxms.ui.eclipse.dashboard.widgets.internal.EmbeddedDashboardConfig">
171 </instanceof>
172 </enabledWhen>
173 </page>
174 <page
175 class="org.netxms.ui.eclipse.dashboard.propertypages.AvailabilityChart"
176 id="org.netxms.ui.eclipse.dashboard.propertypages.AvailabilityChart#0"
177 name="%page.name.AvailChart">
178 <enabledWhen>
179 <instanceof
180 value="org.netxms.ui.eclipse.dashboard.widgets.internal.AvailabilityChartConfig">
181 </instanceof>
182 </enabledWhen>
183 </page>
184 <page
185 class="org.netxms.ui.eclipse.dashboard.propertypages.StatusIndicator"
186 id="org.netxms.ui.eclipse.dashboard.propertypages.StatusIndicator#0"
187 name="%page.name.StatusIndicator">
188 <enabledWhen>
189 <instanceof
190 value="org.netxms.ui.eclipse.dashboard.widgets.internal.StatusIndicatorConfig">
191 </instanceof>
192 </enabledWhen>
193 </page>
194 <page
195 class="org.netxms.ui.eclipse.dashboard.propertypages.ObjectStatusChart"
196 id="org.netxms.ui.eclipse.dashboard.propertypages.ObjectStatusChart#0"
197 name="%page.name.ObjStatusChart">
198 <enabledWhen>
199 <instanceof
200 value="org.netxms.ui.eclipse.dashboard.widgets.internal.ObjectStatusChartConfig">
201 </instanceof>
202 </enabledWhen>
203 </page>
204 <page
205 class="org.netxms.ui.eclipse.dashboard.propertypages.NetworkMap"
206 id="org.netxms.ui.eclipse.dashboard.propertypages.NetworkMap#0"
207 name="%page.name.NetworkMap">
208 <enabledWhen>
209 <instanceof
210 value="org.netxms.ui.eclipse.dashboard.widgets.internal.NetworkMapConfig">
211 </instanceof>
212 </enabledWhen>
213 </page>
214 <page
215 class="org.netxms.ui.eclipse.dashboard.propertypages.Gauge"
216 id="org.netxms.ui.eclipse.dashboard.propertypages.Gauge#10"
217 name="%page.name.Gauge">
218 <enabledWhen>
219 <instanceof
220 value="org.netxms.ui.eclipse.dashboard.widgets.internal.GaugeConfig">
221 </instanceof>
222 </enabledWhen>
223 </page>
224 <page
225 class="org.netxms.ui.eclipse.dashboard.propertypages.WebPage"
226 id="org.netxms.ui.eclipse.dashboard.propertypages.WebPage#0"
227 name="%page.name.WebPage">
228 <enabledWhen>
229 <instanceof
230 value="org.netxms.ui.eclipse.dashboard.widgets.internal.WebPageConfig">
231 </instanceof>
232 </enabledWhen>
233 </page>
234 <page
235 class="org.netxms.ui.eclipse.dashboard.propertypages.AlarmViewer"
236 id="org.netxms.ui.eclipse.dashboard.propertypages.AlarmViewer#0"
237 name="%page.name.AlarmViewer">
238 <enabledWhen>
239 <instanceof
240 value="org.netxms.ui.eclipse.dashboard.widgets.internal.AlarmViewerConfig">
241 </instanceof>
242 </enabledWhen>
243 </page>
244 <page
245 class="org.netxms.ui.eclipse.dashboard.propertypages.AbstractChart"
246 id="org.netxms.ui.eclipse.dashboard.propertypages.AbstractChart#0"
247 name="%page.name.Chart">
248 <enabledWhen>
249 <instanceof
250 value="org.netxms.ui.eclipse.dashboard.widgets.internal.AbstractChartConfig">
251 </instanceof>
252 </enabledWhen>
253 </page>
254 <page
255 class="org.netxms.ui.eclipse.dashboard.propertypages.TableDataSource"
256 id="org.netxms.ui.eclipse.dashboard.propertypages.TableDataSource#20"
257 name="%page.name.DataSource">
258 <enabledWhen>
259 <instanceof
260 value="org.netxms.ui.eclipse.dashboard.widgets.internal.TableComparisonChartConfig">
261 </instanceof>
262 </enabledWhen>
263 </page>
264 <page
265 class="org.netxms.ui.eclipse.dashboard.propertypages.TableComparisonChart"
266 id="org.netxms.ui.eclipse.dashboard.propertypages.TableComparisonChart#0"
267 name="%page.name.Chart">
268 <enabledWhen>
269 <instanceof
270 value="org.netxms.ui.eclipse.dashboard.widgets.internal.TableComparisonChartConfig">
271 </instanceof>
272 </enabledWhen>
273 </page>
274 <page
275 class="org.netxms.ui.eclipse.dashboard.propertypages.CustomWidget"
276 id="org.netxms.ui.eclipse.dashboard.propertypages.CustomWidget#0"
277 name="%page.name.CustomWidget">
278 <enabledWhen>
279 <instanceof
280 value="org.netxms.ui.eclipse.dashboard.widgets.internal.CustomWidgetConfig">
281 </instanceof>
282 </enabledWhen>
283 </page>
284 <page
285 class="org.netxms.ui.eclipse.dashboard.propertypages.GeoMap"
286 id="org.netxms.ui.eclipse.dashboard.propertypages.GeoMap#0"
287 name="%page.name.GeoMap">
288 <enabledWhen>
289 <instanceof
290 value="org.netxms.ui.eclipse.dashboard.widgets.internal.GeoMapConfig">
291 </instanceof>
292 </enabledWhen>
293 </page>
294 <page
295 class="org.netxms.ui.eclipse.dashboard.propertypages.SeparatorProperties"
296 id="org.netxms.ui.eclipse.dashboard.propertypages.SeparatorProperties#0"
297 name="%page.name.Separator">
298 <enabledWhen>
299 <instanceof
300 value="org.netxms.ui.eclipse.dashboard.widgets.internal.SeparatorConfig">
301 </instanceof>
302 </enabledWhen>
303 </page>
304 <page
305 class="org.netxms.ui.eclipse.dashboard.propertypages.TableValue"
306 id="org.netxms.ui.eclipse.dashboard.propertypages.TableValue#0"
307 name="%page.name.TableValue">
308 <enabledWhen>
309 <instanceof
310 value="org.netxms.ui.eclipse.dashboard.widgets.internal.TableValueConfig">
311 </instanceof>
312 </enabledWhen>
313 </page>
314 <page
315 class="org.netxms.ui.eclipse.dashboard.propertypages.StatusMap"
316 id="org.netxms.ui.eclipse.dashboard.propertypages.StatusMap#0"
317 name="%page.name.StatusMap">
318 <enabledWhen>
319 <instanceof
320 value="org.netxms.ui.eclipse.dashboard.widgets.internal.StatusMapConfig">
321 </instanceof>
322 </enabledWhen>
323 </page>
c72d38dc
VK
324 <page
325 class="org.netxms.ui.eclipse.dashboard.propertypages.DciSummaryTable"
326 id="org.netxms.ui.eclipse.dashboard.propertypages.DciSummaryTable#0"
327 name="%page.name.DciSummaryTable">
328 <enabledWhen>
329 <instanceof
330 value="org.netxms.ui.eclipse.dashboard.widgets.internal.DciSummaryTableConfig">
331 </instanceof>
332 </enabledWhen>
333 </page>
f1685c5c
EJ
334 <page
335 class="org.netxms.ui.eclipse.dashboard.propertypages.EventMonitor"
336 id="org.netxms.ui.eclipse.dashboard.propertypages.EventMonitor#0"
337 name="Event Monitor">
338 <enabledWhen>
339 <instanceof
340 value="org.netxms.ui.eclipse.dashboard.widgets.internal.EventMonitorConfig">
341 </instanceof>
342 </enabledWhen>
343 </page>
344 <page
345 class="org.netxms.ui.eclipse.dashboard.propertypages.SnmpTrapMonitor"
346 id="org.netxms.ui.eclipse.dashboard.propertypages.SnmpTrapMonitor#0"
347 name="SNMP trap monitor">
348 <enabledWhen>
349 <instanceof
350 value="org.netxms.ui.eclipse.dashboard.widgets.internal.SnmpTrapMonitorConfig">
351 </instanceof>
352 </enabledWhen>
353 </page>
354 <page
355 class="org.netxms.ui.eclipse.dashboard.propertypages.SyslogMonitor"
356 id="org.netxms.ui.eclipse.dashboard.propertypages.SyslogMonitor#0"
357 name="Syslog monitor">
358 <enabledWhen>
359 <instanceof
360 value="org.netxms.ui.eclipse.dashboard.widgets.internal.SyslogMonitorConfig">
361 </instanceof>
362 </enabledWhen>
363 </page>
3a3bd19f
EJ
364 <page
365 class="org.netxms.ui.eclipse.dashboard.propertypages.ServiceComponents"
366 id="org.netxms.ui.eclipse.dashboard.propertypages.ServiceComponents#0"
367 name="Service Components Map">
368 <enabledWhen>
369 <instanceof
370 value="org.netxms.ui.eclipse.dashboard.widgets.internal.ServiceComponentsConfig">
371 </instanceof>
372 </enabledWhen>
373 </page>
687779b0
EJ
374 <page
375 class="org.netxms.ui.eclipse.dashboard.propertypages.RackDiagram"
376 id="org.netxms.ui.eclipse.dashboard.propertypages.RackDiagram#0"
377 name="Rack Diagram">
378 <enabledWhen>
379 <instanceof
380 value="org.netxms.ui.eclipse.dashboard.widgets.internal.RackDiagramConfig">
381 </instanceof>
382 </enabledWhen>
383 </page>
4cd1e46b
AK
384 </extension>
385 <extension
386 point="org.eclipse.core.runtime.adapters">
387 <factory
388 adaptableType="org.netxms.client.dashboards.DashboardElement"
389 class="org.netxms.ui.eclipse.dashboard.DashboardElementAdapterFactory">
390 <adapter
391 type="org.netxms.ui.eclipse.dashboard.widgets.internal.DashboardElementConfig">
392 </adapter>
393 </factory>
394 </extension>
395 <extension
396 point="org.netxms.ui.eclipse.objectbrowser.objectOpenHandlers">
397 <handler
398 class="org.netxms.ui.eclipse.dashboard.DashboardOpenHandler"
399 enabledFor="org.netxms.client.objects.Dashboard"
400 priority="10">
401 </handler>
402 </extension>
0a618b1c
VK
403 <extension
404 point="org.eclipse.ui.contexts">
405 <context
406 id="org.netxms.ui.eclipse.dashboard.context.DashboardView"
407 name="Dashboard"
408 parentId="org.eclipse.ui.contexts.window">
409 </context>
410 </extension>
411 <extension
412 point="org.eclipse.ui.commands">
413 <command
414 id="org.netxms.ui.eclipse.dashboard.commands.export_line_chart_values"
415 name="Export line chart values">
416 </command>
417 </extension>
418 <extension
419 point="org.eclipse.ui.bindings">
420 <key
421 commandId="org.netxms.ui.eclipse.dashboard.commands.export_line_chart_values"
422 contextId="org.netxms.ui.eclipse.dashboard.context.DashboardView"
423 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
424 sequence="M1+F3">
425 </key>
426 </extension>
c77d509e
VK
427 <extension
428 point="org.eclipse.ui.menus">
429 <menuContribution
430 allPopups="false"
431 locationURI="popup:org.eclipse.ui.popup.any?after=datacollection">
432 <dynamic
433 class="org.netxms.ui.eclipse.dashboard.DashboardsDynamicMenu"
434 id="org.netxms.ui.eclipse.dashboard.DashboardsDynamicMenu">
435 <visibleWhen
436 checkEnabled="false">
437 <and>
438 <count
439 value="1">
440 </count>
441 <iterate
442 ifEmpty="false"
443 operator="and">
444 <and>
445 <or>
446 <instanceof
447 value="org.netxms.client.objects.Container">
448 </instanceof>
449 <instanceof
450 value="org.netxms.client.objects.ServiceRoot">
451 </instanceof>
452 <instanceof
453 value="org.netxms.client.objects.Subnet">
454 </instanceof>
455 <instanceof
456 value="org.netxms.client.objects.Cluster">
457 </instanceof>
458 <instanceof
459 value="org.netxms.client.objects.Zone">
460 </instanceof>
461 <instanceof
462 value="org.netxms.client.objects.EntireNetwork">
463 </instanceof>
464 <instanceof
465 value="org.netxms.client.objects.Node">
466 </instanceof>
467 <instanceof
468 value="org.netxms.client.objects.Condition">
469 </instanceof>
470 <instanceof
471 value="org.netxms.client.objects.MobileDevice">
472 </instanceof>
ce9e00cc
VK
473 <instanceof
474 value="org.netxms.client.objects.Sensor">
475 </instanceof>
c77d509e
VK
476 </or>
477 <test
478 forcePluginActivation="true"
479 property="org.netxms.ui.eclipse.dashboard.hasDashboards">
480 </test>
481 </and>
482 </iterate>
483 </and>
484 </visibleWhen>
485 </dynamic>
486 </menuContribution>
487 </extension>
488 <extension
489 point="org.eclipse.core.expressions.propertyTesters">
490 <propertyTester
491 class="org.netxms.ui.eclipse.dashboard.DashboardObjectPropertyTester"
492 id="org.netxms.ui.eclipse.dashboard.DashboardObjectPropertyTester"
493 namespace="org.netxms.ui.eclipse.dashboard"
494 properties="hasDashboards"
495 type="org.netxms.client.objects.AbstractObject">
496 </propertyTester>
497 </extension>
4cd1e46b
AK
498
499</plugin>