public abstract class NavigatorManager extends MultiManager
NavigatorManager is responsible for managing the creation
 of the system navigator and transient navigators opened on selected nodes.| Modifier and Type | Field and Description | 
|---|---|
protected static java.lang.String | 
SOURCE_NAVIGATOR_PROPERTY  | 
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description | 
|---|
NavigatorManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
addContextMenuListener(ContextMenuListener l,
                      java.lang.Class cls)
Adds a context menu listener to all  
NavigatorWindows. | 
void | 
addContextMenuListener(ContextMenuListener menuListener,
                      java.lang.Class cls,
                      boolean shared)
Adds a context menu listener to all  
NavigatorWindows or to specific 
 NavigatorWindow instance according shared parameter. | 
protected abstract NavigatorWindow | 
createNavigatorWindow()
Subclasses must override this method to create the NavigatorWindow. 
 | 
static NavigatorManager | 
getApplicationNavigatorManager()
Returns the NavigatorManager instance that represents the
  Application Navigator or null if no such navigator exists. 
 | 
ChildFilterFactory | 
getChildFilterFactoryForType(java.lang.Class elementClass)  | 
static NavigatorManager | 
getConnectionNavigatorManager()
Deprecated. 
 
the Connection Navigator is being removed in 11.0 to be 
  replaced by the Resource Catalog, Database Navigator (from SQL Dev) and
  Application Server Navigators. 
 | 
abstract ContextMenu | 
getContextMenu()
Get the ContextMenu to be shared by all Editors. 
 | 
static Element | 
getFolderFromContext(Context context)
 | 
HelpInfo | 
getHelpInfo()
Get the help topic id for the navigator managed by me. 
 | 
java.util.List | 
getHostedDockables()
Deprecated. 
 
use  
getHostedViews() instead. | 
java.util.List<HostedView> | 
getHostedViews()  | 
NavigatorWindow | 
getNavigatorWindow()
Returns the NavigatorWindow. 
 | 
URLFilter | 
getURLFilter(java.lang.Class elementClass)  | 
static NavigatorManager | 
getWorkspaceNavigatorManager()
Returns the NavigatorManager instance that represents the
  Workspace Navigator or null if no such navigator exists. 
 | 
boolean | 
isSystemNavigator(ViewId viewId)
Returns  
true if the view identified by the give
 viewId is the system navigator. | 
protected ViewId | 
newViewId(Element folder)
 | 
NavigatorWindow | 
openNavigator(Context context)
Open a navigator based on the specified  
context. | 
abstract void | 
registerExtension(Extension ext,
                 java.lang.Class cls)
Register a navigator extension. 
 | 
void | 
registerFilter(java.lang.Class elementClass,
              ChildFilterFactory childFilterFactory)
Associates a  
ChildFilterFactory with the specified
  elementClass. | 
void | 
registerFilter(java.lang.Class elementClass,
              java.lang.Class childFilterClass,
              URLFilter urlFilter)
Associates a  
childFilterClass filter and
 urlFilter with the specified elementClass. | 
void | 
registerHostedDockable(HostedView hostedView)  | 
void | 
registerHostedDockable(ViewId viewId)  | 
void | 
registerHostedDockable(ViewId viewId,
                      float weight)  | 
abstract void | 
removeContextMenuListener(ContextMenuListener l)
Remove the specified  
ContextMenuListener. | 
static void | 
setApplicationNavigatorManager(NavigatorManager navMgr)
Publishes the specified NavigatorManager as implementing the
  Application Navigator. 
 | 
static void | 
setConnectionNavigatorManager(NavigatorManager navMgr)
Deprecated. 
 
the Connection Navigator is being removed in 11.0 to be 
  replaced by the Resource Catalog, Database Navigator (from SQL Dev) and
  Application Server Navigators. 
 | 
static void | 
setWorkspaceNavigatorManager(NavigatorManager navMgr)
Publishes the specified NavigatorManager as implementing the
  Workspace Navigator. 
 | 
NavigatorWindow | 
showNavigator(Context context)
Convenience method programatically identical to casting the result of
 showView(context) to a NavigatorWindow. 
 | 
createDockableView, createShowAction, createToggleToolbarAction, findOrCreateView, findView, getAcceleratorFile, getClonesIDs, getDefaultName, getDefaultView, getDefaultViewId, getDockableFactory, getLastView, getNewView, getOrientation, getRelativeView, getShowAction, getToggleToolbarMenuWeight, getViewCategory, getViewId, getViews, handleEvent, initialize, isClone, isToolbarVisible, setToolbarVisible, showLastView, showView, updateprotected static final java.lang.String SOURCE_NAVIGATOR_PROPERTY
public static NavigatorManager getApplicationNavigatorManager()
public static void setApplicationNavigatorManager(NavigatorManager navMgr)
public static NavigatorManager getWorkspaceNavigatorManager()
public static void setWorkspaceNavigatorManager(NavigatorManager navMgr)
public static NavigatorManager getConnectionNavigatorManager()
public static void setConnectionNavigatorManager(NavigatorManager navMgr)
public abstract ContextMenu getContextMenu()
public final boolean isSystemNavigator(ViewId viewId)
true if the view identified by the give
 viewId is the system navigator.public final NavigatorWindow getNavigatorWindow()
protected abstract NavigatorWindow createNavigatorWindow()
public NavigatorWindow openNavigator(Context context)
context.
 If an existing navigator based on the context exist it shows it.
 If the system navigator contains the context selected element,
 it shows the system navigator, and expands the corresponding node.
 Otherwise, it opens a new navigator.context - the context to open the navigato on.java.lang.NullPointerException - if context is null.public final NavigatorWindow showNavigator(Context context)
public abstract void addContextMenuListener(ContextMenuListener l, java.lang.Class cls)
NavigatorWindows. The
 listener will be called when users pop-up the menu on nodes of type
 cls. Specifying null for the cls
 parameter will cause the listener to be called when a menu is pop-up
 on any node type.public void addContextMenuListener(ContextMenuListener menuListener, java.lang.Class cls, boolean shared)
NavigatorWindows or to specific 
 NavigatorWindow instance according shared parameter.menuListener - cls - shared - if true then added into all NavigatorWindowsaddContextMenuListener(oracle.ide.controller.ContextMenuListener, java.lang.Class)public abstract void removeContextMenuListener(ContextMenuListener l)
ContextMenuListener.public void registerHostedDockable(HostedView hostedView)
public final void registerHostedDockable(ViewId viewId)
public final void registerHostedDockable(ViewId viewId, float weight)
@Deprecated public final java.util.List getHostedDockables()
getHostedViews() instead.public final java.util.List<HostedView> getHostedViews()
public final void registerFilter(java.lang.Class elementClass,
                                 java.lang.Class childFilterClass,
                                 URLFilter urlFilter)
childFilterClass filter and
 urlFilter with the specified elementClass.public final void registerFilter(java.lang.Class elementClass,
                                 ChildFilterFactory childFilterFactory)
ChildFilterFactory with the specified
  elementClass.public final ChildFilterFactory getChildFilterFactoryForType(java.lang.Class elementClass)
public final URLFilter getURLFilter(java.lang.Class elementClass)
public abstract void registerExtension(Extension ext, java.lang.Class cls)
ext - the extension to register.cls - the Element class for which the specified
 extension will be called.public HelpInfo getHelpInfo()