Package VASSAL.build.module
Class PluginsLoader
java.lang.Object
VASSAL.build.module.ExtensionsLoader
VASSAL.build.module.PluginsLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAny components that are added to the module by a Plugin MUST implement PluginElement to prevent them being written to the buildFile when saving the module.Nested classes/interfaces inherited from class VASSAL.build.module.ExtensionsLoader
ExtensionsLoader.LoadExtensionException -
Field Summary
FieldsFields inherited from class VASSAL.build.module.ExtensionsLoader
EXTENSION_DIR, globalExtMgr, loadedExtensions, loadedIds, SPECIFY_DIR_IN_PREFS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTo(GameModule mod) protected ModuleExtensioncreateExtension(String extname) Translate a String into aCommandTranslate aCommandinto a Stringprotected StringgetErrorMessage(String name, String msg) protected StringgetLoadedMessage(String name, String version) static StringMethods inherited from class VASSAL.build.module.ExtensionsLoader
addExtension, addExtensions
-
Field Details
-
COMMAND_PREFIX
- See Also:
-
-
Constructor Details
-
PluginsLoader
public PluginsLoader()
-
-
Method Details
-
addTo
- Overrides:
addToin classExtensionsLoader
-
createExtension
- Overrides:
createExtensionin classExtensionsLoader- Throws:
ZipExceptionIOException
-
decode
Description copied from interface:CommandEncoderTranslate a String into aCommand- Specified by:
decodein interfaceCommandEncoder- Overrides:
decodein classExtensionsLoader
-
encode
Description copied from interface:CommandEncoderTranslate aCommandinto a String- Specified by:
encodein interfaceCommandEncoder- Overrides:
encodein classExtensionsLoader
-
getPluginDirectory
-
getLoadedMessage
- Overrides:
getLoadedMessagein classExtensionsLoader
-
getErrorMessage
- Overrides:
getErrorMessagein classExtensionsLoader
-