Result Sorters

This extension point is deprecated

Identifier:
org.eclipse.search.searchResultSorters

Description:
This extension point allows a plug-in to contribute search result sorters to the (old) search result view's Sort context menu. This extension point is deprecated since 3.0. The search result views are now contributed by clients and sorters are directly managed by these pages.

Configuration Markup:

<!ELEMENT extension (sorter*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT sorter EMPTY>

<!ATTLIST sorter

id      CDATA #REQUIRED

pageId  IDREF #REQUIRED

label   CDATA #REQUIRED

tooltip CDATA #IMPLIED

icon    CDATA #IMPLIED

class   CDATA #REQUIRED>


Examples:
The following is an example of a search page extension definition:


   <extension point="org.eclipse.search.searchResultSorters"> 
    <sorter 
        id="org.eclipse.search.internal.ui.FileNameSorter" 
        pageId="*" 
        label="%FileNameSorter.label" 
        tooltip="%FilenNameSorter.tooltip" 
        icon="icons/full/ecl16/search_sort.gif" 
        class="org.eclipse.search.internal.ui.FileNameSorter"> 
    </sorter> 
   </extension> 

API Information:
The contributed class must implement org.eclipse.jface.viewers.ViewerSorter

Supplied Implementation:
The search infrastructure provides a sorter that sorts the matches by the resource name.


Copyright (c) 2001, 2008 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0