Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.menu
Class MenuManager

java.lang.Object
  extended by javax.ide.Service
      extended by javax.ide.menu.MenuManager


public abstract class MenuManager
extends Service

The menu manager is responsible for installing menu bars and toolbars into Views.


Constructor Summary
MenuManager()
           

 

Method Summary
static MenuManager getMenuManager()
          Get the menu manager.
protected  void initialize()
          Initialize this manager.
abstract  void installMenubar(java.lang.String menubarId, View view)
          Install a menu bar into the specified view.
abstract  void installToolbar(java.lang.String toolbarId, View view)
          Install a toolbar into the specified view.

 

Methods inherited from class javax.ide.Service
getService, resetAllServices

 

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

 

Constructor Detail

MenuManager

public MenuManager()

Method Detail

installToolbar

public abstract void installToolbar(java.lang.String toolbarId,
                                    View view)
Install a toolbar into the specified view.
Parameters:
toolbarId - the id of a toolbar defined in the extension manifest.
view - a view to install the toolbar into.

installMenubar

public abstract void installMenubar(java.lang.String menubarId,
                                    View view)
Install a menu bar into the specified view.
Parameters:
menubarId - the id of a menu bar defined in the extension manifest.
view - the view to install the menu bar into. Only top level views support the installation of menu bars.

initialize

protected void initialize()
Description copied from class: Service
Initialize this manager. This is called the first time a manager is retrieved programmatically. The manager should process necessary information from the extension manifest to initialize itself.

This implementation does nothing.

Overrides:
initialize in class Service

getMenuManager

public static final MenuManager getMenuManager()
Get the menu manager.
Returns:
the menu manager.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


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