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.UIDefaults
icons
The 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.JComponent
createView()
Create main panel.java.lang.String
getName()
Return the unique name of this plugin.IFuture
getProperties()
Advices the panel provide its setting as properties (if any).javax.swing.Icon
getToolIcon(boolean selected)
Get the icon.IFuture
pushPlatformSettings()
Store settings if any in platform settings service.IFuture
setProperties(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:
setProperties
in interfaceIPropertiesProvider
- Overrides:
setProperties
in 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:
getProperties
in interfaceIPropertiesProvider
- Overrides:
getProperties
in classAbstractJCCPlugin
-
pushPlatformSettings
public IFuture pushPlatformSettings()
Store settings if any in platform settings service.- Specified by:
pushPlatformSettings
in interfaceIControlCenterPlugin
- Overrides:
pushPlatformSettings
in classAbstractJCCPlugin
-
getToolIcon
public javax.swing.Icon getToolIcon(boolean selected)
Get the icon.
-
createToolBar
public javax.swing.JComponent[] createToolBar()
Create tool bar.- Overrides:
createToolBar
in classAbstractJCCPlugin
- Returns:
- The tool bar.
-
createView
public javax.swing.JComponent createView()
Description copied from class:AbstractJCCPlugin
Create main panel.- Overrides:
createView
in classAbstractJCCPlugin
- Returns:
- The main panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Shutdown the plugin.- Specified by:
shutdown
in interfaceIControlCenterPlugin
- Overrides:
shutdown
in classAbstractJCCPlugin
-
-