org.openorb.board
Class Plugin
public abstract
class
Plugin
extends Object
implements DataTransferManager
OpenORB Management Board / Plugin Interface
Author: Olivier Modica
Method Summary |
void | activate()
This method is invoked by the manager to activate the plugin |
abstract Manager | getManager()
Get the manager associated with this plugin |
Action[][] | getMenuBarActions()
This method is invoked by the manager to get the actions provided by the menubar.
|
abstract PluginLayout | getPluginLayout()
Get the plugin layout responsible for placing component areas |
String | getTitle()
This method returns the plugin title |
Action[][] | getToolBarActions()
This method is invoked by the manager to get the actions provided by the toolbar.
|
abstract void | init(Manager manager, ORB orb, POA poa)
This method is invoked by the manager to init the plugin |
boolean | isInvisible()
This method is invoked by the manager to check if the plugin should be invisible |
void | passivate()
This method is invoked by the manager to passivate the plugin |
abstract void | setComponentFactory(ComponentFactory factory)
Set the component factory responsible for creating basic components |
public void activate()
This method is invoked by the manager to activate the plugin
public abstract
Manager getManager()
Get the manager associated with this plugin
public Action[][] getMenuBarActions()
This method is invoked by the manager to get the actions provided by the menubar.
The array of actions represent the different menus. The fist Action is the Menu, the
followings are MenuItems.
Get the plugin layout responsible for placing component areas
public String getTitle()
This method returns the plugin title
public Action[][] getToolBarActions()
This method is invoked by the manager to get the actions provided by the toolbar.
The array of actions represent the different buttons. The fist Action is the first
ToolBar, the followings are other ToolBars ( placed after the Copy/Cut/Paste toolbar ).
public abstract void init(
Manager manager, ORB orb, POA poa)
This method is invoked by the manager to init the plugin
public boolean isInvisible()
This method is invoked by the manager to check if the plugin should be invisible
public void passivate()
This method is invoked by the manager to passivate the plugin
Set the component factory responsible for creating basic components