Package com.iizigo.navigator
Interface IViewerComparator
- All Known Implementing Classes:
ImageDesignerProp.ImageComparator
,ViewerComparator
public interface IViewerComparator
Class implemented by the Viewer Comparator.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compare(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object o1, java.lang.Object o2)
Compares two object in a viewer using the flags.
Method Detail
compare
int compare(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object o1, java.lang.Object o2)
Compares two object in a viewer using the flags.- Parameters:
viewer
- The viewer.o1
- First object.o2
- Second object.- Returns:
- a negative number if the first element is less than the second element; the value
0
if the first element is equal to the second element; and a positive number if the first element is greater than the second element.