org.openorb.board

Interface Manager

public interface Manager extends ScenarioManager, ThreadManager

OpenORB Management Board / Plugin Manager Interface

Author: Olivier Modica

Field Summary
intMESSAGE_ERROR
intMESSAGE_INFO
Messages types
intMESSAGE_SUCCESS
intMESSAGE_WARNING
intTRACES_DEBUG
intTRACES_FATAL
intTRACES_NONE
Traces levels
intTRACES_NORMAL
Method Summary
voiddisplayHelp(URL page)
This method displays the specified URL into the Help System
voiddisplaySimpleDialog(String title, String message, int type)
This method displays a dialog according to a title, a message and a type
voidexposeResourceFactory(ResourceFactory factory)
This method is invoked by a plugin to expose its Resource Factory
ClipboardgetClipboard()
Get the clipboard
ComponentFactorygetComponentFactory()
This method is invoked by a plugin to get the component factory
HelpSet[]getHelpSets()
This method returns the current helpsets
ManagerLayoutgetManagerLayout()
Get the plugin layout responsible for placing component areas
voidinstallPlugin(Plugin plugin)
This method adds a plugin
voidprintMessage(String source, String trace, int messageType)
This method prints a trace on the JVM console or in the Management Board traces file - info message
voidprintTrace(String source, String trace, int traceLevel)
This method prints a trace on the JVM console or in the Management Board traces file - error message
voidsetPlugin(Plugin plugin)
This method sets the current plugin
voidsetStatusBarText(String text, int msgType)
This method sets the status bar text and the icon accordingly
voidtoFront(Plugin plugin)
This method puts the plugin to front
voiduninstallPlugin(Plugin plugin)
This method unregisters a plugin
voidunsetPlugin(Plugin plugin)
This method unsets the current plugin

Field Detail

MESSAGE_ERROR

public int MESSAGE_ERROR

MESSAGE_INFO

public int MESSAGE_INFO
Messages types

MESSAGE_SUCCESS

public int MESSAGE_SUCCESS

MESSAGE_WARNING

public int MESSAGE_WARNING

TRACES_DEBUG

public int TRACES_DEBUG

TRACES_FATAL

public int TRACES_FATAL

TRACES_NONE

public int TRACES_NONE
Traces levels

TRACES_NORMAL

public int TRACES_NORMAL

Method Detail

displayHelp

public void displayHelp(URL page)
This method displays the specified URL into the Help System

displaySimpleDialog

public void displaySimpleDialog(String title, String message, int type)
This method displays a dialog according to a title, a message and a type

exposeResourceFactory

public void exposeResourceFactory(ResourceFactory factory)
This method is invoked by a plugin to expose its Resource Factory

getClipboard

public Clipboard getClipboard()
Get the clipboard

getComponentFactory

public ComponentFactory getComponentFactory()
This method is invoked by a plugin to get the component factory

getHelpSets

public HelpSet[] getHelpSets()
This method returns the current helpsets

getManagerLayout

public ManagerLayout getManagerLayout()
Get the plugin layout responsible for placing component areas

installPlugin

public void installPlugin(Plugin plugin)
This method adds a plugin

printMessage

public void printMessage(String source, String trace, int messageType)
This method prints a trace on the JVM console or in the Management Board traces file - info message

printTrace

public void printTrace(String source, String trace, int traceLevel)
This method prints a trace on the JVM console or in the Management Board traces file - error message

setPlugin

public void setPlugin(Plugin plugin)
This method sets the current plugin

setStatusBarText

public void setStatusBarText(String text, int msgType)
This method sets the status bar text and the icon accordingly

toFront

public void toFront(Plugin plugin)
This method puts the plugin to front

uninstallPlugin

public void uninstallPlugin(Plugin plugin)
This method unregisters a plugin

unsetPlugin

public void unsetPlugin(Plugin plugin)
This method unsets the current plugin