org.openbp.cockpit.modeler.skins
Class SkinPlugin

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.cockpit.modeler.skins.SkinPlugin
All Implemented Interfaces:
Plugin

public class SkinPlugin
extends AbstractPlugin

Invisible plugin that provides management of modeler skins. It contains the Skin combo box that appears in the toolbar as well as the default skin options.

Author:
Heiko Erhardt

Nested Class Summary
 class SkinPlugin.SkinEvents
          Event module.
 class SkinPlugin.SkinOptions
          Option module containing all core Modeler options.
 
Nested classes/interfaces inherited from class org.openbp.jaspira.plugin.AbstractPlugin
AbstractPlugin.StandardPluginEvents
 
Field Summary
 
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
SkinPlugin()
          Default constructor.
 
Method Summary
protected  void fillSkinSelectionBox()
          Fills the skin selection box with the available skins.
 java.lang.String getResourceCollectionContainerName()
          Gets the name of the resource component the default resource of the plugin belongs to.
protected  void pluginInstalled()
          This template method is called after the plugin has been installed.
protected  void updateSkinSelectionBox(Skin skin)
          Displays the given skin in the selection box.
 
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, installPlugin, installPluginContent, matchesPeerGroup, matchesPeerGroups, passDown, 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
 

Constructor Detail

SkinPlugin

public SkinPlugin()
Default constructor.

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

pluginInstalled

protected void pluginInstalled()
Description copied from class: AbstractPlugin
This template method is called after the plugin has been installed.

Overrides:
pluginInstalled in class AbstractPlugin
See Also:
AbstractPlugin.pluginInstalled()

updateSkinSelectionBox

protected void updateSkinSelectionBox(Skin skin)
Displays the given skin in the selection box.

Parameters:
skin - Skin or null

fillSkinSelectionBox

protected void fillSkinSelectionBox()
Fills the skin selection box with the available skins.



Copyright © 2011. All Rights Reserved.