Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.model
Class WorkbenchViewerSorter


java.lang.Object
  extended by 

org.eclipse.jface.viewers.ViewerComparator
      extended by 

org.eclipse.jface.viewers.ViewerSorter
          extended by 
org.eclipse.ui.model.WorkbenchViewerSorter

Deprecated. as of 3.3, use WorkbenchViewerComparator instead

public class WorkbenchViewerSorter
extends ViewerSorter

A viewer sorter that sorts elements with registered workbench adapters by their text property. Note that capitalization differences are not considered by this sorter, so a > B > c

See Also:
IWorkbenchAdapter

Field Summary
 
Fields inherited from class org.eclipse.jface.viewers. ViewerSorter
collator
 
Constructor Summary
WorkbenchViewerSorter ()
          Deprecated. Creates a workbench viewer sorter using the default collator.
WorkbenchViewerSorter ( Collator collator)
          Deprecated. Creates a workbench viewer sorter using the given collator.
 
Method Summary
 boolean isSorterProperty ( Object element, String propertyId)
          Deprecated. Returns whether this viewer sorter would be affected by a change to the given property of the given element.
 
Methods inherited from class org.eclipse.jface.viewers. ViewerSorter
getCollator
 
Methods inherited from class org.eclipse.jface.viewers. ViewerComparator
category, compare, getComparator, sort
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkbenchViewerSorter

public WorkbenchViewerSorter()
Deprecated. 
Creates a workbench viewer sorter using the default collator.


WorkbenchViewerSorter

public WorkbenchViewerSorter(
Collator collator)
Deprecated. 
Creates a workbench viewer sorter using the given collator.

Parameters:
collator - the collator to use to sort strings
Method Detail

isSorterProperty

public boolean isSorterProperty(
Object element,
                                
String propertyId)
Deprecated. 
Description copied from class: ViewerComparator
Returns whether this viewer sorter would be affected by a change to the given property of the given element.

The default implementation of this method returns false. Subclasses may reimplement.

Overrides:
isSorterProperty in class ViewerComparator
Parameters:
element - the element
propertyId - the property
Returns:
true if the sorting would be affected, and false if it would be unaffected

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire