Method Summary |
|
public void | addNavigationActions(IMenuManager manager) Adds actions for "go back", "go home", and "go into" to a menu manager. |
public void | addNavigationActions(IToolBarManager toolBar) Adds actions for "go back", "go home", and "go into" to a tool bar manager. |
public boolean | canExpand(Object element) Returns whether expansion is possible for the current selection. |
public boolean | canGoBack() Returns whether "go back" is possible for child tree. |
public boolean | canGoHome() Returns whether "go home" is possible for child tree. |
public boolean | canGoInto() Returns whether "go into" is possible for child tree. |
public void | goBack() Reverts the input for the tree back to the state when goInto
was last called.
A frame is removed from the drill stack. |
public void | goHome() Reverts the input for the tree back to the state when the adapter was
created.
All of the frames are removed from the drill stack. |
public void | goInto() Sets the input for the tree to the current selection.
The current input and expansion state are saved in a frame and added to the
drill stack. |
public void | goInto(Object newInput) Sets the input for the tree to a particular item in the tree.
The current input and expansion state are saved in a frame and added to the
drill stack. |
public void | reset() Resets the drill down adapter. |
public void | selectionChanged(SelectionChangedEvent event) Updates the navigation buttons when a selection change occurs
in the tree. |
protected void | updateNavigationButtons() Updates the enabled state for each navigation button. |