Package jadex.tools.starter
Class StarterPlugin
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin
-
- jadex.tools.starter.StarterPlugin
-
- All Implemented Interfaces:
IControlCenterPlugin,IPropertiesProvider
public class StarterPlugin extends AbstractJCCPlugin
Plugin for starting components.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
AbstractJCCPlugin.ShowRemoteControlCenterHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.swing.UIDefaultsiconsThe image icons.-
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
jcc
-
-
Constructor Summary
Constructors Constructor Description StarterPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent[]createToolBar()Create tool bar.javax.swing.JComponentcreateView()Create main panel.java.lang.StringgetName()Return the unique name of this plugin.IFuturegetProperties()Advices the panel provide its setting as properties (if any).javax.swing.IcongetToolIcon(boolean selected)Get the icon.IFuturepushPlatformSettings()Store settings if any in platform settings service.IFuturesetProperties(Properties props)Advices the the panel to restore its properties from the argumentIFuture<java.lang.Void>shutdown()Shutdown the plugin.-
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
createMenuBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Return the unique name of this plugin. This method may be called before init(). Used e.g. to store properties of each plugin.
-
setProperties
public IFuture setProperties(Properties props)
Advices the the panel to restore its properties from the argument- Specified by:
setPropertiesin interfaceIPropertiesProvider- Overrides:
setPropertiesin classAbstractJCCPlugin
-
getProperties
public IFuture getProperties()
Advices the panel provide its setting as properties (if any). This is done on project close or save.- Specified by:
getPropertiesin interfaceIPropertiesProvider- Overrides:
getPropertiesin classAbstractJCCPlugin
-
pushPlatformSettings
public IFuture pushPlatformSettings()
Store settings if any in platform settings service.- Specified by:
pushPlatformSettingsin interfaceIControlCenterPlugin- Overrides:
pushPlatformSettingsin classAbstractJCCPlugin
-
getToolIcon
public javax.swing.Icon getToolIcon(boolean selected)
Get the icon.
-
createToolBar
public javax.swing.JComponent[] createToolBar()
Create tool bar.- Overrides:
createToolBarin classAbstractJCCPlugin- Returns:
- The tool bar.
-
createView
public javax.swing.JComponent createView()
Description copied from class:AbstractJCCPluginCreate main panel.- Overrides:
createViewin classAbstractJCCPlugin- Returns:
- The main panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Shutdown the plugin.- Specified by:
shutdownin interfaceIControlCenterPlugin- Overrides:
shutdownin classAbstractJCCPlugin
-
-