Eclipse Platform
Release 3.3

org.eclipse.compare
Interface ICompareNavigator

All Known Implementing Classes:
CompareNavigator

public interface ICompareNavigator

A ICompareNavigator is used to navigate through the individual differences of a CompareEditorInput or another type of Compare container.

You can retrieve an object implementing the ICompareNavigator from a CompareEditorInput by calling getAdapter(ICompareNavigator) on the CompareEditorInput.

Although it is legal for clients to implement this interface, it is better to subclass CompareNavigator.

Since:
3.0

Method Summary
 boolean selectChange(boolean next)
          Starting from the current selection selectChange selects and reveals the next (previous) change.
 

Method Detail

selectChange

public boolean selectChange(boolean next)
Starting from the current selection selectChange selects and reveals the next (previous) change. If the end (or beginning) is reached, the method returns true.

Parameters:
next - if true the next change is selected, otherwise the previous change
Returns:
returns true if end (beginning) is reached, false otherwise

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

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