Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.explorer
Class Explorer

java.lang.Object
  extended by oracle.ide.view.View
      extended by oracle.ide.explorer.Explorer

All Implemented Interfaces:
ControllerProvider, Helpable
Direct Known Subclasses:
AbstractTreeExplorer, AssistantExplorer, TreeExplorer, UIEditorCanvas

public abstract class Explorer
extends View

The Explorer class provides the API for getting a GUI representation of the structure for a given Context. Explorers are used to present to the user some structure associated with the Node held in a specific Context.


Field Summary
static int CLOSED
           
protected  Node defaultNode
           
protected  Project defaultProject
           
protected  Workspace defaultWorkspace
           
static int HIDDEN
           
static int SHOWN
           

 

Fields inherited from class oracle.ide.view.View
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP

 

Constructor Summary
Explorer()
           

 

Method Summary
 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.

 

Methods inherited from class oracle.ide.view.View
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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

SHOWN

public static final int SHOWN
See Also:
Constant Field Values

HIDDEN

public static final int HIDDEN
See Also:
Constant Field Values

CLOSED

public static final int CLOSED
See Also:
Constant Field Values

defaultWorkspace

protected Workspace defaultWorkspace

defaultProject

protected Project defaultProject

defaultNode

protected Node defaultNode

Constructor Detail

Explorer

public Explorer()

Method Detail

getController

public Controller getController()
Get the Controller for this View. By default the result of ExplorerManager.getExplorerManager() is returned.
Specified by:
getController in interface ControllerProvider
Overrides:
getController in class View
Returns:
the Controller associated with this view.

setOwner

public void setOwner(View host)
Set the View which is to act as the host of this Explorer.
Overrides:
setOwner in class View
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.

getTitle

public java.lang.String getTitle()
Get the caption to use in the title bar of a hosting View. This would typically be the short descripton of the Node being edited as found in the Context.getNode().getShortLabel().
Returns:
the caption to use in the title bar of a hosting View.

getContextMenu

public ContextMenu getContextMenu()
Overrides:
getContextMenu in class View
Returns:
the ContextMenu, if any.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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