Package org.eclipse.compare
Interface ICompareNavigator
-
- All Known Implementing Classes:
CompareNavigator
public interface ICompareNavigator
AICompareNavigator
is used to navigate through the individual differences of aCompareEditorInput
or another type of Compare container.You can retrieve an object implementing the
ICompareNavigator
from aCompareEditorInput
by callinggetAdapter(ICompareNavigator)
on theCompareEditorInput
.Although it is legal for clients to implement this interface, it is better to subclass
CompareNavigator
.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
selectChange(boolean next)
Starting from the current selectionselectChange
selects and reveals the next (previous) change.
-
-
-
Method Detail
-
selectChange
boolean selectChange(boolean next)
Starting from the current selectionselectChange
selects and reveals the next (previous) change. If the end (or beginning) is reached, the method returnstrue
.- Parameters:
next
- iftrue
the next change is selected, otherwise the previous change- Returns:
- returns
true
if end (beginning) is reached,false
otherwise
-
-