Skip navigation links
oracle.ide.explorer
Class AbstractTreeExplorer
java.lang.Object
oracle.ide.view.View
oracle.ide.explorer.Explorer
oracle.ide.explorer.AbstractTreeExplorer
- All Implemented Interfaces:
- ControllerProvider, Helpable
-
public abstract class AbstractTreeExplorer
- extends Explorer
Provides a base class for tree explorer implementations. Custom explorer implementations can subclass AbstractTreeExplorer; implementation of this object is provided by a delegate instance vended by ExplorerManager.createTreeExplorer( oracle.ide.model.Folder )
.
- Since:
- 11.0
Methods inherited from class oracle.ide.view.View |
activate, addViewListener, addViewSelectionListener, addViewStateListener, close, deactivate, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getContext, getHelpInfo, getId, getSelection, getSelectionFromUI, getTabName, getToolbar, getViewWithoutDecoration, isVisible, loadLayout, loadManifestToolbar, loadManifestToolbar, newId, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, saveLayout, scheduleUpdateSelection, setId, setToolbarVisible, show, toString, updateSelection, updateSelectionImpl, updateTitle, updateToolbarActions, updateVisibleActions, updateVisibleActions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractTreeExplorer
public AbstractTreeExplorer()
setOwner
public void setOwner(View host)
- Description copied from class:
Explorer
- Set the View which is to act as the host of this Explorer.
-
- Overrides:
setOwner
in class Explorer
-
- Parameters:
host
- the View which is acting as the host.
getGUI
public java.awt.Component getGUI()
-
- Specified by:
getGUI
in class View
-
- Returns:
- the root graphical user interface component.
getTitle
public java.lang.String getTitle()
- Description copied from class:
Explorer
- Get the caption to use in the title bar of a hosting View. This would typically be the short descripton of the Node being edited as found in the Context.getNode().getShortLabel().
-
- Overrides:
getTitle
in class Explorer
-
- Returns:
- the caption to use in the title bar of a hosting View.
getContextMenu
public ContextMenu getContextMenu()
-
- Overrides:
getContextMenu
in class Explorer
-
- Returns:
- the
ContextMenu
, if any.
setContext
public void setContext(Context context)
- Description copied from class:
Explorer
- (Re)initialize the contents of the gui.
-
- Overrides:
setContext
in class Explorer
-
- Parameters:
context
- the Context to use as initialization data.
getElementForContext
protected abstract Element getElementForContext(Context context)
- Returns the root element to display for the specified context.
-
- Parameters:
context
- a context.
- Returns:
- the root element to use for this context.
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.