| org.eclipse.ui.internal.dialogs.ViewComparator
ViewComparator | public class ViewComparator extends ViewerComparator (Code) | | This is used to sort views in a ShowViewDialog.
|
Method Summary | |
public int | compare(Viewer viewer, Object e1, Object e2) Returns a negative, zero, or positive number depending on whether
the first element is less than, equal to, or greater than
the second element. |
ViewComparator | public ViewComparator(ViewRegistry reg)(Code) | | ViewSorter constructor comment.
Parameters: reg - an IViewRegistry |
compare | public int compare(Viewer viewer, Object e1, Object e2)(Code) | | Returns a negative, zero, or positive number depending on whether
the first element is less than, equal to, or greater than
the second element.
|
|
|