oracle.ide.explorer
Interface Explorer
- All Superinterfaces:
- Helpable, Subview, View
- All Known Implementing Classes:
- AbstractExplorer
- public interface Explorer
- extends View
The Explorer
interface provides the API for getting a GUI
representation of the structure for a given Context
.
Method Summary |
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. |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, deactivate, getContext, getId, getSelection, getToolbar, removeViewListener, removeViewSelectionListener, updateTitle |
SHOWN
public static final int SHOWN
HIDDEN
public static final int HIDDEN
CLOSED
public static final int CLOSED
setOwner
public void setOwner(View host)
- Set the View which is to act as the host of this Explorer.
- Parameters:
host
- the View which is acting as the host.
setContext
public void setContext(Context context)
- (Re)initialize the contents of the gui.
- Parameters:
host
- the View in which the GUI will be hosted.context
- the Context to use as initialization data.
stateChanged
public void stateChanged(int state)
- Respond to a change of state between SHOWN, HIDDEN or CLOSED.
- Parameters:
state
- the new state.