public interface ReadyApiModule extends ScannableReadyApiModule
Modifier and Type | Method and Description |
---|---|
void |
activate()
Called when the module is selected in the module-bar
|
void |
deactivate()
Called when another module is selected in the module-bar
|
void |
displayActivationGui() |
String |
getDescription()
Returns the description of the module for display purposes.
|
ModuleGui |
getGui()
Gets the GUI object for this Module
|
String |
getId()
Returns a unique ID for this module - for referring between modules
|
int |
getMenuPosition()
Returns the menu position of this module, see ReadyApiModulePositions class
|
ModuleType |
getModuleType() |
void |
initialize()
Method to initialize the module.
|
boolean |
isEnabled() |
getName
String getId()
String getDescription()
int getMenuPosition()
void initialize() throws ModuleInitializationException
ModuleInitializationException
ModuleGui getGui()
void activate()
void deactivate()
ModuleType getModuleType()
boolean isEnabled()
void displayActivationGui()
Copyright © 2019. All rights reserved.