Implemented text box element for network maps. Fixes #NX-662
[public/netxms.git] / src / java / netxms-eclipse / NetworkMaps / 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.networkmaps.imageproviders" name="Network Map Image Providers" schema="schema/org.netxms.ui.eclipse.networkmaps.imageproviders.exsd"/>
5 <extension-point id="org.netxms.ui.eclipse.networkmaps.objectDoubleClickHandlers" name="Object Double Click Handlers" schema="schema/org.netxms.ui.eclipse.networkmaps.objectDoubleClickHandlers.exsd"/>
6
7 <extension
8 point="org.eclipse.ui.views">
9 <view
10 allowMultiple="true"
11 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
12 class="org.netxms.ui.eclipse.networkmaps.views.IPNeighbors"
13 icon="icons/quickmap.png"
14 id="org.netxms.ui.eclipse.networkmaps.view.ip_neighbors"
15 name="%view.name.IPNeighbors"
16 restorable="true">
17 </view>
18 <view
19 allowMultiple="true"
20 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
21 class="org.netxms.ui.eclipse.networkmaps.views.ServiceDependency"
22 icon="icons/service_deps.gif"
23 id="org.netxms.ui.eclipse.networkmaps.views.ServiceDependency"
24 name="%view.name.ServiceDeps">
25 </view>
26 <view
27 allowMultiple="true"
28 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
29 class="org.netxms.ui.eclipse.networkmaps.views.ServiceComponents"
30 icon="icons/service_components.gif"
31 id="org.netxms.ui.eclipse.networkmaps.views.ServiceComponents"
32 name="%view.name.ServiceComponents"
33 restorable="true">
34 </view>
35 <view
36 allowMultiple="true"
37 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
38 class="org.netxms.ui.eclipse.networkmaps.views.Layer2Topology"
39 icon="icons/layer2.png"
40 id="org.netxms.ui.eclipse.networkmaps.views.Layer2Topology"
41 name="%view.name.L2Topology"
42 restorable="true">
43 </view>
44 <category
45 id="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
46 name="%category.name.NetworkMaps">
47 </category>
48 <view
49 allowMultiple="true"
50 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
51 class="org.netxms.ui.eclipse.networkmaps.views.PredefinedMap"
52 icon="icons/netmap.png"
53 id="org.netxms.ui.eclipse.networkmaps.views.PredefinedMap"
54 name="%view.name.NetworkMap"
55 restorable="true">
56 </view>
57 <view
58 allowMultiple="true"
59 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
60 class="org.netxms.ui.eclipse.networkmaps.views.VlanMap"
61 icon="icons/quickmap.png"
62 id="org.netxms.ui.eclipse.networkmaps.views.VlanMap"
63 name="%view.name.VlanMap"
64 restorable="true">
65 </view>
66 <view
67 allowMultiple="true"
68 category="org.netxms.ui.eclipse.networkmaps.viewCategory.networkmaps"
69 class="org.netxms.ui.eclipse.networkmaps.views.IPRouteMap"
70 icon="icons/route.gif"
71 id="org.netxms.ui.eclipse.networkmaps.views.IPRouteMap"
72 name="%view.name.IPRoute"
73 restorable="true">
74 </view>
75 </extension>
76
77 <extension
78 point="org.netxms.ui.eclipse.objectview.tabs">
79 <tab
80 class="org.netxms.ui.eclipse.networkmaps.objecttabs.ClusterTab"
81 icon="icons/cluster.png"
82 id="org.netxms.ui.eclipse.networkmaps.objecttabs.ClusterTab"
83 name="%tab.name.Cluster"
84 order="15">
85 </tab>
86 </extension>
87
88 <extension
89 point="org.eclipse.ui.popupMenus">
90 <objectContribution
91 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.Node"
92 objectClass="org.netxms.client.objects.Node">
93 <action
94 class="org.netxms.ui.eclipse.networkmaps.actions.ShowIPNeighbors"
95 enablesFor="1"
96 id="org.netxms.ui.eclipse.quickmaps.popupActions.ShowIPNeighbors"
97 label="%action.label.IPNeighbors"
98 icon="icons/quickmap.png"
99 menubarPath="TopologySubmenu/ip">
100 </action>
101 <action
102 class="org.netxms.ui.eclipse.networkmaps.actions.ShowLayer2Topology"
103 enablesFor="1"
104 icon="icons/layer2.png"
105 id="org.netxms.ui.eclipse.quickmaps.popupActions.ShowLayer2Topology"
106 label="%action.label.L2Topology"
107 menubarPath="TopologySubmenu/mac">
108 </action>
109 <action
110 class="org.netxms.ui.eclipse.networkmaps.actions.ShowServiceDependency"
111 enablesFor="1"
112 icon="icons/service_deps.gif"
113 id="org.netxms.ui.eclipse.networkmaps.popupActions.ShowServiceDependency#node"
114 label="%action.label.ServiceDeps"
115 menubarPath="additions">
116 </action>
117 <action
118 class="org.netxms.ui.eclipse.networkmaps.actions.ShowIPRouteTo"
119 enablesFor="1"
120 icon="icons/route.gif"
121 id="org.netxms.ui.eclipse.quickmaps.popupActions.ShowIPRoute"
122 label="%action.label.IPRouteTo"
123 menubarPath="TopologySubmenu/ip"
124 tooltip="Show IP route from remote node to currently selected node">
125 </action>
126 <action
127 class="org.netxms.ui.eclipse.networkmaps.actions.ShowIPRouteFrom"
128 enablesFor="1"
129 icon="icons/route.gif"
130 id="org.netxms.ui.eclipse.quickmaps.popupActions.ShowIPRoute"
131 label="%action.label.IPRouteFrom"
132 menubarPath="TopologySubmenu/ip"
133 tooltip="Show IP route from remote node to currently selected node">
134 </action>
135 </objectContribution>
136 <objectContribution
137 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.Cluster"
138 objectClass="org.netxms.client.objects.Cluster">
139 <action
140 class="org.netxms.ui.eclipse.networkmaps.actions.ShowServiceDependency"
141 enablesFor="1"
142 id="org.netxms.ui.eclipse.networkmaps.popupActions.ShowServiceDependency#cluster"
143 label="%action.label.ServiceDeps"
144 icon="icons/service_deps.gif"
145 menubarPath="additions">
146 </action>
147 </objectContribution>
148 <objectContribution
149 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.Container"
150 objectClass="org.netxms.client.objects.Container">
151 <action
152 class="org.netxms.ui.eclipse.networkmaps.actions.ShowServiceDependency"
153 enablesFor="1"
154 id="org.netxms.ui.eclipse.networkmaps.popupActions.ShowServiceDependency#container"
155 label="%action.label.ServiceDeps"
156 icon="icons/service_deps.gif"
157 menubarPath="additions">
158 </action>
159 <action
160 class="org.netxms.ui.eclipse.networkmaps.actions.ShowServiceComponents"
161 enablesFor="1"
162 icon="icons/service_components.gif"
163 id="org.netxms.ui.eclipse.networkmaps.popupActions.ShowServiceComponents#container"
164 label="%action.label.ServiceComponents"
165 menubarPath="additions">
166 </action>
167 </objectContribution>
168 <objectContribution
169 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.ServiceRoot"
170 objectClass="org.netxms.client.objects.ServiceRoot">
171 <action
172 class="org.netxms.ui.eclipse.networkmaps.actions.ShowServiceComponents"
173 enablesFor="1"
174 icon="icons/service_components.gif"
175 id="org.netxms.ui.eclipse.networkmaps.popupActions.ShowServiceComponents#serviceroot"
176 label="%action.label.ServiceComponents"
177 menubarPath="additions">
178 </action>
179 </objectContribution>
180 <objectContribution
181 adaptable="false"
182 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.NetworkMapRoot"
183 objectClass="org.netxms.client.objects.NetworkMapRoot">
184 <action
185 class="org.netxms.ui.eclipse.networkmaps.actions.CreateMapGroup"
186 enablesFor="1"
187 id="org.netxms.ui.eclipse.networkmaps.popupActions.CreateMapGroup#NetworkMapRoot"
188 label="%action.label.CreateMapGroup"
189 menubarPath="CreateObjectSubmenu/additions">
190 </action>
191 <action
192 class="org.netxms.ui.eclipse.networkmaps.actions.CreateNetworkMap"
193 enablesFor="1"
194 id="org.netxms.ui.eclipse.networkmaps.popupActions.CreateMap#NetworkMapRoot"
195 label="%action.label.CreateMap"
196 menubarPath="CreateObjectSubmenu/additions">
197 </action>
198 </objectContribution>
199 <objectContribution
200 adaptable="false"
201 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.NetworkMapGroup"
202 objectClass="org.netxms.client.objects.NetworkMapGroup">
203 <action
204 class="org.netxms.ui.eclipse.networkmaps.actions.CreateMapGroup"
205 enablesFor="1"
206 id="org.netxms.ui.eclipse.networkmaps.popupActions.CreateMapGroup#NetworkMapGroup"
207 label="%action.label.CreateMapGroup"
208 menubarPath="CreateObjectSubmenu/additions">
209 </action>
210 <action
211 class="org.netxms.ui.eclipse.networkmaps.actions.CreateNetworkMap"
212 enablesFor="1"
213 id="org.netxms.ui.eclipse.networkmaps.popupActions.CreateMap#NetworkMapGroup"
214 label="%action.label.CreateMap"
215 menubarPath="CreateObjectSubmenu/additions">
216 </action>
217 </objectContribution>
218 <objectContribution
219 adaptable="false"
220 id="org.netxms.ui.eclipse.networkmaps.actions.popup.object.NetworkMap"
221 objectClass="org.netxms.client.objects.NetworkMap">
222 <action
223 class="org.netxms.ui.eclipse.networkmaps.actions.OpenMapObject"
224 enablesFor="1"
225 id="org.netxms.ui.eclipse.networkmaps.popupActions.Open#NetworkMap"
226 label="%action.label.OpenMap"
227 menubarPath="additions">
228 </action>
229 <action
230 class="org.netxms.ui.eclipse.networkmaps.actions.CloneNetworkMap"
231 id="org.netxms.ui.eclipse.networkmaps.popupActions.Clone"
232 label="%action.label.Clone"
233 menubarPath="additions">
234 </action>
235 </objectContribution>
236 </extension>
237 <extension
238 point="org.eclipse.ui.preferencePages">
239 <page
240 class="org.netxms.ui.eclipse.networkmaps.preferencepages.GeneralMapPreferences"
241 id="org.netxms.ui.eclipse.networkmaps.preferencepages.General"
242 name="%page.name.NetMaps">
243 </page>
244 </extension>
245 <extension
246 point="org.eclipse.ui.propertyPages">
247 <page
248 class="org.netxms.ui.eclipse.networkmaps.propertypages.MapOptions"
249 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapOptions"
250 name="%page.name.MapOptions">
251 <enabledWhen>
252 <instanceof
253 value="org.netxms.client.objects.NetworkMap">
254 </instanceof>
255 </enabledWhen>
256 </page>
257 <page
258 class="org.netxms.ui.eclipse.networkmaps.propertypages.MapObjectFilter"
259 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapObjectFilter"
260 name="%page.name.ObjectFilter">
261 <enabledWhen>
262 <instanceof
263 value="org.netxms.client.objects.NetworkMap">
264 </instanceof>
265 </enabledWhen>
266 </page>
267 <page
268 class="org.netxms.ui.eclipse.networkmaps.propertypages.MapBackground"
269 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapBackground"
270 name="%page.name.MapBkgnd">
271 <enabledWhen>
272 <instanceof
273 value="org.netxms.client.objects.NetworkMap">
274 </instanceof>
275 </enabledWhen>
276 </page>
277 <page
278 class="org.netxms.ui.eclipse.networkmaps.propertypages.MapLinkGeneral"
279 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapLinkGeneral#0"
280 name="%page.name.General">
281 <enabledWhen>
282 <instanceof
283 value="org.netxms.ui.eclipse.networkmaps.views.helpers.LinkEditor">
284 </instanceof>
285 </enabledWhen>
286 </page>
287 <page
288 class="org.netxms.ui.eclipse.networkmaps.propertypages.LinkDataSources"
289 id="org.netxms.ui.eclipse.networkmaps.propertypages.DataSourcaes"
290 name="%page.name.DataSources">
291 <enabledWhen>
292 <instanceof
293 value="org.netxms.ui.eclipse.networkmaps.views.helpers.LinkEditor">
294 </instanceof>
295 </enabledWhen>
296 </page>
297 <page
298 class="org.netxms.ui.eclipse.networkmaps.propertypages.DCIContainerDataSources"
299 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapDCIContainerDataSource"
300 name="%page.name.DataSource">
301 <enabledWhen>
302 <instanceof
303 value="org.netxms.client.maps.elements.NetworkMapDCIContainer">
304 </instanceof>
305 </enabledWhen>
306 </page>
307 <page
308 class="org.netxms.ui.eclipse.networkmaps.propertypages.GeneralDCIContainerPropertyPage"
309 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapDCIContainerGeneral#0"
310 name="%page.name.General">
311 <enabledWhen>
312 <instanceof
313 value="org.netxms.client.maps.elements.NetworkMapDCIContainer">
314 </instanceof>
315 </enabledWhen>
316 </page>
317 <page
318 class="org.netxms.ui.eclipse.networkmaps.propertypages.GeneralDCIImagePropertyPage"
319 id="org.netxms.ui.eclipse.networkmaps.propertypages.MapDCIImageGeneral#0"
320 name="%page.name.General">
321 <enabledWhen>
322 <instanceof
323 value="org.netxms.client.maps.elements.NetworkMapDCIImage">
324 </instanceof>
325 </enabledWhen>
326 </page>
327 <page
328 class="org.netxms.ui.eclipse.networkmaps.propertypages.DCIImageRuleList"
329 id="org.netxms.ui.eclipse.networkmaps.propertypages.DCIImageRuleList"
330 name="%page.name.Rules">
331 <enabledWhen>
332 <instanceof
333 value="org.netxms.client.maps.elements.NetworkMapDCIImage">
334 </instanceof>
335 </enabledWhen>
336 </page>
337 <page
338 class="org.netxms.ui.eclipse.networkmaps.propertypages.GeneralTextBox"
339 id="org.netxms.ui.eclipse.networkmaps.propertypages.GeneralTextBox#0"
340 name="General">
341 <enabledWhen>
342 <instanceof
343 value="org.netxms.client.maps.elements.NetworkMapTextBox">
344 </instanceof>
345 </enabledWhen>
346 </page>
347 </extension>
348 <extension
349 point="org.eclipse.ui.bindings">
350 <key
351 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.AddObject"
352 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
353 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
354 sequence="M1+M3+A">
355 </key>
356 <key
357 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.LinkObjects"
358 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
359 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
360 sequence="M1+L">
361 </key>
362 <key
363 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.Remove"
364 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
365 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
366 sequence="M1+R">
367 </key>
368 <key
369 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomIn"
370 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
371 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
372 sequence="M1+=">
373 </key>
374 <key
375 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomIn"
376 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
377 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
378 sequence="NUMPAD_ADD">
379 </key>
380 <key
381 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomOut"
382 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
383 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
384 sequence="M1+-">
385 </key>
386 <key
387 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomOut"
388 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
389 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
390 sequence="NUMPAD_SUBTRACT">
391 </key>
392 <key
393 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.Zoom100Pct"
394 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
395 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
396 sequence="M1+0">
397 </key>
398 <key
399 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomToFit"
400 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
401 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
402 sequence="M1+F">
403 </key>
404 <key
405 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.AlignToGrid"
406 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
407 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
408 sequence="M1+M3+G">
409 </key>
410 <key
411 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ShowGrid"
412 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
413 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
414 sequence="M1+G">
415 </key>
416 <key
417 commandId="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.SelectAllObjects"
418 contextId="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
419 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
420 sequence="M1+A">
421 </key>
422 </extension>
423 <extension
424 point="org.eclipse.ui.commands">
425 <command
426 description="%command.description.AddObj"
427 id="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.AddObject"
428 name="%command.name.AddObj">
429 </command>
430 <command
431 description="%command.description.LinkObj"
432 id="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.LinkObjects"
433 name="%command.name.LinkObj">
434 </command>
435 <command
436 description="%command.description.Remove"
437 id="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.Remove"
438 name="%command.name.Remove">
439 </command>
440 <command
441 id="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.AddDCIContainer"
442 name="%command.name.AddDCIContainer">
443 </command>
444 <command
445 id="org.netxms.ui.eclipse.networkmaps.localCommands.PredefinedMap.AddDCIImage"
446 name="%command.name.AddDCIImage">
447 </command>
448 <command
449 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomIn"
450 name="%command.name.ZoomIn">
451 </command>
452 <command
453 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomOut"
454 name="%command.name.ZoomOut">
455 </command>
456 <command
457 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.Zoom100Pct"
458 name="%command.name.Zoom100Pct">
459 </command>
460 <command
461 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ZoomToFit"
462 name="%command.name.ZoomToFit">
463 </command>
464 <command
465 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.AlignToGrid"
466 name="%command.name.AlignToGrid">
467 </command>
468 <command
469 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.ShowGrid"
470 name="%command.name.ShowGrid">
471 </command>
472 <command
473 id="org.netxms.ui.eclipse.networkmaps.localCommands.AbstractMap.SelectAllObjects"
474 name="%command.name.SelectAll">
475 </command>
476 </extension>
477 <extension
478 point="org.netxms.ui.eclipse.objectbrowser.objectOpenHandlers">
479 <handler
480 class="org.netxms.ui.eclipse.networkmaps.NetworkMapOpenHandler"
481 enabledFor="org.netxms.client.objects.NetworkMap"
482 priority="10">
483 </handler>
484 </extension>
485 <extension
486 point="org.eclipse.core.runtime.preferences">
487 <initializer
488 class="org.netxms.ui.eclipse.networkmaps.PreferenceInitializer">
489 </initializer>
490 </extension>
491 <extension
492 point="org.eclipse.ui.contexts">
493 <context
494 id="org.netxms.ui.eclipse.networkmaps.context.NetworkMaps"
495 name="Network Maps"
496 parentId="org.eclipse.ui.contexts.window">
497 </context>
498 </extension>
499
500 </plugin>