ad253610ebbd237994005dd1c92fbb68b963dba9
[public/netxms.git] / webui / webapp / ObjectView / 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.objectview.tabs" name="Object Tabs" schema="schema/org.netxms.ui.eclipse.objectview.tabs.exsd"/>
5 <extension-point id="org.netxms.ui.eclipse.objectview.objectDetailsProvider" name="Object Details Provider" schema="schema/org.netxms.ui.eclipse.objectview.objectDetailsProvider.exsd"/>
6
7 <extension
8 point="org.eclipse.ui.views">
9 <view
10 name="%view.name.ObjectDetails"
11 allowMultiple="false"
12 icon="icons/object_details.png"
13 class="org.netxms.ui.eclipse.objectview.views.TabbedObjectView"
14 id="org.netxms.ui.eclipse.objectview.view.tabbed_object_view">
15 </view>
16 <view
17 allowMultiple="true"
18 class="org.netxms.ui.eclipse.objectview.views.ObjectStatusMapView"
19 id="org.netxms.ui.eclipse.objectview.views.ObjectStatusMapView"
20 name="%view.name.ObjectStatus"
21 restorable="true">
22 </view>
23 <view
24 allowMultiple="true"
25 class="org.netxms.ui.eclipse.objectview.views.SoftwareInventoryView"
26 icon="icons/software.png"
27 id="org.netxms.ui.eclipse.objectview.views.SoftwareInventoryView"
28 name="%view.name.SoftwareInventory"
29 restorable="true">
30 </view>
31 </extension>
32
33 <extension
34 point="org.eclipse.ui.commands">
35 <command
36 name="%command.name.ObjectDetails"
37 description="%command.description.ObjectDetails"
38 categoryId="org.netxms.ui.eclipse.console.category.views"
39 id="org.netxms.ui.eclipse.objectview.commands.open_tabbed_object_view">
40 </command>
41 <command
42 description="Toggle Filter"
43 id="org.netxms.ui.eclipse.objectview.commands.show_filter"
44 name="Toggle Filter">
45 <defaultHandler
46 class="org.netxms.ui.eclipse.objectview.actions.ToggleFilterHandler">
47 <parameter
48 name="default"
49 value="default">
50 </parameter>
51 </defaultHandler>
52 <state
53 class="org.eclipse.jface.commands.ToggleState"
54 id="org.netxms.ui.eclipse.objectview.commands.show_filter.state">
55 </state>
56 </command>
57 </extension>
58
59 <extension point = "org.eclipse.ui.actionSets">
60 <actionSet id="org.netxms.ui.eclipse.action_set.object_details"
61 label="%actionSet.label.ObjectDetails"
62 visible="true">
63 <action id="org.netxms.ui.eclipse.objectview.actions.open_tabbed_object_view"
64 menubarPath="view/primary"
65 label="%action.label.ObjectDetails"
66 tooltip="%action.tooltip.ObjectDetails"
67 icon="icons/object_details.png"
68 class="org.netxms.ui.eclipse.objectview.actions.ShowObjectDetailsView"
69 definitionId="org.netxms.ui.eclipse.objectview.commands.open_tabbed_object_view">
70 </action>
71 </actionSet>
72 </extension>
73
74 <extension
75 point="org.netxms.ui.eclipse.objectview.tabs">
76 <tab
77 class="org.netxms.ui.eclipse.objectview.objecttabs.ObjectOverview"
78 icon="icons/overview_tab.gif"
79 id="org.netxms.ui.eclipse.objectview.objecttabs.ObjectOverview"
80 name="%tab.name.Overview"
81 order="10">
82 </tab>
83 <tab
84 class="org.netxms.ui.eclipse.objectview.objecttabs.ComponentsTab"
85 icon="icons/components.png"
86 id="org.netxms.ui.eclipse.objectview.objecttabs.ComponentsTab"
87 name="%tab.name.Components"
88 order="50">
89 </tab>
90 <tab
91 class="org.netxms.ui.eclipse.objectview.objecttabs.InterfacesTab"
92 icon="icons/interface.png"
93 id="org.netxms.ui.eclipse.objectview.objecttabs.InterfacesTab"
94 name="%tab.name.Interfaces"
95 order="60">
96 </tab>
97 <tab
98 class="org.netxms.ui.eclipse.objectview.objecttabs.NodesTab"
99 icon="icons/nodes.png"
100 id="org.netxms.ui.eclipse.objectview.objecttabs.NodesTab"
101 name="%tab.name.Nodes"
102 order="50">
103 </tab>
104 <tab
105 class="org.netxms.ui.eclipse.objectview.objecttabs.RackTab"
106 icon="icons/rack.gif"
107 id="org.netxms.ui.eclipse.objectview.objecttabs.RackTab"
108 name="%tab.name.Rack"
109 order="15">
110 </tab>
111 </extension>
112 <extension
113 point="org.eclipse.ui.popupMenus">
114 <objectContribution
115 adaptable="false"
116 id="org.netxms.ui.eclipse.objectview.actions.popup.object.Container"
117 objectClass="org.netxms.client.objects.Container">
118 <action
119 class="org.netxms.ui.eclipse.objectview.actions.ShowStatusMap"
120 enablesFor="1"
121 id="org.netxms.ui.eclipse.objectview.popupActions.ShowStatusMap_Container"
122 label="%action.label.StatusMap">
123 </action>
124 <action
125 class="org.netxms.ui.eclipse.objectview.actions.ShowSoftwareInventory"
126 enablesFor="1"
127 icon="icons/software.png"
128 id="org.netxms.ui.eclipse.objectview.popupActions.ShowSoftwareInventory_Container"
129 label="%action.label.SoftwareInventory">
130 </action>
131 </objectContribution>
132 <objectContribution
133 adaptable="false"
134 id="org.netxms.ui.eclipse.objectview.actions.popup.object.ServiceRoot"
135 objectClass="org.netxms.client.objects.ServiceRoot">
136 <action
137 class="org.netxms.ui.eclipse.objectview.actions.ShowStatusMap"
138 enablesFor="1"
139 id="org.netxms.ui.eclipse.objectview.popupActions.ShowStatusMap_ServiceRoot"
140 label="%action.label.StatusMap">
141 </action>
142 <action
143 class="org.netxms.ui.eclipse.objectview.actions.ShowSoftwareInventory"
144 enablesFor="1"
145 icon="icons/software.png"
146 id="org.netxms.ui.eclipse.objectview.popupActions.ShowSoftwareInventory_ServiceRoot"
147 label="%action.label.SoftwareInventory">
148 </action>
149 </objectContribution>
150 <objectContribution
151 adaptable="false"
152 id="org.netxms.ui.eclipse.objectview.actions.popup.object.Node"
153 objectClass="org.netxms.client.objects.Node">
154 <action
155 class="org.netxms.ui.eclipse.objectview.actions.ShowSoftwareInventory"
156 enablesFor="1"
157 icon="icons/software.png"
158 id="org.netxms.ui.eclipse.objectview.popupActions.ShowSoftwareInventory_Node"
159 label="%action.label.SoftwareInventory">
160 </action>
161 </objectContribution>
162 </extension>
163 <extension
164 point="org.eclipse.ui.services">
165 <sourceProvider
166 provider="org.netxms.ui.eclipse.objectview.SourceProvider">
167 <variable
168 name="org.netxms.ui.eclipse.objectview.ActiveTab"
169 priorityLevel="workbench">
170 </variable>
171 </sourceProvider>
172 </extension>
173 <extension
174 point="org.eclipse.ui.bindings">
175 <key
176 commandId="org.netxms.ui.eclipse.objectview.commands.show_filter"
177 contextId="org.netxms.ui.eclipse.objectview.context.InterfacesTab"
178 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
179 sequence="M1+F2">
180 </key>
181 </extension>
182 <extension
183 point="org.eclipse.ui.contexts">
184 <context
185 id="org.netxms.ui.eclipse.objectview.context.InterfacesTab"
186 name="Interfaces Tab">
187 </context>
188 </extension>
189 <extension
190 point="org.eclipse.ui.menus">
191 <menuContribution
192 allPopups="false"
193 locationURI="menu:org.netxms.ui.eclipse.objectview.view.tabbed_object_view?after=additions">
194 <command
195 commandId="org.netxms.ui.eclipse.objectview.commands.show_filter"
196 label="Show &amp;filter"
197 style="toggle"
198 tooltip="Show Filter">
199 <visibleWhen
200 checkEnabled="false">
201 <with
202 variable="org.netxms.ui.eclipse.objectview.ActiveTab">
203 <instanceof
204 value="org.netxms.ui.eclipse.objectview.objecttabs.InterfacesTab">
205 </instanceof>
206 </with>
207 </visibleWhen>
208 </command>
209 </menuContribution>
210 </extension>
211
212 </plugin>