Class PluginsLoader
java.lang.Object
VASSAL.build.module.ExtensionsLoader
VASSAL.build.module.PluginsLoader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Any 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
Fields inherited from class VASSAL.build.module.ExtensionsLoader
EXTENSION_DIR, globalExtMgr, loadedExtensions, loadedIds, SPECIFY_DIR_IN_PREFS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTo
(GameModule mod) protected ModuleExtension
createExtension
(String extname) Translate a String into aCommand
Translate aCommand
into a Stringprotected String
getErrorMessage
(String name, String msg) protected String
getLoadedMessage
(String name, String version) static String
Methods inherited from class VASSAL.build.module.ExtensionsLoader
addExtension, addExtensions
-
Field Details
-
COMMAND_PREFIX
- See Also:
-
-
Constructor Details
-
PluginsLoader
public PluginsLoader()
-
-
Method Details
-
addTo
- Overrides:
addTo
in classExtensionsLoader
-
createExtension
- Overrides:
createExtension
in classExtensionsLoader
- Throws:
ZipException
IOException
-
decode
Description copied from interface:CommandEncoder
Translate a String into aCommand
- Specified by:
decode
in interfaceCommandEncoder
- Overrides:
decode
in classExtensionsLoader
-
encode
Description copied from interface:CommandEncoder
Translate aCommand
into a String- Specified by:
encode
in interfaceCommandEncoder
- Overrides:
encode
in classExtensionsLoader
-
getPluginDirectory
-
getLoadedMessage
- Overrides:
getLoadedMessage
in classExtensionsLoader
-
getErrorMessage
- Overrides:
getErrorMessage
in classExtensionsLoader
-