oracle.ide.navigator
Interface NavigatorWindow
- All Superinterfaces:
- ControllerProvider, Dockable, DockableView, Helpable, View
- public interface NavigatorWindow
- extends DockableView
NavigatorWindow
interface provides the API for managing the contents of a navigator window tree.
- See Also:
Observer
Methods inherited from interface oracle.ide.docking.Dockable |
addTitleChangeListener, getDefaultVisibility, getHostedComponent, getMenuPreferredMnemonic, getMenuTitle, getSite, getTabDropListener, getTabIcon, getTabName, getTitleName, getType, getUniqueName, loadLayout, removeTitleChangeListener, saveLayout, setSite |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, close, deactivate, getContext, getContext, getContextMenu, getGUI, getId, getSelection, getToolbar, isVisible, owner, removeViewListener, removeViewSelectionListener, setToolbarVisible, show, updateTitle, updateVisibleActions |
NAVIGATOR_WINDOW_ID
public static final java.lang.String NAVIGATOR_WINDOW_ID
- The navigator window view ID.
- See Also:
- Constant Field Values
setRootVisible
public void setRootVisible(boolean visible)
- Hides the navigator root node if the
visible
parameter is false
.
collapse
public void collapse(TNode tnode,
boolean all)
- Collapse the specified
TNode
. If the boolean
flag all
is set to true
, all descendents are also collapsed.
expand
public void expand(TNode tnode,
boolean all)
- Expand the specified
TNode
. If the boolean
flag all
is set to true
, all descendents are also expanded.
findTNode
public TNode findTNode(Element element,
TNode root)
- Find the specified
element
. Start looking recursively depth first from the given root
node. This method will open nodes in order to carry out the search. For other types of searches get the TreeExplorer
using the getTreeExplorer()
method. The TreeExplorer
class provides other search methods.
refresh
public void refresh(TNode tnode)
- Closes and re-opens the specified
tnode
.
getTreeExplorer
public TreeExplorer getTreeExplorer()
- Returns the
TreeExplorer
implementing the tree behavior for this navigator.
getManager
public NavigatorManager getManager()
- Returns the
NavigatorManager
that manages this navigator.
Copyright © 1997, 2004, Oracle. All rights reserved.