public class Navigatable extends Object implements org.eclipse.compare.INavigatable
| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_UNRESOLVED_CHANGE |
static int |
PREVIOUS_UNRESOLVED_CHANGE |
protected EMFCompareStructureMergeViewerContentProvider.CallbackType |
uiSyncCallbackType |
| Constructor and Description |
|---|
Navigatable(WrappableTreeViewer viewer,
EMFCompareStructureMergeViewerContentProvider contentProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireOpen(Object element)
Execute the fireOpen method of the viewer associated to this navigatable.
|
Object |
getInput() |
protected Object |
getNextItem(Object start)
Starting at the given item, returns the next item in the viewer.
|
protected Object |
getPreviousItem(Object start)
Starting at the given element, returns the previous item in the viewer.
|
WrappableTreeViewer |
getViewer()
Return the viewer associated with this Navigatable.
|
boolean |
hasChange(int changeFlag) |
boolean |
openSelectedChange() |
void |
refresh() |
boolean |
selectChange(int flag) |
public static final int NEXT_UNRESOLVED_CHANGE
public static final int PREVIOUS_UNRESOLVED_CHANGE
protected EMFCompareStructureMergeViewerContentProvider.CallbackType uiSyncCallbackType
public Navigatable(WrappableTreeViewer viewer, EMFCompareStructureMergeViewerContentProvider contentProvider)
public boolean selectChange(int flag)
selectChange in interface org.eclipse.compare.INavigatablepublic void refresh()
public void fireOpen(Object element)
element - the input of the selection of the open event fired by the fireOpen method.public WrappableTreeViewer getViewer()
public Object getInput()
getInput in interface org.eclipse.compare.INavigatablepublic boolean openSelectedChange()
openSelectedChange in interface org.eclipse.compare.INavigatableINavigatable.openSelectedChange()public boolean hasChange(int changeFlag)
hasChange in interface org.eclipse.compare.INavigatableINavigatable.hasChange(int)protected Object getNextItem(Object start)
start - the item for which to find the next one.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.