minor changes
[public/netxms.git] / src / java / netxms-eclipse / ObjectTools / plugin.xml
CommitLineData
2fed75f6
VK
1<?xml version="1.0" encoding="UTF-8"?>\r
2<?eclipse version="3.4"?>\r
3<plugin>\r
4 <extension\r
5 point="org.eclipse.ui.menus">\r
6 <menuContribution\r
c8243b57 7 locationURI="popup:org.eclipse.ui.popup.any?after=objectmgmt">\r
2fed75f6
VK
8 <dynamic\r
9 class="org.netxms.ui.eclipse.objecttools.ObjectToolsDynamicMenu"\r
10 id="org.netxms.ui.eclipse.objecttools.objectToolsDynamicMenu">\r
85fbafa3
VK
11 <visibleWhen\r
12 checkEnabled="false">\r
13 <iterate\r
b38d994e 14 ifEmpty="false"\r
203e9d8a 15 operator="and">\r
85fbafa3
VK
16 <instanceof\r
17 value="org.netxms.client.objects.Node">\r
18 </instanceof>\r
19 </iterate>\r
20 </visibleWhen>\r
2fed75f6
VK
21 </dynamic>\r
22 </menuContribution>\r
23 </extension>\r
24 <extension\r
25 point="org.eclipse.ui.startup">\r
26 <startup\r
27 class="org.netxms.ui.eclipse.objecttools.Startup">\r
28 </startup>\r
29 </extension>\r
6e14d383
VK
30 <extension\r
31 point="org.eclipse.ui.views">\r
32 <view\r
33 allowMultiple="true"\r
34 category="org.netxms.ui.eclipse.viewcategory.tools"\r
35 class="org.netxms.ui.eclipse.objecttools.views.TableToolResults"\r
36 icon="icons/table.gif"\r
37 id="org.netxms.ui.eclipse.objecttools.views.TableToolResults"\r
38 name="Table Tool Results"\r
39 restorable="true">\r
40 </view>\r
e79740f3
VK
41 <view\r
42 allowMultiple="false"\r
43 category="org.netxms.ui.eclipse.viewcategory.config"\r
44 class="org.netxms.ui.eclipse.objecttools.views.ObjectToolsEditor"\r
45 icon="icons/tools.png"\r
46 id="org.netxms.ui.eclipse.objecttools.views.ObjectToolsEditor"\r
47 name="Object Tools"\r
48 restorable="true">\r
49 </view>\r
50 </extension>\r
51 <extension\r
52 point="org.eclipse.ui.commands">\r
53 <command\r
54 description="Open object tools editor"\r
55 id="org.netxms.ui.eclipse.objecttools.commands.open_objecttools_editor"\r
56 name="Object Tools">\r
57 </command>\r
58 </extension>\r
59 <extension\r
60 point="org.eclipse.ui.actionSets">\r
61 <actionSet\r
62 id="org.netxms.ui.eclipse.objecttools.action_set"\r
63 label="Object Tools Configuration"\r
64 visible="true">\r
65 <action\r
66 class="org.netxms.ui.eclipse.objecttools.actions.OpenObjectToolsEditor"\r
67 definitionId="org.netxms.ui.eclipse.objecttools.commands.open_objecttools_editor"\r
68 icon="icons/tools.png"\r
69 id="org.netxms.ui.eclipse.objecttools.actions.open_editor"\r
70 label="Object Tools"\r
71 menubarPath="config/additions">\r
72 </action>\r
73 </actionSet>\r
6e14d383 74 </extension>\r
d675b6a4
VK
75 <extension\r
76 point="org.eclipse.core.runtime.adapters">\r
77 <factory\r
78 adaptableType="org.netxms.client.objecttools.ObjectTool"\r
79 class="org.netxms.ui.eclipse.objecttools.ObjectToolsAdapterFactory">\r
80 <adapter\r
81 type="org.netxms.client.objecttools.ObjectToolDetails">\r
82 </adapter>\r
83 <adapter\r
84 type="org.eclipse.ui.model.IWorkbenchAdapter">\r
85 </adapter>\r
86 </factory>\r
87 </extension>\r
88 <extension\r
89 point="org.eclipse.ui.propertyPages">\r
90 <page\r
91 class="org.netxms.ui.eclipse.objecttools.propertypages.General"\r
92 id="org.netxms.ui.eclipse.objecttools.propertypages.General#1"\r
93 name="General">\r
94 <enabledWhen>\r
95 <instanceof\r
96 value="org.netxms.client.objecttools.ObjectTool">\r
97 </instanceof>\r
98 </enabledWhen>\r
99 </page>\r
100 <page\r
101 class="org.netxms.ui.eclipse.objecttools.propertypages.AccessControl"\r
102 id="org.netxms.ui.eclipse.objecttools.propertypages.AccessControl#2"\r
103 name="Access Control">\r
104 <enabledWhen>\r
105 <instanceof\r
106 value="org.netxms.client.objecttools.ObjectTool">\r
107 </instanceof>\r
108 </enabledWhen>\r
109 </page>\r
4a1dbe0e
VK
110 <page\r
111 class="org.netxms.ui.eclipse.objecttools.propertypages.Filter"\r
112 id="org.netxms.ui.eclipse.objecttools.propertypages.Filter#3"\r
113 name="Filter">\r
114 <enabledWhen>\r
115 <instanceof\r
116 value="org.netxms.client.objecttools.ObjectTool">\r
117 </instanceof>\r
118 </enabledWhen>\r
119 </page>\r
165b21ad
VK
120 <page\r
121 class="org.netxms.ui.eclipse.objecttools.propertypages.Columns"\r
122 id="org.netxms.ui.eclipse.objecttools.propertypages.Columns#4"\r
123 name="Columns">\r
124 <enabledWhen>\r
125 <instanceof\r
126 value="org.netxms.client.objecttools.ObjectTool">\r
127 </instanceof>\r
128 </enabledWhen>\r
129 </page>\r
d675b6a4 130 </extension>\r
2fed75f6
VK
131\r
132</plugin>\r