Package jadex.tools.generic
Class AbstractGenericPlugin<E>
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin
-
- jadex.tools.generic.AbstractGenericPlugin<E>
-
- All Implemented Interfaces:
IControlCenterPlugin,IPropertiesProvider
- Direct Known Subclasses:
AbstractComponentPlugin,AbstractServicePlugin
public abstract class AbstractGenericPlugin<E> extends AbstractJCCPlugin
Abstract base plugin that allows to look at viewable components or service.
-
-
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.protected AbstractSelectorPanel<E>selectorpanelThe selector panel.-
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
jcc
-
-
Constructor Summary
Constructors Constructor Description AbstractGenericPlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AbstractSelectorPanel<E>createSelectorPanel()Create the selector panel.javax.swing.JComponentcreateView()Create main panel.java.lang.StringgetHelpID()Get the help id.IFuture<Properties>getProperties()Return properties to be saved in project.AbstractSelectorPanel<E>getSelectorPanel()Get the selector panel.IFuture<java.lang.Void>setProperties(Properties props)Set properties loaded from project.IFuture<java.lang.Void>shutdown()Shutdown the plugin.-
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
createMenuBar, createToolBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.base.gui.plugin.IControlCenterPlugin
getName, getToolIcon
-
-
-
-
Field Detail
-
icons
protected static final javax.swing.UIDefaults icons
The image icons.
-
selectorpanel
protected AbstractSelectorPanel<E> selectorpanel
The selector panel.
-
-
Method Detail
-
createView
public javax.swing.JComponent createView()
Create main panel.- Overrides:
createViewin classAbstractJCCPlugin- Returns:
- The main panel.
-
createSelectorPanel
public abstract AbstractSelectorPanel<E> createSelectorPanel()
Create the selector panel.
-
setProperties
public IFuture<java.lang.Void> setProperties(Properties props)
Set properties loaded from project.- Specified by:
setPropertiesin interfaceIPropertiesProvider- Overrides:
setPropertiesin classAbstractJCCPlugin
-
getProperties
public IFuture<Properties> getProperties()
Return properties to be saved in project.- Specified by:
getPropertiesin interfaceIPropertiesProvider- Overrides:
getPropertiesin classAbstractJCCPlugin
-
getSelectorPanel
public AbstractSelectorPanel<E> getSelectorPanel()
Get the selector panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Shutdown the plugin.- Specified by:
shutdownin interfaceIControlCenterPlugin- Overrides:
shutdownin classAbstractJCCPlugin
-
getHelpID
public java.lang.String getHelpID()
Get the help id.
-
-