public abstract class VCSExplorer extends Explorer implements Observer
CLOSED, defaultNode, defaultProject, defaultWorkspace, HIDDEN, SHOWN
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
Constructor and Description |
---|
VCSExplorer() |
Modifier and Type | Method and Description |
---|---|
protected void |
clearTree() |
protected abstract javax.swing.tree.DefaultMutableTreeNode |
createTreeNodes() |
Context |
getContext(java.util.EventObject eventObject) |
protected javax.swing.Icon |
getExplorerIcon() |
java.awt.Component |
getGUI() |
protected Node |
getNode() |
void |
setContext(Context context)
(Re)initialize the contents of the gui.
|
protected void |
setNode(Node node) |
void |
stateChanged(int state)
Respond to a change of state between SHOWN, HIDDEN or CLOSED.
|
void |
update(java.lang.Object object,
UpdateMessage updateMessage)
Notification message.
|
getContextMenu, getController, getTitle, setOwner
activate, addViewListener, addViewSelectionListener, addViewStateListener, close, deactivate, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, 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 java.awt.Component getGUI()
public void setContext(Context context)
Explorer
setContext
in class Explorer
context
- the Context to use as initialization data.public Context getContext(java.util.EventObject eventObject)
getContext
in class View
eventObject
- event associated with the context.public void stateChanged(int state)
Explorer
stateChanged
in class Explorer
state
- the new state.public void update(java.lang.Object object, UpdateMessage updateMessage)
Observer
protected abstract javax.swing.tree.DefaultMutableTreeNode createTreeNodes()
protected javax.swing.Icon getExplorerIcon()
protected void setNode(Node node)
protected Node getNode()
protected void clearTree()