Package jadex.base.gui.plugin
Interface IControlCenterPlugin
-
- All Superinterfaces:
IPropertiesProvider
- All Known Implementing Classes:
AbstractComponentPlugin
,AbstractGenericPlugin
,AbstractJCCPlugin
,AbstractServicePlugin
,AppStorePlugin
,ChatPlugin
,ComanalyzerPlugin
,ComponentViewerPlugin
,ConversationPlugin
,DebuggerPlugin
,EmailClientPlugin
,FileTransferPlugin
,LibraryServicePlugin
,MonitoringServicePlugin
,SecurityServicePlugin
,SimulationServicePlugin
,StarterPlugin
,TestCenterPlugin
public interface IControlCenterPlugin extends IPropertiesProvider
Interface for control center plugins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JMenu[]
getMenuBar()
Get the menu bar containing the menus that should be added to the JCC menu bar.java.lang.String
getName()
Return the unique name of this plugin.javax.swing.JComponent[]
getToolBar()
Create a tool bar containing the items that should be added to the JCC tool bar.javax.swing.Icon
getToolIcon(boolean selected)
Return the icon representing this plugin.javax.swing.JComponent
getView()
Return the panel that is shown in the center of the JCC design.IFuture<java.lang.Void>
init(IControlCenter main)
This initializes a plugin and is done in context of a swing thread.boolean
isLazy()
Lazy plugins are inited on first access.IFuture<java.lang.Void>
pushPlatformSettings()
Store settings if any in platform settings service.IFuture<java.lang.Void>
shutdown()
Informs the plugin that it should stop all its computation-
Methods inherited from interface jadex.commons.IPropertiesProvider
getProperties, setProperties
-
-
-
-
Method Detail
-
isLazy
boolean isLazy()
Lazy plugins are inited on first access.
-
init
IFuture<java.lang.Void> init(IControlCenter main)
This initializes a plugin and is done in context of a swing thread.
-
shutdown
IFuture<java.lang.Void> shutdown()
Informs the plugin that it should stop all its computation
-
getName
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.
-
getToolIcon
javax.swing.Icon getToolIcon(boolean selected)
Return the icon representing this plugin. This method may be called before init().
-
getView
javax.swing.JComponent getView()
Return the panel that is shown in the center of the JCC design. This is called in swing thread context.
-
getMenuBar
javax.swing.JMenu[] getMenuBar()
Get the menu bar containing the menus that should be added to the JCC menu bar.
-
getToolBar
javax.swing.JComponent[] getToolBar()
Create a tool bar containing the items that should be added to the JCC tool bar.
-
pushPlatformSettings
IFuture<java.lang.Void> pushPlatformSettings()
Store settings if any in platform settings service.
-
-