Extension SDK

oracle.ide.explorer
Class AbstractExplorer

java.lang.Object
  extended byoracle.ide.addin.AbstractView
      extended byoracle.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.


Field Summary
protected  Document defaultDocument
           
protected  Project defaultProject
           
protected  Workspace defaultWorkspace
           
 
Fields inherited from class oracle.ide.addin.AbstractView
owner, SEPARATOR, viewListeners, viewSelectionListeners
 
Fields inherited from interface oracle.ide.explorer.Explorer
CLOSED, HIDDEN, SHOWN
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Constructor Summary
AbstractExplorer()
           
 
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
 
Methods inherited from interface oracle.ide.help.Helpable
getHelpInfo
 
Methods inherited from interface oracle.ide.addin.Subview
close, getContext, getController, getGUI, isVisible, owner, show
 

Field Detail

defaultWorkspace

protected Workspace defaultWorkspace

defaultProject

protected Project defaultProject

defaultDocument

protected Document defaultDocument
Constructor Detail

AbstractExplorer

public AbstractExplorer()
Method Detail

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

Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.