Extension SDK 10.1.2

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

Field Summary
static java.lang.String NAVIGATOR_WINDOW_ID
          The navigator window view ID.
 
Fields inherited from interface oracle.ide.docking.DockableView
CLOSED, HIDDEN, SHOWN
 
Fields inherited from interface oracle.ide.docking.Dockable
DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Method Summary
 void collapse(TNode tnode, boolean all)
          Collapse the specified TNode.
 void expand(TNode tnode, boolean all)
          Expand the specified TNode.
 TNode findTNode(Element element, TNode root)
          Find the specified element.
 NavigatorManager getManager()
          Returns the NavigatorManager that manages this navigator.
 TreeExplorer getTreeExplorer()
          Returns the TreeExplorer implementing the tree behavior for this navigator.
 void refresh(TNode tnode)
          Closes and re-opens the specified tnode.
 void setRootVisible(boolean visible)
          Hides the navigator root node if the visible parameter is false.
 
Methods inherited from interface oracle.ide.docking.DockableView
setDockableVisible, setType
 
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
 
Methods inherited from interface oracle.ide.addin.ControllerProvider
getController
 
Methods inherited from interface oracle.ide.help.Helpable
getHelpInfo
 

Field Detail

NAVIGATOR_WINDOW_ID

public static final java.lang.String NAVIGATOR_WINDOW_ID
The navigator window view ID.

See Also:
Constant Field Values
Method Detail

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.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.