|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.view.View
oracle.ide.view.ViewDecorator
oracle.ide.docking.DockableView
oracle.ide.docking.DockableWindow
oracle.ide.navigator.NavigatorWindow
public abstract class NavigatorWindow
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 class oracle.ide.docking.DockableView |
---|
CLOSED, HIDDEN, SHOWN |
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Fields inherited from interface oracle.ide.docking.Dockable |
---|
DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_FORGETTABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE |
Constructor Summary | |
---|---|
NavigatorWindow() |
Method Summary | |
---|---|
abstract void |
collapse(TNode tnode, boolean all) Collapse the specified TNode . |
abstract void |
expand(TNode tnode, boolean all) Expand the specified TNode . |
abstract TNode |
findTNode(Element element, TNode root) Find the specified element . |
java.util.List<DockableWindow> |
getHostedDockables() |
abstract NavigatorManager |
getManager() Returns the NavigatorManager that manages this navigator. |
abstract TreeExplorer |
getTreeExplorer() Returns the TreeExplorer implementing the tree behavior for this navigator. |
boolean |
isUsingDrawer() Overridden by subclass to indicate whether the drawer functionality inherited from DrawerDockableWindow should be enabled. |
boolean |
openContext(Context context) Asks the NavigatorWindow to open the specified Context. |
boolean |
openContext(Context context, boolean activateDockable) Asks the NavigatorWindow to open the specified Context. |
static void |
openContextInLastActiveNavigator(Context context) Opens the specified Context in the last active navigator window. |
abstract void |
refresh(TNode tnode) Closes and re-opens the specified tnode . |
abstract void |
setRootVisible(boolean visible) Hides the navigator root node if the visible parameter is false . |
Methods inherited from class oracle.ide.docking.DockableWindow |
---|
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitle |
Methods inherited from class oracle.ide.docking.DockableView |
---|
afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled |
Methods inherited from class oracle.ide.view.ViewDecorator |
---|
activate, deactivate, getContext, getContextMenu, getController, getDecorated, getGUI, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, isDecorated, loadLayout, newId, saveLayout, setDecorated, setOwner, setToolbarVisible, updateVisibleActions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.docking.Dockable |
---|
getTabName, getTitleName, loadLayout, saveLayout |
Field Detail |
---|
public static final java.lang.String NAVIGATOR_WINDOW_ID
Constructor Detail |
---|
public NavigatorWindow()
Method Detail |
---|
public abstract void setRootVisible(boolean visible)
visible
parameter is false
.public abstract void collapse(TNode tnode, boolean all)
TNode
. If the boolean
flag all
is set to true
, all descendents are also collapsed.public abstract void expand(TNode tnode, boolean all)
TNode
. If the boolean
flag all
is set to true
, all descendents are also expanded.public abstract 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 abstract void refresh(TNode tnode)
tnode
.public abstract TreeExplorer getTreeExplorer()
TreeExplorer
implementing the tree behavior for this navigator.public abstract NavigatorManager getManager()
NavigatorManager
that manages this navigator.public boolean isUsingDrawer()
public java.util.List<DockableWindow> getHostedDockables()
public boolean openContext(Context context)
context
- the Context to opentrue
if the Context was successfully opened or false
otherwise.public boolean openContext(Context context, boolean activateDockable)
context
- the Context to openwhether
- the dockable should be activated upon findingtrue
if the Context was successfully opened or false
otherwise.public static void openContextInLastActiveNavigator(Context context)
context
- the context to open
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |