public class CraftModulePlugin extends ModulePlugin
moduleProperties| Constructor and Description |
|---|
CraftModulePlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Called whenever the module is selected but is already running
|
String |
getDisplayName()
Return the simple name of this module.
|
String |
getInfo()
Return any other information about the module, such as copyright, purpose, etc.
|
KeyStroke |
getKeyStroke()
Get the accelerator key combination needed for the menu.
|
JPanel |
getPropertiesPanel()
Access the properties panel for this module, suitable for adding as a tab in the main Preferences window.
|
void |
saveProperties()
Saves the module's built-in properties as returned by getProperties().
|
void |
setProperties(Properties props)
Set the module's properties directly.
|
void |
shutdown()
Perform whatever cleanup and finalizing necessary.
|
void |
startup(ModulePlugin module)
Launch this module, attaching it to Charger.
|
getModulePropertiesFile, getPropertiespublic String getDisplayName()
ModulePlugingetDisplayName in class ModulePluginpublic KeyStroke getKeyStroke()
ModulePlugingetKeyStroke in class ModulePluginpublic String getInfo()
ModulePlugingetInfo in class ModulePluginpublic void startup(ModulePlugin module)
ModulePluginstartup in class ModulePluginpublic void activate()
ModulePluginactivate in class ModulePluginpublic void shutdown()
ModulePluginshutdown in class ModulePluginpublic JPanel getPropertiesPanel()
ModulePlugingetPropertiesPanel in class ModulePluginpublic void setProperties(Properties props)
ModulePluginsetProperties in class ModulePluginpublic void saveProperties()
ModulePluginsaveProperties in class ModulePlugin