org.openbp.cockpit.plugins.commandline
Class CommandLinePlugin

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.cockpit.plugins.commandline.CommandLinePlugin
All Implemented Interfaces:
Plugin

public class CommandLinePlugin
extends AbstractPlugin

Plugin that checks the command line options of the cockpit and loads processes if specified by the -process option.

Author:
Jens Ferchland

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openbp.jaspira.plugin.AbstractPlugin
AbstractPlugin.StandardPluginEvents
 
Field Summary
static java.lang.String OPENPROCESS
          Open process command line option
 
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
CommandLinePlugin()
           
 
Method Summary
 java.lang.String getResourceCollectionContainerName()
          Gets the name of the resource component the default resource of the plugin belongs to.
 void installFirstPlugin()
          This template method is called before the first plugin instance of this kind is installed.
 
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, installPlugin, 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

OPENPROCESS

public static final java.lang.String OPENPROCESS
Open process command line option

See Also:
Constant Field Values
Constructor Detail

CommandLinePlugin

public CommandLinePlugin()
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

installFirstPlugin

public void installFirstPlugin()
Description copied from class: AbstractPlugin
This template method is called before the first plugin instance of this kind is installed. Can be used to implement peer group behaviour.
Called by the plugin manager before the AbstractPlugin.initializePlugin() method has been called.
If you override this method, make sure to call super.installFirst().

Specified by:
installFirstPlugin in interface Plugin
Overrides:
installFirstPlugin in class AbstractPlugin
See Also:
Plugin.installFirstPlugin()


Copyright © 2011. All Rights Reserved.