Collected DCI data recalculation based on stored raw values and current transformatio...
[public/netxms.git] / webui / webapp / DataCollection / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension-point id="org.netxms.ui.eclipse.datacollection.dciOpenHandlers" name="DCI Open Handlers" schema="schema/org.netxms.ui.eclipse.datacollection.dciOpenHandlers.exsd"/>
5
6 <extension
7 point="org.eclipse.ui.views">
8 <view
9 allowMultiple="true"
10 class="org.netxms.ui.eclipse.datacollection.views.DataCollectionEditor"
11 icon="icons/dc_editor.png"
12 id="org.netxms.ui.eclipse.datacollection.view.data_collection_editor"
13 name="%view.name.DataCollection"
14 restorable="false">
15 </view>
16 <view
17 name="%view.name.LastValues"
18 allowMultiple="true"
19 icon="icons/last_values.png"
20 class="org.netxms.ui.eclipse.datacollection.views.LastValues"
21 id="org.netxms.ui.eclipse.datacollection.view.last_values">
22 </view>
23 <view
24 allowMultiple="false"
25 category="org.netxms.ui.eclipse.viewcategory.config"
26 class="org.netxms.ui.eclipse.datacollection.views.SummaryTableManager"
27 icon="icons/summary_table.png"
28 id="org.netxms.ui.eclipse.datacollection.views.SummaryTableManager"
29 name="%view.name.DCISummaryTables"
30 restorable="true">
31 </view>
32 <view
33 allowMultiple="true"
34 class="org.netxms.ui.eclipse.datacollection.views.SummaryTable"
35 icon="icons/summary_table.png"
36 id="org.netxms.ui.eclipse.datacollection.views.SummaryTable"
37 name="%view.name.SummaryTable"
38 restorable="true">
39 </view>
40 </extension>
41
42 <extension
43 point="org.eclipse.ui.popupMenus">
44 <objectContribution
45 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.DataCollectionTarget"
46 objectClass="org.netxms.client.objects.DataCollectionTarget">
47 <action
48 class="org.netxms.ui.eclipse.datacollection.actions.OpenEditor"
49 enablesFor="1"
50 id="org.netxms.ui.eclipse.datacollection.popupActions.OpenEditor#DataCollectionTarget"
51 label="%action.label.DataCollection"
52 icon="icons/dc_editor.png"
53 menubarPath="datacollection">
54 </action>
55 <action
56 class="org.netxms.ui.eclipse.datacollection.actions.ShowLastValues"
57 enablesFor="1"
58 icon="icons/last_values.png"
59 id="org.netxms.ui.eclipse.datacollection.popupActions.ShowLastValues#DataCollectionTarget"
60 label="%action.label.LastValues"
61 menubarPath="datacollection">
62 </action>
63 </objectContribution>
64 <objectContribution
65 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.Template"
66 objectClass="org.netxms.client.objects.Template">
67 <action
68 class="org.netxms.ui.eclipse.datacollection.actions.OpenEditor"
69 enablesFor="1"
70 id="org.netxms.ui.eclipse.datacollection.popupActions.OpenEditor#Template"
71 label="%action.label.DataCollection"
72 icon="icons/dc_editor.png"
73 menubarPath="datacollection">
74 </action>
75 <action
76 class="org.netxms.ui.eclipse.datacollection.actions.RemoveTemplate"
77 enablesFor="1"
78 id="org.netxms.ui.eclipse.datacollection.popupActions.RemoveTemplate"
79 label="%action.label.Remove"
80 menubarPath="objectbinding"
81 style="push"
82 tooltip="%action.tooltip.Remove">
83 </action>
84 <action
85 class="org.netxms.ui.eclipse.datacollection.actions.ApplyTemplate"
86 enablesFor="+"
87 id="org.netxms.ui.eclipse.datacollection.popupActions.ApplyTemplate"
88 label="%action.label.Apply"
89 menubarPath="objectbinding"
90 style="push"
91 tooltip="%action.tooltip.Apply">
92 </action>
93 </objectContribution>
94 <objectContribution
95 adaptable="false"
96 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.TemplateRoot"
97 objectClass="org.netxms.client.objects.TemplateRoot">
98 <action
99 class="org.netxms.ui.eclipse.datacollection.actions.CreateTemplateGroup"
100 enablesFor="1"
101 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateTemplateGroup#TemplateRoot"
102 label="%action.label.CreateTemplateGroup"
103 menubarPath="CreateObjectSubmenu/additions">
104 </action>
105 <action
106 class="org.netxms.ui.eclipse.datacollection.actions.CreateTemplate"
107 enablesFor="1"
108 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateTemplate#TemplateRoot"
109 label="%action.label.CreateTemplate"
110 menubarPath="CreateObjectSubmenu/additions">
111 </action>
112 </objectContribution>
113 <objectContribution
114 adaptable="false"
115 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.TemplateGroup"
116 objectClass="org.netxms.client.objects.TemplateGroup">
117 <action
118 class="org.netxms.ui.eclipse.datacollection.actions.CreateTemplateGroup"
119 enablesFor="1"
120 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateTemplateGroup#TemplateGroup"
121 label="%action.label.CreateTemplateGroup"
122 menubarPath="CreateObjectSubmenu/additions">
123 </action>
124 <action
125 class="org.netxms.ui.eclipse.datacollection.actions.CreateTemplate"
126 enablesFor="1"
127 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateTemplate#TemplateGroup"
128 label="%action.label.CreateTemplate"
129 menubarPath="CreateObjectSubmenu/additions">
130 </action>
131 </objectContribution>
132 <objectContribution
133 adaptable="false"
134 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.Interface"
135 objectClass="org.netxms.client.objects.Interface">
136 <action
137 class="org.netxms.ui.eclipse.datacollection.actions.CreateInterfraceDci"
138 enablesFor="+"
139 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateInterfaceDci#Interface"
140 label="%action.label.CreateDCIs"
141 menubarPath="datacollection">
142 </action>
143 </objectContribution>
144 <objectContribution
145 adaptable="false"
146 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.DciValue"
147 objectClass="org.netxms.client.datacollection.DciValue">
148 <action
149 class="org.netxms.ui.eclipse.datacollection.actions.ClearCollectedData"
150 enablesFor="+"
151 icon="icons/clear.gif"
152 id="org.netxms.ui.eclipse.datacollection.popupActions.ClearCollectedData_DciValue"
153 label="%action.label.ClearData"
154 menubarPath="secondary">
155 </action>
156 <action
157 class="org.netxms.ui.eclipse.datacollection.actions.ForceDciPoll"
158 enablesFor="+"
159 id="org.netxms.ui.eclipse.datacollection.popupActions.ForceDCIPoll_DciValue"
160 label="Force DCI Poll"
161 menubarPath="secondary">
162 </action>
163 <action
164 class="org.netxms.ui.eclipse.datacollection.actions.StartDataRecalculation"
165 enablesFor="+"
166 id="org.netxms.ui.eclipse.datacollection.popupActions.RecalculateData_DciValue"
167 label="Start data &amp;recalculation"
168 menubarPath="secondary">
169 </action>
170 </objectContribution>
171 <objectContribution
172 adaptable="false"
173 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.DataCollectionObject"
174 objectClass="org.netxms.client.datacollection.DataCollectionObject">
175 <action
176 class="org.netxms.ui.eclipse.datacollection.actions.ClearCollectedData"
177 enablesFor="+"
178 icon="icons/clear.gif"
179 id="org.netxms.ui.eclipse.datacollection.popupActions.ClearCollectedData_DataCollectionObject"
180 label="%action.label.ClearData"
181 menubarPath="secondary">
182 </action>
183 <action
184 class="org.netxms.ui.eclipse.datacollection.actions.ForceDciPoll"
185 enablesFor="+"
186 id="org.netxms.ui.eclipse.datacollection.popupActions.ForceDCIPoll_DataCollectionObject"
187 label="Force DCI Poll"
188 menubarPath="secondary">
189 </action>
190 <action
191 class="org.netxms.ui.eclipse.datacollection.actions.StartDataRecalculation"
192 enablesFor="+"
193 id="org.netxms.ui.eclipse.datacollection.popupActions.RecalculateData_DataCollectionObject"
194 label="Start data &amp;recalculation"
195 menubarPath="secondary">
196 </action>
197 </objectContribution>
198 <objectContribution
199 adaptable="false"
200 id="org.netxms.ui.eclipse.datacollection.actions.popup.object.SnmpValue"
201 objectClass="org.netxms.client.snmp.SnmpValue">
202 <action
203 class="org.netxms.ui.eclipse.datacollection.actions.CreateSnmpDci"
204 enablesFor="+"
205 id="org.netxms.ui.eclipse.datacollection.popupActions.CreateSnmpDci#SnmpValue"
206 label="%action.label.CreateDCI"
207 menubarPath="additions">
208 </action>
209 </objectContribution>
210 </extension>
211
212 <extension
213 point="org.eclipse.ui.propertyPages">
214 <page
215 id="org.netxms.ui.eclipse.datacollection.propertypages.General#1"
216 name="%page.name.General"
217 class="org.netxms.ui.eclipse.datacollection.propertypages.General">
218 <enabledWhen>
219 <instanceof
220 value="org.netxms.client.datacollection.DataCollectionItem">
221 </instanceof>
222 </enabledWhen>
223 </page>
224 <page
225 class="org.netxms.ui.eclipse.datacollection.propertypages.GeneralTable"
226 id="org.netxms.ui.eclipse.datacollection.propertypages.GeneralTable#1"
227 name="%page.name.General">
228 <enabledWhen>
229 <instanceof
230 value="org.netxms.client.datacollection.DataCollectionTable">
231 </instanceof>
232 </enabledWhen>
233 </page>
234 <page
235 class="org.netxms.ui.eclipse.datacollection.propertypages.Comments"
236 id="org.netxms.ui.eclipse.datacollection.propertypages.Comments"
237 name="%page.name.Comments">
238 <enabledWhen>
239 <instanceof
240 value="org.netxms.client.datacollection.DataCollectionObject">
241 </instanceof>
242 </enabledWhen>
243 </page>
244 <page
245 id="org.netxms.ui.eclipse.datacollection.propertypages.CustomSchedule#10"
246 name="%page.name.CustomSchedule"
247 class="org.netxms.ui.eclipse.datacollection.propertypages.CustomSchedule">
248 <enabledWhen>
249 <instanceof
250 value="org.netxms.client.datacollection.DataCollectionObject">
251 </instanceof>
252 </enabledWhen>
253 </page>
254 <page
255 id="org.netxms.ui.eclipse.datacollection.propertypages.Transformation#20"
256 name="%page.name.Transformation"
257 class="org.netxms.ui.eclipse.datacollection.propertypages.Transformation">
258 <enabledWhen>
259 <instanceof
260 value="org.netxms.client.datacollection.DataCollectionObject">
261 </instanceof>
262 </enabledWhen>
263 </page>
264 <page
265 id="org.netxms.ui.eclipse.datacollection.propertypages.Thresholds#30"
266 name="%page.name.Thresholds"
267 class="org.netxms.ui.eclipse.datacollection.propertypages.Thresholds">
268 <enabledWhen>
269 <instanceof
270 value="org.netxms.client.datacollection.DataCollectionItem">
271 </instanceof>
272 </enabledWhen>
273 </page>
274 <page
275 class="org.netxms.ui.eclipse.datacollection.propertypages.TableColumns"
276 id="org.netxms.ui.eclipse.datacollection.propertypages.TableColumns#20"
277 name="%page.name.Columns">
278 <enabledWhen>
279 <instanceof
280 value="org.netxms.client.datacollection.DataCollectionTable">
281 </instanceof>
282 </enabledWhen>
283 </page>
284 <page
285 class="org.netxms.ui.eclipse.datacollection.propertypages.InstanceDiscovery"
286 id="org.netxms.ui.eclipse.datacollection.propertypages.InstanceDiscovery#50"
287 name="%page.name.InstanceDiscovery">
288 <enabledWhen>
289 <instanceof
290 value="org.netxms.client.datacollection.DataCollectionObject">
291 </instanceof>
292 </enabledWhen>
293 </page>
294 <page
295 class="org.netxms.ui.eclipse.datacollection.propertypages.OtherOptions"
296 id="org.netxms.ui.eclipse.datacollection.propertypages.NetworkMaps#110"
297 name="%page.name.OtherOptions">
298 <enabledWhen>
299 <instanceof
300 value="org.netxms.client.datacollection.DataCollectionItem">
301 </instanceof>
302 </enabledWhen>
303 </page>
304 <page
305 class="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableGeneral"
306 id="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableGeneral#0"
307 name="%page.name.General">
308 <enabledWhen>
309 <instanceof
310 value="org.netxms.client.datacollection.DciSummaryTable">
311 </instanceof>
312 </enabledWhen>
313 </page>
314 <page
315 class="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableFilter"
316 id="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableFilter#20"
317 name="%page.name.Filter">
318 <enabledWhen>
319 <instanceof
320 value="org.netxms.client.datacollection.DciSummaryTable">
321 </instanceof>
322 </enabledWhen>
323 </page>
324 <page
325 class="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableColumns"
326 id="org.netxms.ui.eclipse.datacollection.propertypages.SummaryTableColumns#10"
327 name="%page.name.Columns">
328 <enabledWhen>
329 <and>
330 <instanceof
331 value="org.netxms.client.datacollection.DciSummaryTable">
332 </instanceof>
333 <not>
334 <test
335 forcePluginActivation="true"
336 property="org.netxms.ui.eclipse.datacollection.isTableSource">
337 </test>
338 </not>
339 </and>
340 </enabledWhen>
341 </page>
342 <page
343 class="org.netxms.ui.eclipse.datacollection.propertypages.ClusterOptions"
344 id="org.netxms.ui.eclipse.datacollection.propertypages.ClusterOptions#4"
345 name="%page.name.Cluster">
346 <enabledWhen>
347 <and>
348 <instanceof
349 value="org.netxms.client.datacollection.DataCollectionObject">
350 </instanceof>
351 <or>
352 <test
353 forcePluginActivation="true"
354 property="org.netxms.ui.eclipse.datacollection.isClusterObject">
355 </test>
356 <test
357 forcePluginActivation="true"
358 property="org.netxms.ui.eclipse.datacollection.isTemplateObject">
359 </test>
360 </or>
361 </and>
362 </enabledWhen>
363 </page>
364 <page
365 class="org.netxms.ui.eclipse.datacollection.propertypages.TableThresholds"
366 id="org.netxms.ui.eclipse.datacollection.propertypages.TableThresholds#30"
367 name="%page.name.Thresholds">
368 <enabledWhen>
369 <instanceof
370 value="org.netxms.client.datacollection.DataCollectionTable">
371 </instanceof>
372 </enabledWhen>
373 </page>
374 </extension>
375
376 <extension
377 point="org.eclipse.core.runtime.adapters">
378 <factory
379 class="org.netxms.ui.eclipse.datacollection.DataCollectionAdapterFactory"
380 adaptableType="org.netxms.client.datacollection.DataCollectionObject">
381 <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
382 <adapter
383 type="org.netxms.ui.eclipse.datacollection.api.DataCollectionObjectEditor">
384 </adapter>
385 </factory>
386 </extension>
387
388 <extension
389 point="org.netxms.ui.eclipse.objectview.tabs">
390 <tab
391 class="org.netxms.ui.eclipse.datacollection.objecttabs.LastValues"
392 contextId="org.netxms.ui.eclipse.datacollection.context.LastValues"
393 icon="icons/last_values.png"
394 id="org.netxms.ui.eclipse.datacollection.objecttabs.LastValues"
395 name="%tab.name.LastValues"
396 order="30">
397 </tab>
398 <tab
399 class="org.netxms.ui.eclipse.datacollection.objecttabs.ThresholdSummary"
400 icon="icons/thresholds.gif"
401 id="org.netxms.ui.eclipse.datacollection.objecttabs.ThresholdSummary"
402 name="%tab.name.Thresholds"
403 order="30">
404 </tab>
405 </extension>
406 <extension
407 point="org.eclipse.ui.commands">
408 <command
409 description="%command.description.ToggleFilter"
410 id="org.netxms.ui.eclipse.datacollection.commands.show_dci_filter"
411 name="%command.name.ToggleFilter">
412 <defaultHandler
413 class="org.netxms.ui.eclipse.datacollection.actions.ToggleDCIFilterHandler">
414 <parameter
415 name="default"
416 value="default">
417 </parameter>
418 </defaultHandler>
419 <state
420 class="org.eclipse.jface.commands.ToggleState"
421 id="org.netxms.ui.eclipse.datacollection.commands.show_dci_filter.state">
422 </state>
423 </command>
424 <command
425 categoryId="org.netxms.ui.eclipse.console.category.views"
426 description="%command.description.SummaryTablesConfig"
427 id="org.netxms.ui.eclipse.datacollection.commands.open_dcisumtbl_manager"
428 name="%command.name.SummaryTablesConfig">
429 </command>
430 </extension>
431 <extension
432 point="org.eclipse.ui.bindings">
433 <key
434 commandId="org.netxms.ui.eclipse.datacollection.commands.show_dci_filter"
435 contextId="org.netxms.ui.eclipse.datacollection.context.LastValues"
436 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
437 sequence="M1+F2">
438 </key>
439 </extension>
440 <extension
441 point="org.eclipse.ui.contexts">
442 <context
443 id="org.netxms.ui.eclipse.datacollection.context.LastValues"
444 name="Last Values List"
445 parentId="org.eclipse.ui.contexts.window">
446 </context>
447 </extension>
448 <extension
449 point="org.eclipse.ui.menus">
450 <menuContribution
451 allPopups="false"
452 locationURI="menu:org.netxms.ui.eclipse.objectview.view.tabbed_object_view?after=additions">
453 <command
454 commandId="org.netxms.ui.eclipse.datacollection.commands.show_dci_filter"
455 label="%command.label.ShowDCIFilter"
456 style="toggle"
457 tooltip="%command.tooltip.ShowDCIFilter">
458 <visibleWhen
459 checkEnabled="false">
460 <with
461 variable="org.netxms.ui.eclipse.objectview.ActiveTab">
462 <instanceof
463 value="org.netxms.ui.eclipse.datacollection.objecttabs.LastValues">
464 </instanceof>
465 </with>
466 </visibleWhen>
467 </command>
468 </menuContribution>
469 </extension>
470 <extension
471 point="org.eclipse.ui.actionSets">
472 <actionSet
473 id="org.netxms.ui.eclipse.datacollection.actionSet"
474 label="%actionSet.label.DataCollection"
475 visible="true">
476 <action
477 class="org.netxms.ui.eclipse.datacollection.actions.OpenSummaryTablesManager"
478 definitionId="org.netxms.ui.eclipse.datacollection.commands.open_dcisumtbl_manager"
479 icon="icons/summary_table.png"
480 id="org.netxms.ui.eclipse.datacollection.actions.open_dcisumtbl_manager"
481 label="%action.label.SummaryTablesConfig"
482 menubarPath="config/additions"
483 style="push"
484 tooltip="%action.tooltip.SummaryTablesConfig">
485 </action>
486 </actionSet>
487 </extension>
488 <extension
489 point="org.netxms.ui.eclipse.loginlisteners">
490 <loginlistener
491 class="org.netxms.ui.eclipse.datacollection.LoginListener">
492 </loginlistener>
493 </extension>
494 <extension
495 point="org.eclipse.ui.menus">
496 <menuContribution
497 allPopups="false"
498 locationURI="popup:org.eclipse.ui.popup.any?after=datacollection">
499 <dynamic
500 class="org.netxms.ui.eclipse.datacollection.SummaryTablesDynamicMenu"
501 id="org.netxms.ui.eclipse.datacollection.SummaryTablesDynamicMenu">
502 <visibleWhen
503 checkEnabled="false">
504 <and>
505 <iterate
506 ifEmpty="false"
507 operator="and">
508 <or>
509 <instanceof
510 value="org.netxms.client.objects.Container">
511 </instanceof>
512 <instanceof
513 value="org.netxms.client.objects.ServiceRoot">
514 </instanceof>
515 <instanceof
516 value="org.netxms.client.objects.Subnet">
517 </instanceof>
518 <instanceof
519 value="org.netxms.client.objects.Cluster">
520 </instanceof>
521 <instanceof
522 value="org.netxms.client.objects.Zone">
523 </instanceof>
524 <instanceof
525 value="org.netxms.client.objects.EntireNetwork">
526 </instanceof>
527 </or>
528 </iterate>
529 <with
530 variable="org.netxms.ui.eclipse.datacollection.SummaryTablesExist">
531 <equals
532 value="true">
533 </equals>
534 </with>
535 </and>
536 </visibleWhen>
537 </dynamic>
538 </menuContribution>
539 </extension>
540 <extension
541 point="org.eclipse.core.expressions.propertyTesters">
542 <propertyTester
543 class="org.netxms.ui.eclipse.datacollection.DataCollectionObjectPropertyTester"
544 id="org.netxms.ui.eclipse.datacollection.DataCollectionObjectPropertyTester"
545 namespace="org.netxms.ui.eclipse.datacollection"
546 properties="isClusterObject,isTemplateObject"
547 type="org.netxms.client.datacollection.DataCollectionObject">
548 </propertyTester>
549 <propertyTester
550 class="org.netxms.ui.eclipse.datacollection.DciSummaryTablePropertyTester"
551 id="org.netxms.ui.eclipse.datacollection.SummaryTableDciPropertyTester"
552 namespace="org.netxms.ui.eclipse.datacollection"
553 properties="isTableSource"
554 type="org.netxms.client.datacollection.DciSummaryTable">
555 </propertyTester>
556 </extension>
557 <extension
558 point="org.eclipse.ui.services">
559 <sourceProvider
560 provider="org.netxms.ui.eclipse.datacollection.SourceProvider">
561 <variable
562 name="org.netxms.ui.eclipse.datacollection.SummaryTablesExist"
563 priorityLevel="workbench">
564 </variable>
565 </sourceProvider>
566 </extension>
567
568 </plugin>