Eclipse Platform
Release 3.2

Uses of Interface
org.eclipse.jface.viewers.IElementComparer

Packages that use IElementComparer
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.  
 

Uses of IElementComparer in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return IElementComparer
 IElementComparer TreeSelection.getElementComparer()
          Returns the element comparer passed in when the tree selection has been created or null if no comparer has been provided.
 IElementComparer StructuredViewer.getComparer()
          Returns the comparer to use for comparing elements, or null if none has been set.
 

Methods in org.eclipse.jface.viewers with parameters of type IElementComparer
 int TreePath.hashCode(IElementComparer comparer)
          Returns a hash code computed from the hash codes of the segments, using the given comparer to compute the hash codes of the segments.
 boolean TreePath.equals(TreePath otherPath, IElementComparer comparer)
          Returns whether this path is equivalent to the given path using the specified comparer to compare individual elements.
 boolean TreePath.startsWith(TreePath treePath, IElementComparer comparer)
          Returns whether this path starts with the same segments as the given path, using the given comparer to compare segments.
 void StructuredViewer.setComparer(IElementComparer comparer)
          Sets the comparer to use for comparing elements, or null to use the default equals and hashCode methods on the elements themselves.
 

Constructors in org.eclipse.jface.viewers with parameters of type IElementComparer
TreeSelection(TreePath[] paths, IElementComparer comparer)
          Constructs a selection based on the elements identified by the given tree paths.
TreeSelection(TreePath treePath, IElementComparer comparer)
          Constructs a selection based on the elements identified by the given tree path.
 


Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.