Package jadex.tools.simcenter
Class SimulationServicePlugin
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin
-
- jadex.tools.generic.AbstractGenericPlugin<IService>
-
- jadex.tools.generic.AbstractServicePlugin
-
- jadex.tools.simcenter.SimulationServicePlugin
-
- All Implemented Interfaces:
IControlCenterPlugin,IPropertiesProvider
public class SimulationServicePlugin extends AbstractServicePlugin
Plugin for starting components.
-
-
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 javax.swing.JRadioButtonMenuItemtime_dateThe date time setting menu item.protected javax.swing.JRadioButtonMenuItemtime_longThe long time setting menu item.protected javax.swing.JRadioButtonMenuItemtime_relThe relative time setting menu item.-
Fields inherited from class jadex.tools.generic.AbstractGenericPlugin
selectorpanel
-
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
jcc
-
-
Constructor Summary
Constructors Constructor Description SimulationServicePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JMenu[]createMenuBar()Create the menu bar.IFuturecreateServicePanel(IService service)Create the component panel.java.lang.ClassgetServiceType()Get the service type.javax.swing.IcongetToolIcon(boolean selected)Get the icon.IFuturesetProperties(Properties props)Set the properties.protected voidupdateMenu()Change menu item state according to panel settings.-
Methods inherited from class jadex.tools.generic.AbstractServicePlugin
createSelectorPanel, getName
-
Methods inherited from class jadex.tools.generic.AbstractGenericPlugin
createView, getHelpID, getProperties, getSelectorPanel, shutdown
-
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
createToolBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
-
-
-
-
Field Detail
-
icons
protected static final javax.swing.UIDefaults icons
The image icons.
-
time_long
protected javax.swing.JRadioButtonMenuItem time_long
The long time setting menu item.
-
time_rel
protected javax.swing.JRadioButtonMenuItem time_rel
The relative time setting menu item.
-
time_date
protected javax.swing.JRadioButtonMenuItem time_date
The date time setting menu item.
-
-
Method Detail
-
getServiceType
public java.lang.Class getServiceType()
Get the service type.- Specified by:
getServiceTypein classAbstractServicePlugin- Returns:
- The service type.
-
createServicePanel
public IFuture createServicePanel(IService service)
Create the component panel.- Specified by:
createServicePanelin classAbstractServicePlugin
-
getToolIcon
public javax.swing.Icon getToolIcon(boolean selected)
Get the icon.- Specified by:
getToolIconin interfaceIControlCenterPlugin- Specified by:
getToolIconin classAbstractServicePlugin
-
createMenuBar
public javax.swing.JMenu[] createMenuBar()
Create the menu bar.- Overrides:
createMenuBarin classAbstractJCCPlugin- Returns:
- The menubar.
-
updateMenu
protected void updateMenu()
Change menu item state according to panel settings.
-
setProperties
public IFuture setProperties(Properties props)
Set the properties. Updates menu after properties are set.- Specified by:
setPropertiesin interfaceIPropertiesProvider- Overrides:
setPropertiesin classAbstractGenericPlugin<IService>
-
-