org.openorb.board
Interface Manager

All Superinterfaces:
ScenarioManager, ThreadManager
All Known Implementing Classes:
Board

public interface Manager
extends ScenarioManager, ThreadManager

OpenORB Management Board / Plugin Manager Interface

Author:
Olivier Modica

Field Summary
static int MESSAGE_ERROR
           
static int MESSAGE_INFO
          Messages types
static int MESSAGE_SUCCESS
           
static int MESSAGE_WARNING
           
static int TRACES_DEBUG
           
static int TRACES_FATAL
           
static int TRACES_NONE
          Traces levels
static int TRACES_NORMAL
           
 
Method Summary
 void displayHelp(java.net.URL page)
          This method displays the specified URL into the Help System
 void displaySimpleDialog(java.lang.String title, java.lang.String message, int type)
          This method displays a dialog according to a title, a message and a type
 void exposeResourceFactory(ResourceFactory factory)
          This method is invoked by a plugin to expose its Resource Factory
 java.awt.datatransfer.Clipboard getClipboard()
          Get the clipboard
 ComponentFactory getComponentFactory()
          This method is invoked by a plugin to get the component factory
 javax.help.HelpSet[] getHelpSets()
          This method returns the current helpsets
 ManagerLayout getManagerLayout()
          Get the plugin layout responsible for placing component areas
 void installPlugin(Plugin plugin)
          This method adds a plugin
 void printMessage(java.lang.String source, java.lang.String trace, int messageType)
          This method prints a trace on the JVM console or in the Management Board traces file - info message
 void printTrace(java.lang.String source, java.lang.String trace, int traceLevel)
          This method prints a trace on the JVM console or in the Management Board traces file - error message
 void setPlugin(Plugin plugin)
          This method sets the current plugin
 void setStatusBarText(java.lang.String text, int msgType)
          This method sets the status bar text and the icon accordingly
 void toFront(Plugin plugin)
          This method puts the plugin to front
 void uninstallPlugin(Plugin plugin)
          This method unregisters a plugin
 void unsetPlugin(Plugin plugin)
          This method unsets the current plugin
 
Methods inherited from interface org.openorb.board.ScenarioManager
clearScenario, getScenario, getScenarioNames, startScenario, stopScenario, storeAction
 
Methods inherited from interface org.openorb.board.ThreadManager
doDelayedUIWork, doDelayedUIWork, doDelayedUIWorks, doDelayedUIWorks, doThreadedWork, doThreadedWork, doThreadedWorks, doThreadedWorks
 

Field Detail

TRACES_NONE

static final int TRACES_NONE
Traces levels

See Also:
Constant Field Values

TRACES_NORMAL

static final int TRACES_NORMAL
See Also:
Constant Field Values

TRACES_DEBUG

static final int TRACES_DEBUG
See Also:
Constant Field Values

TRACES_FATAL

static final int TRACES_FATAL
See Also:
Constant Field Values

MESSAGE_INFO

static final int MESSAGE_INFO
Messages types

See Also:
Constant Field Values

MESSAGE_SUCCESS

static final int MESSAGE_SUCCESS
See Also:
Constant Field Values

MESSAGE_WARNING

static final int MESSAGE_WARNING
See Also:
Constant Field Values

MESSAGE_ERROR

static final int MESSAGE_ERROR
See Also:
Constant Field Values
Method Detail

installPlugin

void installPlugin(Plugin plugin)
This method adds a plugin


uninstallPlugin

void uninstallPlugin(Plugin plugin)
This method unregisters a plugin


toFront

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


setPlugin

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


unsetPlugin

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


getClipboard

java.awt.datatransfer.Clipboard getClipboard()
Get the clipboard


displayHelp

void displayHelp(java.net.URL page)
This method displays the specified URL into the Help System


getHelpSets

javax.help.HelpSet[] getHelpSets()
This method returns the current helpsets


getManagerLayout

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


displaySimpleDialog

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


printTrace

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


printMessage

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


setStatusBarText

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


getComponentFactory

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


exposeResourceFactory

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