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

public static final int TRACES_NONE
Traces levels

TRACES_NORMAL

public static final int TRACES_NORMAL

TRACES_DEBUG

public static final int TRACES_DEBUG

TRACES_FATAL

public static final int TRACES_FATAL

MESSAGE_INFO

public static final int MESSAGE_INFO
Messages types

MESSAGE_SUCCESS

public static final int MESSAGE_SUCCESS

MESSAGE_WARNING

public static final int MESSAGE_WARNING

MESSAGE_ERROR

public static final int MESSAGE_ERROR
Method Detail

installPlugin

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

uninstallPlugin

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

toFront

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

setPlugin

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

unsetPlugin

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

getClipboard

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

displayHelp

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

getHelpSets

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

getManagerLayout

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

displaySimpleDialog

public 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

public 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

public 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

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

getComponentFactory

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

exposeResourceFactory

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