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.UIDefaults
icons
The image icons.protected AbstractSelectorPanel<E>
selectorpanel
The 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.JComponent
createView()
Create main panel.java.lang.String
getHelpID()
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:
createView
in 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:
setProperties
in interfaceIPropertiesProvider
- Overrides:
setProperties
in classAbstractJCCPlugin
-
getProperties
public IFuture<Properties> getProperties()
Return properties to be saved in project.- Specified by:
getProperties
in interfaceIPropertiesProvider
- Overrides:
getProperties
in classAbstractJCCPlugin
-
getSelectorPanel
public AbstractSelectorPanel<E> getSelectorPanel()
Get the selector panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Shutdown the plugin.- Specified by:
shutdown
in interfaceIControlCenterPlugin
- Overrides:
shutdown
in classAbstractJCCPlugin
-
getHelpID
public java.lang.String getHelpID()
Get the help id.
-
-