implemented full text search for objects (issue #NX-1240)
[public/netxms.git] / src / java / netxms-eclipse / ObjectBrowser / plugin.xml
index 47d6365..c63a36f 100644 (file)
             class="org.netxms.ui.eclipse.objectbrowser.views.ObjectBrowser"
             id="org.netxms.ui.eclipse.view.navigation.objectbrowser">
       </view>
+      <view
+            allowMultiple="false"
+            category="org.netxms.ui.eclipse.viewcategory.tools"
+            class="org.netxms.ui.eclipse.objectbrowser.views.ObjectFinder"
+            icon="icons/find.gif"
+            id="org.netxms.ui.eclipse.objectbrowser.views.ObjectFinder"
+            name="Find Object"
+            restorable="true">
+      </view>
    </extension>
 
    <extension
             id="org.netxms.ui.eclipse.objectbrowser.commands.rename_object"
             name="Rename">
       </command>
+      <command
+            categoryId="org.netxms.ui.eclipse.console.category.views"
+            id="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
+            name="Open Object Finder">
+      </command>
+      <command
+            id="org.netxms.ui.eclipse.objectbrowser.commands.start_search"
+            name="Start search">
+      </command>
    </extension>
    
    <extension point = "org.eclipse.ui.actionSets">
                           definitionId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_browser">
                   </action>
           </actionSet>
+    <actionSet
+          id="org.netxms.ui.eclipse.action_set.object_finder"
+          label="Object Finder"
+          visible="true">
+       <action
+             class="org.netxms.ui.eclipse.objectbrowser.actions.OpenObjectFinder"
+             definitionId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
+             icon="icons/find.gif"
+             id="org.netxms.ui.eclipse.objectbrowser.actions.openObjectFinder"
+             label="&amp;Find object"
+             menubarPath="tools/additions"
+             style="push"
+             tooltip="Open object finder">
+       </action>
+    </actionSet>
    </extension>
 
    <extension
             schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
             sequence="F2">
       </key>
+      <key
+            commandId="org.netxms.ui.eclipse.objectbrowser.commands.open_object_finder"
+            schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
+            sequence="F12">
+      </key>
+      <key
+            commandId="org.netxms.ui.eclipse.objectbrowser.commands.start_search"
+            contextId="org.netxms.ui.eclipse.objectbrowser.context.ObjectFinder"
+            schemeId="org.netxms.ui.eclipse.defaultKeyBinding"
+            sequence="F2">
+      </key>
    </extension>
 
   <extension
            name="%context.ObjectBrowser.name"
            parentId="org.eclipse.ui.contexts.window">
      </context>
+     <context
+           id="org.netxms.ui.eclipse.objectbrowser.context.ObjectFinder"
+           name="Object Finder"
+           parentId="org.eclipse.ui.contexts.window">
+     </context>
   </extension>
   <extension
         point="org.eclipse.core.expressions.propertyTesters">