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