Package jadex.tools.generic
Class AbstractServicePlugin
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin
-
- jadex.tools.generic.AbstractGenericPlugin<IService>
-
- jadex.tools.generic.AbstractServicePlugin
-
- All Implemented Interfaces:
IControlCenterPlugin
,IPropertiesProvider
- Direct Known Subclasses:
ChatPlugin
,LibraryServicePlugin
,MonitoringServicePlugin
,SecurityServicePlugin
,SimulationServicePlugin
public abstract class AbstractServicePlugin extends AbstractGenericPlugin<IService>
Abstract plugin for wrapping service views to plugin view.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
AbstractJCCPlugin.ShowRemoteControlCenterHandler
-
-
Field Summary
-
Fields inherited from class jadex.tools.generic.AbstractGenericPlugin
icons, selectorpanel
-
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
jcc
-
-
Constructor Summary
Constructors Constructor Description AbstractServicePlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractSelectorPanel<IService>
createSelectorPanel()
Create the selector panel.abstract IFuture<IAbstractViewerPanel>
createServicePanel(IService service)
Create the component/service panel.java.lang.String
getName()
Get the name.abstract java.lang.Class<?>
getServiceType()
Get the service type.abstract javax.swing.Icon
getToolIcon(boolean selected)
Get the tool icon.-
Methods inherited from class jadex.tools.generic.AbstractGenericPlugin
createView, getHelpID, getProperties, getSelectorPanel, setProperties, shutdown
-
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
createMenuBar, createToolBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
-
-
-
-
Method Detail
-
getServiceType
public abstract java.lang.Class<?> getServiceType()
Get the service type.- Returns:
- The service type.
-
createServicePanel
public abstract IFuture<IAbstractViewerPanel> createServicePanel(IService service)
Create the component/service panel.
-
getToolIcon
public abstract javax.swing.Icon getToolIcon(boolean selected)
Get the tool icon.
-
createSelectorPanel
public AbstractSelectorPanel<IService> createSelectorPanel()
Create the selector panel.- Specified by:
createSelectorPanel
in classAbstractGenericPlugin<IService>
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
-