oracle.ide.explorer
Class AbstractExplorer
java.lang.Object
oracle.ide.addin.AbstractView
oracle.ide.explorer.AbstractExplorer
- All Implemented Interfaces:
- Explorer, Helpable, Subview, View
- Direct Known Subclasses:
- AbstractCanvas, AssistantExplorer
- public abstract class AbstractExplorer
- extends AbstractView
- implements Explorer
Explorer base class. Explorers are used to present to the user some
structure associated with the Document
held in a specific
Context
.
Method Summary |
ContextMenu |
getContextMenu()
Gets the ContextMenu object, if any, managed by this instance. |
void |
setContext(Context context)
(Re)initialize the contents of the gui. |
void |
setOwner(View owner)
Set the View which is to act as the host of this Explorer. |
void |
stateChanged(int state)
Respond to a change of state between SHOWN, HIDDEN or CLOSED. |
Methods inherited from class oracle.ide.addin.AbstractView |
activate, addViewListener, addViewSelectionListener, close, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getContext, getController, getHelpInfo, getId, getSelection, getToolbar, isVisible, loadToolbar, loadToolbar, newId, owner, removeViewListener, removeViewSelectionListener, setId, show, updateTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, deactivate, getContext, getId, getSelection, getToolbar, removeViewListener, removeViewSelectionListener, updateTitle |
defaultWorkspace
protected Workspace defaultWorkspace
defaultProject
protected Project defaultProject
defaultDocument
protected Document defaultDocument
AbstractExplorer
public AbstractExplorer()
setOwner
public void setOwner(View owner)
- Description copied from interface:
Explorer
- Set the View which is to act as the host of this Explorer.
- Specified by:
setOwner
in interface Explorer
- Overrides:
setOwner
in class AbstractView
setContext
public void setContext(Context context)
- Description copied from interface:
Explorer
- (Re)initialize the contents of the gui.
- Specified by:
setContext
in interface Explorer
- Parameters:
context
- the Context to use as initialization data.
stateChanged
public void stateChanged(int state)
- Description copied from interface:
Explorer
- Respond to a change of state between SHOWN, HIDDEN or CLOSED.
- Specified by:
stateChanged
in interface Explorer
- Parameters:
state
- the new state.
getContextMenu
public ContextMenu getContextMenu()
- Description copied from interface:
Subview
- Gets the ContextMenu object, if any, managed by this instance.
- Specified by:
getContextMenu
in interface Subview
- Overrides:
getContextMenu
in class AbstractView
Copyright ©1997, 2003, Oracle. All rights reserved.