public interface IControlCenterPlugin
extends jadex.commons.IPropertiesProvider
Modifier and Type | Method and 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.
|
jadex.commons.future.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.
|
jadex.commons.future.IFuture<java.lang.Void> |
pushPlatformSettings()
Store settings if any in platform settings service.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Informs the plugin that it should stop all its computation
|
boolean isLazy()
jadex.commons.future.IFuture<java.lang.Void> init(IControlCenter main)
jadex.commons.future.IFuture<java.lang.Void> shutdown()
java.lang.String getName()
javax.swing.Icon getToolIcon(boolean selected)
javax.swing.JComponent getView()
javax.swing.JMenu[] getMenuBar()
javax.swing.JComponent[] getToolBar()
jadex.commons.future.IFuture<java.lang.Void> pushPlatformSettings()