|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.controller.ToolbarManager
public abstract class ToolbarManager
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().
Constructor Summary | |
---|---|
ToolbarManager()
|
Method Summary | |
---|---|
void |
addActionFilter(ActionFilter filter)
|
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)
Deprecated. Use registerOnDemandToolbar(String, Toolbar, View)
and unRegisterOnDemandToolbar(String, Toolbar) |
void |
refilterActions()
|
void |
registerOnDemandToolbar(java.lang.String toolbarId,
Toolbar toolbar,
View view)
Registers a toolbar defined in an extension manifest to get on-demand updates as extensions are initialized. |
void |
removeActionFilter(ActionFilter filter)
|
static void |
setToolbarManager(ToolbarManager manager)
Set the toolbar manager. |
void |
unRegisterOnDemandToolbar(java.lang.String toolbarId,
Toolbar toolbar)
Unregisters an on-demand toolbar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolbarManager()
Method Detail |
---|
public static ToolbarManager getToolbarManager()
public static void setToolbarManager(ToolbarManager manager)
manager
- the toolbar manager.public void registerOnDemandToolbar(java.lang.String toolbarId, Toolbar toolbar, View view)
toolbarId
- the id of the toolbar to installtoolbar
- the toolbar control to install items intoview
- an optional view. If specified, the toolbar is owned by a view
and all actions will only work with that view's context.public void unRegisterOnDemandToolbar(java.lang.String toolbarId, Toolbar toolbar)
toolbarId
- the id of the toolbar to unregistertoolbar
- the toolbar to unregister@Deprecated public void installToolbar(java.lang.String toolbarId, Toolbar toolbar, View view)
registerOnDemandToolbar(String, Toolbar, View)
and unRegisterOnDemandToolbar(String, Toolbar)
protected abstract IdeAction getAction(java.lang.String cmdId)
public void initialize()
initialize
in interface Addin
AddinManager
public void addActionFilter(ActionFilter filter)
public void removeActionFilter(ActionFilter filter)
public void refilterActions()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |