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

E13403-04

oracle.ide.controller
Class ToolbarManager

java.lang.Object
  extended by oracle.ide.controller.ToolbarManager
All Implemented Interfaces:
Addin

public abstract class ToolbarManager
extends java.lang.Object
implements Addin

The ToolbarManager provides programmatic manipulation of toolbars defined in an extension's manifest file. This class cannot be constructed directly. Get the toolbar manager instance by calling getToolbarManager().

Since:
10.1.3

Constructor Summary
ToolbarManager()
           
 
Method Summary
protected abstract  IdeAction getAction(java.lang.String cmdId)
           
static ToolbarManager getToolbarManager()
          Get the toolbar manager.
 void initialize()
          Required by the Addin interface.
 void installToolbar(java.lang.String toolbarId, Toolbar toolbar, View view)
          Install a toolbar defined in an extension manifest.
static void setToolbarManager(ToolbarManager manager)
          Set the toolbar manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarManager

public ToolbarManager()
Method Detail

getToolbarManager

public static ToolbarManager getToolbarManager()
Get the toolbar manager.

Returns:
the toolbar manager.

setToolbarManager

public static void setToolbarManager(ToolbarManager manager)
Set the toolbar manager. This API should not be used by regular clients of the IDE.

Parameters:
manager - the toolbar manager.

installToolbar

public void installToolbar(java.lang.String toolbarId,
                           Toolbar toolbar,
                           View view)
Install a toolbar defined in an extension manifest.

Parameters:
toolbarId - the id of the toolbar to install
toolbar - the toolbar control to install items into
view - an optional view. If specified, the toolbar is owned by a view and all actions will only work with that view's context.

getAction

protected abstract IdeAction getAction(java.lang.String cmdId)

initialize

public void initialize()
Required by the Addin interface. Extension developers should not call this method.

Specified by:
initialize in interface Addin
See Also:
AddinManager

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

E13403-04

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