Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java
index 7f5edf650..dfbcc7e31 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/INavigatable.java
@@ -21,54 +21,54 @@ import org.eclipse.swt.widgets.Widget;
* @see ICompareNavigator
*/
public interface INavigatable {
-
+
/**
- * Property key that can be used to associate an instance of this interface with
- * an SWT widget using {@link Widget#setData(String, Object)}.
+ * Property key that can be used to associate an instance of this interface with
+ * an SWT widget using {@link Widget#setData(String, Object)}.
*/
static final String NAVIGATOR_PROPERTY= "org.eclipse.compare.internal.Navigator"; //$NON-NLS-1$
-
+
/**
* Change flag used to navigate to the next change.
* @see #selectChange(int)
*/
static final int NEXT_CHANGE= 1;
-
+
/**
* Change flag used to navigate to the previous change.
* @see #selectChange(int)
*/
static final int PREVIOUS_CHANGE= 2;
-
+
/**
* Change flag used to navigate to the first change.
* @see #selectChange(int)
*/
static final int FIRST_CHANGE= 3;
-
+
/**
* Change flag used to navigate to the last change.
* @see #selectChange(int)
*/
static final int LAST_CHANGE= 4;
-
+
/**
* Return the input of the compare pane being navigated or <code>null</code>
- * if the pane does not have an input.
+ * if the pane does not have an input.
* @return the input of the compare pane being navigated or <code>null</code>
*/
Object getInput();
-
+
/**
* Starting from the current selection <code>selectChange</code> selects and reveals the specified change.
* If the end (or beginning) is reached, the method returns <code>true</code>.
- *
+ *
* @param changeFlag the change to be selected. One of <code>NEXT_CHANGE</code>, <code>PREVIOUS_CHANGE</code>,
* <code>FIRST_CHANGE</code> or <code>LAST_CHANGE</code>.
* @return returns <code>true</code> if end (beginning) is reached, <code>false</code> otherwise
*/
boolean selectChange(int changeFlag);
-
+
/**
* Return whether a call to {@link #selectChange(int)} with the same parameter
* would succeed.
@@ -77,7 +77,7 @@ public interface INavigatable {
* would succeed.
*/
boolean hasChange(int changeFlag);
-
+
/**
* Request that the currently selected change be opened. Return <code>true</code>
* if the request resulted in the change being opened and <code>false</code> if the

Back to the top