public abstract class AbstractTreeExplorer extends Explorer
ExplorerManager.createTreeExplorer( oracle.ide.model.Folder )
.CLOSED, defaultNode, defaultProject, defaultWorkspace, HIDDEN, SHOWN
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
Constructor and Description |
---|
AbstractTreeExplorer() |
Modifier and Type | Method and Description |
---|---|
ContextMenu |
getContextMenu() |
protected abstract Element |
getElementForContext(Context context)
Returns the root element to display for the specified context.
|
java.awt.Component |
getGUI() |
java.lang.String |
getTitle()
Get the caption to use in the title bar of a hosting View.
|
void |
setContext(Context context)
(Re)initialize the contents of the gui.
|
void |
setOwner(View host)
Set the View which is to act as the host of this Explorer.
|
getController, stateChanged
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
public void setOwner(View host)
Explorer
public java.awt.Component getGUI()
public java.lang.String getTitle()
Explorer
public ContextMenu getContextMenu()
getContextMenu
in class Explorer
ContextMenu
, if any.public void setContext(Context context)
Explorer
setContext
in class Explorer
context
- the Context to use as initialization data.