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

E13403-03

oracle.ide.explorer
Class AbstractTreeExplorer

java.lang.Object
  extended by oracle.ide.view.View
      extended by oracle.ide.explorer.Explorer
          extended by oracle.ide.explorer.AbstractTreeExplorer
All Implemented Interfaces:
ControllerProvider, Helpable

public abstract class AbstractTreeExplorer
extends Explorer

Provides a base class for tree explorer implementations. Custom explorer implementations can subclass AbstractTreeExplorer; implementation of this object is provided by a delegate instance vended by ExplorerManager.createTreeExplorer( oracle.ide.model.Folder ).

Since:
11.0

Field Summary
 
Fields inherited from class oracle.ide.explorer.Explorer
CLOSED, defaultNode, defaultProject, defaultWorkspace, HIDDEN, SHOWN
 
Fields inherited from class oracle.ide.view.View
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Constructor Summary
AbstractTreeExplorer()
           
 
Method Summary
 ContextMenu getContextMenu()
           
protected abstract  Element getElementForContext(Context context)
          Returns the root element to display for the specified context.
 java.awt.Component getGUI()
           
 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.
 
Methods inherited from class oracle.ide.explorer.Explorer
getController, stateChanged
 
Methods inherited from class oracle.ide.view.View
activate, addViewListener, addViewSelectionListener, addViewStateListener, close, deactivate, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractTreeExplorer

public AbstractTreeExplorer()
Method Detail

setOwner

public void setOwner(View host)
Description copied from class: Explorer
Set the View which is to act as the host of this Explorer.

Overrides:
setOwner in class Explorer
Parameters:
host - the View which is acting as the host.

getGUI

public java.awt.Component getGUI()
Specified by:
getGUI in class View
Returns:
the root graphical user interface component.

getTitle

public java.lang.String getTitle()
Description copied from class: Explorer
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().

Overrides:
getTitle in class Explorer
Returns:
the caption to use in the title bar of a hosting View.

getContextMenu

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

setContext

public void setContext(Context context)
Description copied from class: Explorer
(Re)initialize the contents of the gui.

Overrides:
setContext in class Explorer
Parameters:
context - the Context to use as initialization data.

getElementForContext

protected abstract Element getElementForContext(Context context)
Returns the root element to display for the specified context.

Parameters:
context - a context.
Returns:
the root element to use for this context.

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

E13403-03

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