implemented full text search for objects (issue #NX-1240)
[public/netxms.git] / webui / webapp / ObjectBrowser / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <extension-point id="org.netxms.ui.eclipse.objectbrowser.objectOpenHandlers" name="Object Open Handlers" schema="schema/org.netxms.ui.eclipse.objectbrowser.objectOpenHandlers.exsd"/>
5 <extension-point id="org.netxms.ui.eclipse.objectbrowser.objectActionValidators" name="Object Action Validators" schema="schema/org.netxms.ui.eclipse.objectbrowser.objectActionValidators.exsd"/>
6 <extension-point id="org.netxms.ui.eclipse.objectbrowser.objectSelectionFilterFactories" name="Object Selection Filters" schema="schema/org.netxms.ui.eclipse.objectbrowser.objectSelectionFilterFactories.exsd"/>
7 <extension point="org.eclipse.core.runtime.preferences">
8 <initializer class="org.netxms.ui.eclipse.objectbrowser.PreferenceInitializer"/>
9 </extension>
10
11 <extension
12 point="org.eclipse.ui.views">
13 <view
14 name="%view.ObjectBrowser.name"
15 allowMultiple="false"
16 icon="icons/object_browser.gif"
17 class="org.netxms.ui.eclipse.objectbrowser.views.ObjectBrowser"
18 id="org.netxms.ui.eclipse.view.navigation.objectbrowser">
19 </view>
20 <view
21 allowMultiple="false"
22 category="org.netxms.ui.eclipse.viewcategory.tools"
23 class="org.netxms.ui.eclipse.objectbrowser.views.ObjectFinder"
24 icon="icons/find.gif"
25 id="org.netxms.ui.eclipse.objectbrowser.views.ObjectFinder"
26 name="Find Object"
27 restorable="true">
28 </view>
29 </extension>
30
31 <extension
32 point="org.eclipse.ui.commands">
33 <command
34 name="%command.ObjectBrowser.name"
35 description="%command.ObjectBrowser.description"
36 categoryId="org.netxms.ui.eclipse.console.category.views"
37 id="org.netxms.ui.eclipse.objectbrowser.commands.open_object_browser">
38 </command>
39 <command
40 description="%command.ToggleFilter.description"
41 id="org.netxms.ui.eclipse.objectbrowser.commands.show_object_filter"
42 name="%command.ToggleFilter.name">
43 </command>
44 <command
45 description="%command.ToggleStatusInd.description"
46 id="org.netxms.ui.eclipse.objectbrowser.commands.show_status_indicator"
47 name="%command.ToggleStatusInd.name">
48 </command>
49 <command
50 description="Rename"
51 id="org.netxms.ui.eclipse.objectbrowser.commands.rename_object"
52 name="Rename">
53 </command>
54 <command
55 categoryId="org.netxms.ui.eclipse.console.category.views"
56 id="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
57 name="Open Object Finder">
58 </command>
59 <command
60 id="org.netxms.ui.eclipse.objectbrowser.commands.start_search"
61 name="Start search">
62 </command>
63 </extension>
64
65 <extension point = "org.eclipse.ui.actionSets">
66 <actionSet id="org.netxms.ui.eclipse.action_set.object_browser"
67 label="%actionSet.ObjectBrowser.label"
68 visible="true">
69 <action id="org.netxms.ui.eclipse.objectbrowser.actions.open"
70 menubarPath="view/primary"
71 toolbarPath="view/additions"
72 label="%action.ObjectBrowser.label"
73 tooltip="%action.ObjectBrowser.tooltip"
74 icon="icons/object_browser.gif"
75 class="org.netxms.ui.eclipse.objectbrowser.actions.OpenObjectBrowser"
76 definitionId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_browser">
77 </action>
78 </actionSet>
79 <actionSet
80 id="org.netxms.ui.eclipse.action_set.object_finder"
81 label="Object Finder"
82 visible="true">
83 <action
84 class="org.netxms.ui.eclipse.objectbrowser.actions.OpenObjectFinder"
85 definitionId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
86 icon="icons/find.gif"
87 id="org.netxms.ui.eclipse.objectbrowser.actions.openObjectFinder"
88 label="&amp;Find object"
89 menubarPath="tools/additions"
90 style="push"
91 tooltip="Open object finder">
92 </action>
93 </actionSet>
94 </extension>
95
96 <extension
97 point="org.eclipse.ui.bindings">
98 <key
99 commandId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_browser"
100 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
101 sequence="F3">
102 </key>
103 <key
104 commandId="org.netxms.ui.eclipse.objectbrowser.commands.show_object_filter"
105 contextId="org.netxms.ui.eclipse.objectbrowser.context.ObjectBrowser"
106 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
107 sequence="M1+F2">
108 </key>
109 <key
110 commandId="org.netxms.ui.eclipse.objectbrowser.commands.show_status_indicator"
111 contextId="org.netxms.ui.eclipse.objectbrowser.context.ObjectBrowser"
112 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
113 sequence="Ctrl+F3">
114 </key>
115 <key
116 commandId="org.netxms.ui.eclipse.objectbrowser.commands.rename_object"
117 contextId="org.netxms.ui.eclipse.objectbrowser.context.ObjectBrowser"
118 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
119 sequence="F2">
120 </key>
121 <key
122 commandId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
123 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
124 sequence="F12">
125 </key>
126 <key
127 commandId="org.netxms.ui.eclipse.objectbrowser.commands.start_search"
128 contextId="org.netxms.ui.eclipse.objectbrowser.context.ObjectFinder"
129 schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
130 sequence="F2">
131 </key>
132 </extension>
133
134 <extension
135 point="org.eclipse.ui.decorators">
136 <decorator
137 id="org.netxms.ui.eclipse.decorators.NXCObject"
138 label="%decorator.Objects.label"
139 state="true"
140 lightweight= "true"
141 class="org.netxms.ui.eclipse.objectbrowser.ObjectDecorator">
142 <enablement>
143 <objectClass name="org.netxms.client.objects.AbstractObject"/>
144 </enablement>
145 <description>
146 %decorator.Objects.description
147 </description>
148 </decorator>
149 </extension>
150 <extension
151 point="org.eclipse.ui.contexts">
152 <context
153 id="org.netxms.ui.eclipse.objectbrowser.context.ObjectBrowser"
154 name="%context.ObjectBrowser.name"
155 parentId="org.eclipse.ui.contexts.window">
156 </context>
157 <context
158 id="org.netxms.ui.eclipse.objectbrowser.context.ObjectFinder"
159 name="Object Finder"
160 parentId="org.eclipse.ui.contexts.window">
161 </context>
162 </extension>
163 <extension
164 point="org.eclipse.core.expressions.propertyTesters">
165 <propertyTester
166 class="org.netxms.ui.eclipse.objectbrowser.ObjectPropertyTester"
167 id="org.netxms.ui.eclipse.objectbrowser.ObjectPropertyTester"
168 namespace="org.netxms.ui.eclipse.objectbrowser"
169 properties="isAlarmsVisible,isCustomAttributePresented"
170 type="org.netxms.client.objects.AbstractObject">
171 </propertyTester>
172 </extension>
173 <extension
174 point="org.eclipse.ui.menus">
175 <menuContribution
176 allPopups="false"
177 locationURI="popup:org.netxms.ui.eclipse.view.navigation.objectbrowser?before=objectmgmt">
178 <command
179 commandId="org.netxms.ui.eclipse.objectbrowser.commands.rename_object"
180 label="%command.Rename.name"
181 style="push"
182 tooltip="%command.Rename.tooltip">
183 </command>
184 </menuContribution>
185 </extension>
186 </plugin>