public abstract class Explorer extends View
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED |
protected Node |
defaultNode |
protected Project |
defaultProject |
protected Workspace |
defaultWorkspace |
static int |
HIDDEN |
static int |
SHOWN |
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
Constructor and Description |
---|
Explorer() |
Modifier and Type | Method and Description |
---|---|
ContextMenu |
getContextMenu() |
Controller |
getController()
Get the Controller for this View.
|
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.
|
void |
stateChanged(int state)
Respond to a change of state between SHOWN, HIDDEN or CLOSED.
|
activate, addViewListener, addViewSelectionListener, addViewStateListener, close, deactivate, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getContext, getGUI, 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 static final int SHOWN
public static final int HIDDEN
public static final int CLOSED
protected Workspace defaultWorkspace
protected Project defaultProject
protected Node defaultNode
public Controller getController()
getController
in interface ControllerProvider
getController
in class View
public void setOwner(View host)
public void setContext(Context context)
host
- the View in which the GUI will be hosted.context
- the Context to use as initialization data.public void stateChanged(int state)
state
- the new state.public java.lang.String getTitle()
public ContextMenu getContextMenu()
getContextMenu
in class View
ContextMenu
, if any.