org.openbp.cockpit
Class Cockpit

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.jaspira.gui.plugin.ApplicationBase
          extended by org.openbp.cockpit.Cockpit
All Implemented Interfaces:
Plugin

public class Cockpit
extends ApplicationBase

Main class of the OpenBP cockpit.

Author:
Jens Ferchland

Nested Class Summary
 class Cockpit.HelpEvents
          This event module containts event handlers for the implementation of functions of the help menu.
 
Nested classes/interfaces inherited from class org.openbp.jaspira.gui.plugin.ApplicationBase
ApplicationBase.CloseEvents, ApplicationBase.MenuInteractionEvents, ApplicationBase.PageInteractionEvents
 
Nested classes/interfaces inherited from class org.openbp.jaspira.plugin.AbstractPlugin
AbstractPlugin.StandardPluginEvents
 
Field Summary
static boolean disableTimersForDebug
          Debug flag: Disable all continously running timers (useful for profiling and memory leak detection)
 
Fields inherited from class org.openbp.jaspira.plugin.AbstractPlugin
PROPERTY_CONDITION, PROPERTY_DESCRIPTION, PROPERTY_ICON, PROPERTY_NAME, PROPERTY_SEQUENCE, PROPERTY_TITLE, PROPERTY_VENDOR, PROPERTY_VERSION
 
Fields inherited from interface org.openbp.jaspira.plugin.Plugin
ID_DELIMETER, LEVEL_APPLICATION, LEVEL_FRAME, LEVEL_PAGE, LEVEL_PLUGIN
 
Constructor Summary
Cockpit()
          Constructor.
 
Method Summary
 void displayRestartHint()
          Prints a Cockpit restart hint.
protected  java.lang.Class getAboutBoxClass()
          Returns the class of the about box plugin.
 java.lang.String getResourceCollectionContainerName()
          Gets the name of the resource component the default resource of the plugin belongs to.
static void main(java.lang.String[] args)
          Main method.
protected  void performPreload()
          Preloads certain configuration data.
protected  void postInstallApplication()
          Template method that is called after the actual installation of the application base plugin is performed.
protected  void preInstallApplication()
          Template method that is called before the actual installation of the application base plugin is performed.
 
Methods inherited from class org.openbp.jaspira.gui.plugin.ApplicationBase
addFrame, addFrame, addFrame, addPage, buildMenus, getActiveFrame, getActivePlugin, getFrameCount, getInstance, getPage, hasFrameForGraphicsConfiguration, hasInstance, installLookAndFeel, installPlugin, isInitialized, showPage, showStatusText
 
Methods inherited from class org.openbp.jaspira.plugin.AbstractPlugin
addActionKeySequence, addPlugin, addToPeerGroup, canClose, closeCanceled, containsStackedEvent, fireEvent, fireEvent, fireEvent, getAction, getChildPlugins, getClassName, getCondition, getDescendantPlugins, getDescription, getEventActionNames, getEventModules, getExternalActions, getExternalEventModuleClasses, getExternalOptionModuleClasses, getIcon, getIcon, getLevel, getName, getOptionModules, getParentPlugin, getPeerGroup, getPeerGroupNames, getPeerGroups, getPluginResourceCollection, getPluginState, getSubClients, getSubTitle, getTitle, getUniqueId, getVendor, getVersion, handleEvent, handleKeySequence, inheritEvent, initializeFromPluginProfile, initializePlugin, initializeResources, installFirstPlugin, installPluginContent, matchesPeerGroup, matchesPeerGroups, passDown, pluginInstalled, pluginUninstalled, preClose, receiveEvent, removeFromPeerGroup, removePlugin, removeStackedEvent, requestClose, setDescription, setIcon, setName, setParentPlugin, setPluginState, setResourceCollection, setTitle, stackEvent, toString, uninstallLastPlugin, uninstallPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

disableTimersForDebug

public static boolean disableTimersForDebug
Debug flag: Disable all continously running timers (useful for profiling and memory leak detection)

Constructor Detail

Cockpit

public Cockpit()
Constructor. Initializes the application. This will register the ApplicationBase as a regular plugin. This in turn will invoke the install method, which may perform further plugin loading etc.

Method Detail

getResourceCollectionContainerName

public java.lang.String getResourceCollectionContainerName()
Description copied from class: AbstractPlugin
Gets the name of the resource component the default resource of the plugin belongs to.

Specified by:
getResourceCollectionContainerName in class AbstractPlugin
Returns:
The container name

preInstallApplication

protected void preInstallApplication()
Template method that is called before the actual installation of the application base plugin is performed.

Overrides:
preInstallApplication in class ApplicationBase

postInstallApplication

protected void postInstallApplication()
Template method that is called after the actual installation of the application base plugin is performed.

Overrides:
postInstallApplication in class ApplicationBase

getAboutBoxClass

protected java.lang.Class getAboutBoxClass()
Description copied from class: ApplicationBase
Returns the class of the about box plugin. Override this to return your own AboutBoxPlugin plugin.

Overrides:
getAboutBoxClass in class ApplicationBase
See Also:
ApplicationBase.getAboutBoxClass()

displayRestartHint

public void displayRestartHint()
Prints a Cockpit restart hint.


performPreload

protected void performPreload()
Preloads certain configuration data.


main

public static void main(java.lang.String[] args)
Main method.



Copyright © 2011. All Rights Reserved.