Package jadex.base.gui.plugin
Class AbstractJCCPlugin
- java.lang.Object
- 
- jadex.base.gui.plugin.AbstractJCCPlugin
 
- 
- All Implemented Interfaces:
- IControlCenterPlugin,- IPropertiesProvider
 - Direct Known Subclasses:
- AbstractGenericPlugin,- AppStorePlugin,- ComanalyzerPlugin,- ComponentViewerPlugin,- ConversationPlugin,- DebuggerPlugin,- EmailClientPlugin,- FileTransferPlugin,- StarterPlugin,- TestCenterPlugin
 
 public abstract class AbstractJCCPlugin extends java.lang.Object implements IControlCenterPlugin Template class for control center plugins.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractJCCPlugin.ShowRemoteControlCenterHandlerA node handler allowing to spawn new control center views for remote platforms displayed in component tree using proxy nodes.
 - 
Field SummaryFields Modifier and Type Field Description protected static javax.swing.UIDefaultsiconsThe image icons.protected IControlCenterjccThe jcc.
 - 
Constructor SummaryConstructors Constructor Description AbstractJCCPlugin()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JMenu[]createMenuBar()Create menu bar.javax.swing.JComponent[]createToolBar()Create tool bar.javax.swing.JComponentcreateView()Create main panel.static IFuture<java.lang.ClassLoader>getClassLoader(IComponentIdentifier cid, IControlCenter jcc)Find the class loader for a component.IControlCentergetJCC()Get the jcc.javax.swing.JMenu[]getMenuBar()Get the menu bar (if any).IFuture<Properties>getProperties()Return properties to be saved in project.javax.swing.JComponent[]getToolBar()Create the tool bar (if any).javax.swing.JComponentgetView()Get the main view.IFuture<java.lang.Void>init(IControlCenter jcc)Initialize the plugin.booleanisLazy()Lazy plugins are inited on first access.IFuture<java.lang.Void>pushPlatformSettings()Store settings if any in platform settings service.IFuture<java.lang.Void>setProperties(Properties ps)Set properties loaded from project.IFuture<java.lang.Void>shutdown()Shutdown the plugin.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jadex.base.gui.plugin.IControlCenterPlugingetName, getToolIcon
 
- 
 
- 
- 
- 
Field Detail- 
iconsprotected static final javax.swing.UIDefaults icons The image icons.
 - 
jccprotected IControlCenter jcc The jcc.
 
- 
 - 
Method Detail- 
isLazypublic boolean isLazy() Lazy plugins are inited on first access.- Specified by:
- isLazyin interface- IControlCenterPlugin
 
 - 
initpublic IFuture<java.lang.Void> init(IControlCenter jcc) Initialize the plugin.- Specified by:
- initin interface- IControlCenterPlugin
 
 - 
shutdownpublic IFuture<java.lang.Void> shutdown() Shutdown the plugin.- Specified by:
- shutdownin interface- IControlCenterPlugin
 
 - 
getJCCpublic IControlCenter getJCC() Get the jcc.
 - 
getToolBarpublic javax.swing.JComponent[] getToolBar() Create the tool bar (if any).- Specified by:
- getToolBarin interface- IControlCenterPlugin
- Returns:
- The tool bar.
 
 - 
getMenuBarpublic javax.swing.JMenu[] getMenuBar() Get the menu bar (if any).- Specified by:
- getMenuBarin interface- IControlCenterPlugin
- Returns:
- The menu bar.
 
 - 
getViewpublic javax.swing.JComponent getView() Get the main view.- Specified by:
- getViewin interface- IControlCenterPlugin
- Returns:
- The main view.
 
 - 
setPropertiespublic IFuture<java.lang.Void> setProperties(Properties ps) Set properties loaded from project.- Specified by:
- setPropertiesin interface- IPropertiesProvider
 
 - 
getPropertiespublic IFuture<Properties> getProperties() Return properties to be saved in project.- Specified by:
- getPropertiesin interface- IPropertiesProvider
 
 - 
pushPlatformSettingspublic IFuture<java.lang.Void> pushPlatformSettings() Store settings if any in platform settings service.- Specified by:
- pushPlatformSettingsin interface- IControlCenterPlugin
 
 - 
createToolBarpublic javax.swing.JComponent[] createToolBar() Create tool bar.- Returns:
- The tool bar.
 
 - 
createMenuBarpublic javax.swing.JMenu[] createMenuBar() Create menu bar.- Returns:
- The menu bar.
 
 - 
createViewpublic javax.swing.JComponent createView() Create main panel.- Returns:
- The main panel.
 
 - 
getClassLoaderpublic static IFuture<java.lang.ClassLoader> getClassLoader(IComponentIdentifier cid, IControlCenter jcc) Find the class loader for a component. Use component class loader for local components and current platform class loader for remote components.- Parameters:
- cid- The component id.
- Returns:
- The class loader.
 
 
- 
 
-