public class Navigatable extends Object implements INavigatable
FIRST_CHANGE, LAST_CHANGE, NAVIGATOR_PROPERTY, NEXT_CHANGE, PREVIOUS_CHANGE
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 Item |
getNextItem(Item previousItem) |
protected Item |
getPreviousItem(Item previousItem) |
WrappableTreeViewer |
getViewer()
Return the viewer associated with this Navigatable.
|
boolean |
hasChange(int changeFlag) |
boolean |
openSelectedChange() |
boolean |
selectChange(int flag) |
public Navigatable(WrappableTreeViewer viewer, EMFCompareStructureMergeViewerContentProvider contentProvider)
viewer
- contentProvider
- public boolean selectChange(int flag)
selectChange
in interface INavigatable
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 INavigatable
public boolean openSelectedChange()
openSelectedChange
in interface INavigatable
INavigatable.openSelectedChange()
public boolean hasChange(int changeFlag)
hasChange
in interface INavigatable
INavigatable.hasChange(int)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.