Package org.eclipse.compare
Interface ICompareNavigator
-
- All Known Implementing Classes:
CompareNavigator
public interface ICompareNavigatorAICompareNavigatoris used to navigate through the individual differences of aCompareEditorInputor another type of Compare container.You can retrieve an object implementing the
ICompareNavigatorfrom aCompareEditorInputby 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 booleanselectChange(boolean next)Starting from the current selectionselectChangeselects and reveals the next (previous) change.
-
-
-
Method Detail
-
selectChange
boolean selectChange(boolean next)
Starting from the current selectionselectChangeselects and reveals the next (previous) change. If the end (or beginning) is reached, the method returnstrue.- Parameters:
next- iftruethe next change is selected, otherwise the previous change- Returns:
- returns
trueif end (beginning) is reached,falseotherwise
-
-