|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NavigatorWindow
interface provides the API for managing
the contents of a navigator window tree.
Observer
Field Summary | |
static java.lang.String |
NAVIGATOR_WINDOW_ID
The navigator window view ID. |
Fields inherited from interface oracle.ide.addin.View |
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Fields inherited from interface oracle.ide.docking.Dockable |
TYPE_DISCARDABLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE |
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 . |
java.util.Comparator |
getComparator()
Returns the default Comparator that is used to sort children
of container nodes managed by this TreeExplorer . |
Toolbar |
getToolbar()
Get the navigator window's toolbar. |
TreeExplorer |
getTreeExplorer()
Returns the TreeExplorer implementing the tree behavior
for this navigator. |
void |
refresh(TNode tnode)
Closes and re-opens the specified tnode . |
void |
setComparator(java.util.Comparator comparator)
Sets the default Comparator that is used to sort children of
container nodes managed by this TreeExplorer . |
void |
setRootVisible(boolean visible)
Hides the navigator root node if the visible parameter
is false . |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, deactivate, getContext, getId, getSelection, removeViewListener, removeViewSelectionListener, updateTitle |
Methods inherited from interface oracle.ide.help.Helpable |
getHelpInfo |
Methods inherited from interface oracle.ide.addin.Subview |
close, getContext, getContextMenu, getController, getGUI, isVisible, owner, show |
Methods inherited from interface oracle.ide.docking.Dockable |
addTitleChangeListener, getHostedComponent, getMenuPreferredMnemonic, getMenuTitle, getSite, getTabDropListener, getTabIcon, getTabName, getTitleName, getType, getUniqueName, loadLayout, removeTitleChangeListener, saveLayout, setSite |
Field Detail |
public static final java.lang.String NAVIGATOR_WINDOW_ID
Method Detail |
public Toolbar getToolbar()
getToolbar
in interface View
public void setRootVisible(boolean visible)
visible
parameter
is false
.
public void collapse(TNode tnode, boolean all)
TNode
. If the boolean
flag all
is set to true
, all descendents are
also collapsed.
public void expand(TNode tnode, boolean all)
TNode
. If the boolean
flag all
is set to true
, all descendents are
also expanded.
public TNode findTNode(Element element, TNode root)
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.
public void refresh(TNode tnode)
tnode
.
public java.util.Comparator getComparator()
Comparator
that is used to sort children
of container nodes managed by this TreeExplorer
. This
default comparator may be overridden for a specific TNode
by
calling TNode.setComparator(Comparator)
.
public void setComparator(java.util.Comparator comparator)
Comparator
that is used to sort children of
container nodes managed by this TreeExplorer
. If the
default comparator changes, the tree is recreated.
public TreeExplorer getTreeExplorer()
TreeExplorer
implementing the tree behavior
for this navigator.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.