diff options
Diffstat (limited to 'org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html')
-rw-r--r-- | org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html | 137 |
1 files changed, 69 insertions, 68 deletions
diff --git a/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html b/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html index c3dcb0a48..aadc3c500 100644 --- a/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html +++ b/org.eclipse.search/doc/org_eclipse_search_searchResultSorters.html @@ -1,68 +1,69 @@ -<!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> <!ELEMENT page EMPTY></tt>
-<br><tt> <!ATTLIST page</tt>
-<br><tt> id CDATA #REQUIRED</tt>
-<br><tt> pageId CDATA #REQUIRED</tt>
-<br><tt> label CDATA #REQUIRED</tt>
-<br><tt> tooltip CDATA #IMPLIED</tt>
-<br><tt> icon CDATA #IMPLIED</tt>
-<br><tt> class CDATA #REQUIRED</tt>
-<ul>
-<li>
-<b>id</b> - a unique name that will be used to identify this search
-result sorter.</li>
-
-<li>
-<b>pageId</b> - the ID of a registered search page for which the sorter
-will be activated. "*" activates the sorter for all pages.</li>
-
-<li>
-<b>label</b> - a translatable label that will be used as the menu item's
-label.</li>
-
-<li>
-<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.</li>
-
-<li>
-<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.</li>
-
-<li>
-<b>class</b> - a name of the class that extends <tt>org.eclipse.jface.viewers.ViewerSorter</tt>.</li>
-</ul>
-<b><i>Examples:</i></b>
-<p><tt>The following is an example of a search page extension definition:</tt>
-<p><tt> <extension point="org.eclipse.search.searchResultSorters"></tt>
-<br><tt> <sorter</tt>
-<br><tt> id="org.eclipse.search.internal.ui.FileNameSorter"</tt>
-<br><tt> pageId="*"</tt>
-<br><tt> label="%FileNameSorter.label"</tt>
-<br><tt> tooltip="%FileNameSorter.tooltip"</tt>
-<br><tt> icon="icons/full/ecl16/search_sort.gif"</tt>
-<br><tt> class="org.eclipse.search.internal.ui.FileNameSorter"></tt>
-<br><tt> </sorter></tt>
-<br><tt> </extension></tt>
-
-<p><b><i>Supplied Implementation: </i></b>The search infrastructure
-provides a sorter that sorts the matches by the resource name.
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a>
-</body>
-</html>
+<!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>Eclipse Search Infrastructure Extension Point: Result Sorters</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> <!ELEMENT sorter EMPTY></tt> +<br><tt> <!ATTLIST sorter</tt> +<br><tt> id CDATA #REQUIRED</tt> +<br><tt> pageId CDATA #REQUIRED</tt> +<br><tt> label CDATA #REQUIRED</tt> +<br><tt> tooltip CDATA #IMPLIED</tt> +<br><tt> icon CDATA #IMPLIED</tt> +<br><tt> class CDATA #REQUIRED</tt> +<br><tt> ></tt> +<ul> +<li> +<b>id</b> - a unique name that will be used to identify this search +result sorter.</li> + +<li> +<b>pageId</b> - the ID of a registered search page for which the sorter +will be activated. "*" activates the sorter for all pages.</li> + +<li> +<b>label</b> - a translatable label that will be used as the menu item's +label.</li> + +<li> +<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.</li> + +<li> +<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.</li> + +<li> +<b>class</b> - a name of the class that extends <tt>org.eclipse.jface.viewers.ViewerSorter</tt>.</li> +</ul> +<b><i>Examples:</i></b> +<p><tt>The following is an example of a search page extension definition:</tt> +<p><tt> <extension point="org.eclipse.search.searchResultSorters"></tt> +<br><tt> <sorter</tt> +<br><tt> id="org.eclipse.search.internal.ui.FileNameSorter"</tt> +<br><tt> pageId="*"</tt> +<br><tt> label="%FileNameSorter.label"</tt> +<br><tt> tooltip="%FileNameSorter.tooltip"</tt> +<br><tt> icon="icons/full/ecl16/search_sort.gif"</tt> +<br><tt> class="org.eclipse.search.internal.ui.FileNameSorter"></tt> +<br><tt> </sorter></tt> +<br><tt> </extension></tt> + +<p><b><i>Supplied Implementation: </i></b>The search infrastructure +provides a sorter that sorts the matches by the resource name. +<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2002. All Rights Reserved." BORDER=0 height=12 width=195></a> +</body> +</html> |