Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore11
-rw-r--r--org.eclipse.search/.cvsignore2
-rw-r--r--org.eclipse.search/.vcm_meta7
-rw-r--r--org.eclipse.search/doc/hglegal.htm19
-rw-r--r--org.eclipse.search/doc/ngibmcpy.gifbin0 -> 1542 bytes
-rw-r--r--org.eclipse.search/doc/org_eclipse_search.html34
-rw-r--r--org.eclipse.search/doc/org_eclipse_search_searchPages.html104
-rw-r--r--org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html80
-rw-r--r--org.eclipse.search/icons/full/ctool16/search.gifbin0 -> 904 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_goto.gifbin0 -> 168 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_next.gifbin0 -> 138 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_prev.gifbin0 -> 139 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_rem.gifbin0 -> 96 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_remall.gifbin0 -> 113 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_sort.gifbin0 -> 846 bytes
-rw-r--r--org.eclipse.search/icons/full/elcl16/search_stop.gifbin0 -> 132 bytes
-rw-r--r--org.eclipse.search/icons/full/obj16/searchm_obj.gifbin0 -> 902 bytes
-rw-r--r--org.eclipse.search/icons/full/obj16/tsearch_obj.gifbin0 -> 240 bytes
-rw-r--r--org.eclipse.search/icons/full/view16/searchres.gifbin0 -> 904 bytes
-rw-r--r--org.eclipse.search/plugin.jars1
-rw-r--r--org.eclipse.search/plugin.properties19
-rw-r--r--org.eclipse.search/plugin.xml103
22 files changed, 380 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c550c6af700
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+bin/
+*~
+*.rej
+*.bak
+*.patch
+javacore.*
+heapdump.*
+core.*
+Snap.*
+target/
+
diff --git a/org.eclipse.search/.cvsignore b/org.eclipse.search/.cvsignore
new file mode 100644
index 00000000000..3f041525eb9
--- /dev/null
+++ b/org.eclipse.search/.cvsignore
@@ -0,0 +1,2 @@
+bin
+.classpath
diff --git a/org.eclipse.search/.vcm_meta b/org.eclipse.search/.vcm_meta
new file mode 100644
index 00000000000..7655f8db446
--- /dev/null
+++ b/org.eclipse.search/.vcm_meta
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-description>
+ <comment></comment>
+ <nature id="org.eclipse.jdt.core.javanature"/>
+ <builder name="org.eclipse.jdt.core.javabuilder">
+ </builder>
+</project-description>
diff --git a/org.eclipse.search/doc/hglegal.htm b/org.eclipse.search/doc/hglegal.htm
new file mode 100644
index 00000000000..5ac1c6333c0
--- /dev/null
+++ b/org.eclipse.search/doc/hglegal.htm
@@ -0,0 +1,19 @@
+<!doctype html public "-//w3c//dtd html 3.2 final//en">
+<html>
+
+<head>
+<title>Legal Notices</title>
+</head>
+
+<body>
+
+<h3><a name="Notices">Notices</a></h3>
+
+<p>Licensed Materials - Property of IBM<br>
+WebSphere Studio Workbench<br>
+(c) Copyright IBM Corp. 2000 All Rights Reserved.</p>
+
+<p>US Government Users Restricted Rights - Use, duplication or disclosure restricted by
+GSA ADP Schedule Contract with IBM Corp.</p>
+</body>
+</html>
diff --git a/org.eclipse.search/doc/ngibmcpy.gif b/org.eclipse.search/doc/ngibmcpy.gif
new file mode 100644
index 00000000000..e0d777bf5a2
--- /dev/null
+++ b/org.eclipse.search/doc/ngibmcpy.gif
Binary files differ
diff --git a/org.eclipse.search/doc/org_eclipse_search.html b/org.eclipse.search/doc/org_eclipse_search.html
new file mode 100644
index 00000000000..090110b6c6c
--- /dev/null
+++ b/org.eclipse.search/doc/org_eclipse_search.html
@@ -0,0 +1,34 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Search Infrastructure Extension Points</title>
+</head>
+<body link="#0000FF" vlink="#800080">
+
+<center>
+<h1>
+IBM Eclipse Platform Search</h1></center>
+This document lists all of the extension points that the search plug-in makes
+available to tool developers.
+<p>All XML sub-elements defined in the individual extension point documents
+may appear more than once inside an extension element. For example, a <tt>org.eclipse.search.searchPages</tt>
+extension may contain several instances of <tt>page</tt> elements. Although
+making one extension per sub-element is not technically incorrect, we recommend
+grouping for consistent style. It can also improve platform startup time
+because there will be fewer extensions to process.
+<br>
+<hr WIDTH="100%">
+<h1>
+Extension Points</h1>
+The following extension points can be used to extend the capabilities
+of the search infrastructure:
+<ul>
+<li>
+<a href="org_eclipse_search_searchPages.html">org.eclipse.search.searchPages</a></li>
+<br>
+<a href="org_eclipse_search_searchResultSorters.html">org.eclipse.search.searchResultSorters</a></li>
+</ul>
+<a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>
+</body>
+</html>
diff --git a/org.eclipse.search/doc/org_eclipse_search_searchPages.html b/org.eclipse.search/doc/org_eclipse_search_searchPages.html
new file mode 100644
index 00000000000..8cfc9a21602
--- /dev/null
+++ b/org.eclipse.search/doc/org_eclipse_search_searchPages.html
@@ -0,0 +1,104 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Search Infrastructure Extension Points</title>
+</head>
+<body link="#0000FF" vlink="#800080">
+
+<center>
+<h1>
+Search Pages</h1></center>
+<b><i>Identifier: </i></b>org.eclipse.search.searchPages
+<p><b><i>Description</i>: </b>This extension point allows a plug-in to register
+search pages for specialized searches. When the search action is performed on
+a resource, the search infrastructure locates the most specific registered search
+page for it.
+
+<p><b><i>Configuration Markup:</i></b>
+<p><tt>&nbsp;&nbsp; &lt;!ELEMENT page EMPTY></tt>
+<br><tt>&nbsp;&nbsp; &lt;!ATTLIST page</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #IMPLIED</font></tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sizeHint&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</font></tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tabPosition&nbsp;
+CDATA #IMPLIED</font></tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extensions&nbsp;&nbsp;
+CDATA #IMPLIED</font></tt>
+<ul>
+<li>
+<b>id</b> - a unique name that will be used to identify this search page</li>
+
+<li>
+<b>label</b> - a translatable label that will be used in the search page tab</li>
+
+<li>
+<b>class</b> - a name of the class that implements <org.eclipse.jface.dialogs.IDialogPage</tt>.
+We recommend subclassing <tt>org.eclipse.jface.dialogs.DialogPage</tt>.
+</li>
+
+<li>
+<b>icon</b> - a relative name of the image that will be used for all resources
+that match the specified extensions. If omitted, the
+search page's tab will only contain a label.</li>
+
+<li>
+<b>sizeHint</b> - a hint for the initial size of the page. This is a string
+containing the width and height separated by comma (e.g. "50, 60"). In the case
+this hint is omitted the page will be no larger than the other pages.</li>
+
+<li>
+<b>tabPosition</b> - an integer defining where the page is placed in the page book. The value does not define the absolute position but the position relative to the other pages. The ordering of pages is as follows:
+ <ol>
+ <li>if neither page defines the tab position then they are ordered alphabetically according to their labels</li>
+ <li>if both pages have the tab position specified then the page with the lower value comes first. If the values are equal then the pages are treated as if the values would not exist (see 1.)</li>
+ <li>if only one page has the value specified then this page comes first
+ </ol>
+</li>
+
+<li>
+<b>extensions</b> - a comma separated list with file extensions on which the
+search page can operate. Each extension must also include a weight (0 meaning
+lowest weight) which enables the search infrastructure to find the best fitting
+page. The weight is separated from the extension by a colon.
+If a search page can search all possible resources then "*" can be used.</li>
+
+</ul>
+<b><i>Examples:</i></b>
+<p>The following is an example of a search page extension definition:
+<extension point="org.eclipse.search.searchPages">
+ <page id="org.eclipse.search.ui.text.TextSearchPage"
+ icon="icons/full/obj16/tsearch_pref.gif"
+ label="Text Search"
+ sizeHint="250,160"
+ tabPosition="1"
+ extensions="*:1"
+ class="org.eclipse.search.ui.text.TextSearchPage">
+ </page>
+</extension>
+
+<p><tt>&nbsp;&nbsp; &lt;extension point="org.eclipse.search.searchPages"></tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;page</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id="org.eclipse.search.ui.text.TextSearchPage"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label="Text Search"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icon="icons/full/obj16/tsearch_pref.gif"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sizeHint="250,160"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tabPosition="1"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extensions="*:1"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class="org.eclipse.search.ui.text.TextSearchPage"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/page></tt>
+<br><tt>&nbsp;&nbsp; &lt;/extension></tt>
+<p><b><i>API Information:</i> </b>
+
+<p><b><i>Supplied Implementation: </i></b>The search infrastructure provides
+ a search page for full-text search.
+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>
+</body>
+</html>
diff --git a/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html b/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html
new file mode 100644
index 00000000000..f62ff16a59c
--- /dev/null
+++ b/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html
@@ -0,0 +1,80 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.75 [en] (WinNT; U) [Netscape]">
+ <title>Search Infrastructure Extension Points</title>
+</head>
+<body link="#0000FF" vlink="#800080">
+
+<center>
+<h1>
+Result Sorters</h1></center>
+<b><i>Identifier: </i></b>org.eclipse.search.searchResultSorters
+<p><b><i>Description</i>: </b>This extension point allows a plug-in to
+contribute search result sorters to the search result view's <i>Sort</i>
+context menu.
+<p><b><i>Configuration Markup:</i></b>
+<p><tt>&nbsp;&nbsp; &lt;!ELEMENT page EMPTY></tt>
+<br><tt>&nbsp;&nbsp; &lt;!ATTLIST page</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pageId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tooltip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #IMPLIED</font></tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #IMPLIED</font></tt>
+<br><tt><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</font></tt>
+<ul>
+<li>
+<tt><b>id</b> - a unique name that will be used to identify this search
+result sorter.</tt></li>
+
+<li>
+<tt><b>pageId</b> - the ID of a registered search page for which the sorter
+will be activated. "*" activates the sorter for all pages.</tt></li>
+
+<li>
+<tt><b>label</b> - a translatable label that will be used as the menu item's
+label.</tt></li>
+
+<li>
+<tt><b>tooltip</b> - a translatable text that will be used as the menu
+item's tool tip . If omitted, the menu item will have no tool tip.</tt></li>
+
+<li>
+<tt><b>icon</b> - a relative name of the image that will be shown in the
+context menu along with the label. If omitted, the menu entry will only
+contain a label.</tt></li>
+
+<li>
+<tt><b>class</b> - a name of the class that extends&nbsp;<org.eclipse.jface.viewers.ViewerSorter</tt>.</tt></li>
+</ul>
+<b><i><tt>Examples:</tt></i></b>
+<p><tt>The following is an example of a search page extension definition:</tt><extension point="org.eclipse.search.searchPages"><page id="org.eclipse.search.ui.text.TextSearchPage"
+ icon="icons/full/obj16/tsearch_pref.gif"
+ label="Text Search"
+ sizeHint="250,160"
+ tabPosition="1"
+ extensions="*:1"
+ class="org.eclipse.search.ui.text.TextSearchPage"></page></extension>
+<p><tt>&nbsp;&nbsp; &lt;extension point="org.eclipse.search.searchResultSorters"></tt>
+<br><tt>&nbsp;&nbsp;&nbsp; &lt;sorter</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id="org.eclipse.search.internal.ui.FileNameSorter"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pageId="*"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label="%FileNameSorter.label"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tooltip="%FilenNameSorter.tooltip"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; icon="icons/full/ecl16/search_sort.gif"</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class="org.eclipse.search.internal.ui.FileNameSorter"></tt>
+<br><tt>&nbsp;&nbsp;&nbsp; &lt;/sorter></tt>
+<br><tt>&nbsp;&nbsp; &lt;/extension></tt>
+<p><b><i><tt>API Information:</tt></i></b>
+<p><tt><b><i>Supplied Implementation: </i></b>The search infrastructure
+provides a sorter that sorts the matches by the resource name.</tt>
+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>
+</body>
+</html>
diff --git a/org.eclipse.search/icons/full/ctool16/search.gif b/org.eclipse.search/icons/full/ctool16/search.gif
new file mode 100644
index 00000000000..91a43f305e0
--- /dev/null
+++ b/org.eclipse.search/icons/full/ctool16/search.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_goto.gif b/org.eclipse.search/icons/full/elcl16/search_goto.gif
new file mode 100644
index 00000000000..90544e4750e
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_goto.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_next.gif b/org.eclipse.search/icons/full/elcl16/search_next.gif
new file mode 100644
index 00000000000..8b72b7f61d5
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_next.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_prev.gif b/org.eclipse.search/icons/full/elcl16/search_prev.gif
new file mode 100644
index 00000000000..c2258ef6a83
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_prev.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_rem.gif b/org.eclipse.search/icons/full/elcl16/search_rem.gif
new file mode 100644
index 00000000000..a7fe0f737df
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_rem.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_remall.gif b/org.eclipse.search/icons/full/elcl16/search_remall.gif
new file mode 100644
index 00000000000..fdd6f32af0e
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_remall.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_sort.gif b/org.eclipse.search/icons/full/elcl16/search_sort.gif
new file mode 100644
index 00000000000..7f95af35747
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_sort.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/elcl16/search_stop.gif b/org.eclipse.search/icons/full/elcl16/search_stop.gif
new file mode 100644
index 00000000000..1e7b845a393
--- /dev/null
+++ b/org.eclipse.search/icons/full/elcl16/search_stop.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/obj16/searchm_obj.gif b/org.eclipse.search/icons/full/obj16/searchm_obj.gif
new file mode 100644
index 00000000000..649c8ebcd1b
--- /dev/null
+++ b/org.eclipse.search/icons/full/obj16/searchm_obj.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/obj16/tsearch_obj.gif b/org.eclipse.search/icons/full/obj16/tsearch_obj.gif
new file mode 100644
index 00000000000..b140f821199
--- /dev/null
+++ b/org.eclipse.search/icons/full/obj16/tsearch_obj.gif
Binary files differ
diff --git a/org.eclipse.search/icons/full/view16/searchres.gif b/org.eclipse.search/icons/full/view16/searchres.gif
new file mode 100644
index 00000000000..91a43f305e0
--- /dev/null
+++ b/org.eclipse.search/icons/full/view16/searchres.gif
Binary files differ
diff --git a/org.eclipse.search/plugin.jars b/org.eclipse.search/plugin.jars
new file mode 100644
index 00000000000..80a348f32b9
--- /dev/null
+++ b/org.eclipse.search/plugin.jars
@@ -0,0 +1 @@
+search.jar=Eclipse Search \ No newline at end of file
diff --git a/org.eclipse.search/plugin.properties b/org.eclipse.search/plugin.properties
new file mode 100644
index 00000000000..284ca84dd5b
--- /dev/null
+++ b/org.eclipse.search/plugin.properties
@@ -0,0 +1,19 @@
+#########################################
+# Licensed Materials - Property of IBM,
+# WebSphere Studio Workbench
+# (c) Copyright IBM Corp 1999, 2000
+#########################################
+
+search=Search
+textSearch=Text Search
+searchResults=Search Results
+
+OpenSearchDialogAction.label=Search@Ctrl+H
+OpenSearchDialogAction.tooltip=Open Search Dialog
+
+MatchSorter.label=by match
+MatchSorter.tooltip=by match
+ResourcenameSorter.label=by resource name
+ResourcenameSorter.tooltip=by resource name
+ResourcePathSorter.label=by resource path
+ResourcePathSorter.tooltip=by resource path
diff --git a/org.eclipse.search/plugin.xml b/org.eclipse.search/plugin.xml
new file mode 100644
index 00000000000..f6244f187e9
--- /dev/null
+++ b/org.eclipse.search/plugin.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0"?>
+
+<!-- ======================================================================= -->
+<!-- Search Plugin -->
+<!-- ======================================================================= -->
+<plugin
+ name= "Search"
+ id= "org.eclipse.search"
+ version= "0.0 001"
+ vendor-name= "OTI"
+ class= "org.eclipse.search.internal.ui.SearchPlugin">
+
+<requires>
+ <import plugin="org.apache.xerces"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.ui"/>
+</requires>
+
+<runtime>
+ <library name="search.jar" >
+ <export name = "*"/>
+ </library>
+</runtime>
+
+
+<!-- Search extension point definitions -->
+
+<extension-point name="Search Pages" id="searchPages"/>
+<extension-point name="Search Result Sorters" id="searchResultSorters"/>
+
+
+<!-- Extensions -->
+
+<extension id="searchmarker" point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.core.resources.textmarker"/>
+ <attribute name="line"/>
+</extension>
+
+<extension point="org.eclipse.ui.actionSets">
+ <actionSet
+ id="org.eclipse.search.searchActionSet"
+ label="%search"
+ visible="true">
+ <action id="org.eclipse.search.ui.OpenSearchDialogAction"
+ menubarPath="edit/find"
+ toolbarPath="Normal/Search"
+ label="%OpenSearchDialogAction.label"
+ tooltip="%OpenSearchDialogAction.tooltip"
+ icon="icons/full/ctool16/search.gif"
+ class="org.eclipse.search.internal.ui.OpenSearchDialogAction"/>
+ </actionSet>
+</extension>
+
+<extension point="org.eclipse.ui.views">
+ <view
+ id="org.eclipse.search.SearchResultView"
+ name="%searchResults"
+ category="org.eclipse.ui"
+ class="org.eclipse.search.internal.ui.SearchResultView"
+ icon="icons/full/view16/searchres.gif">
+ </view>
+</extension>
+
+<extension point="org.eclipse.search.searchPages">
+ <page
+ id="org.eclipse.search.internal.ui.text.TextSearchPage"
+ label="%textSearch"
+ icon="icons/full/obj16/tsearch_obj.gif"
+ sizeHint="250,160"
+ tabPosition="1"
+ extensions="*:1"
+ class="org.eclipse.search.internal.ui.text.TextSearchPage">
+ </page>
+</extension>
+
+<extension point="org.eclipse.search.searchResultSorters">
+ <sorter
+ id="org.eclipse.search.internal.ui.MatchSorter"
+ pageId="*"
+ label="%MatchSorter.label"
+ tooltip="%MatchSorter.tooltip"
+ icon="icons/full/ecl16/search_sort.gif"
+ class="org.eclipse.search.internal.ui.MatchSorter">
+ </sorter>
+ <sorter
+ id="org.eclipse.search.internal.ui.ResourcenameSorter"
+ pageId="*"
+ label="%ResourcenameSorter.label"
+ tooltip="%ResourcenameSorter.tooltip"
+ icon="icons/full/ecl16/search_sort.gif"
+ class="org.eclipse.search.internal.ui.ResourcenameSorter">
+ </sorter>
+ <sorter
+ id="org.eclipse.search.internal.ui.ResourcePathSorter"
+ pageId="*"
+ label="%ResourcePathSorter.label"
+ tooltip="%ResourcePathSorter.tooltip"
+ icon="icons/full/ecl16/search_sort.gif"
+ class="org.eclipse.search.internal.ui.ResourcePathSorter">
+ </sorter>
+</extension>
+
+</plugin> \ No newline at end of file

Back to the top