Package VASSAL.build.module
Class ModulePlugin
java.lang.Object
VASSAL.search.AbstractImageFinder
VASSAL.build.AbstractBuildable
VASSAL.build.module.ModuleExtension
VASSAL.build.module.ModulePlugin
- All Implemented Interfaces:
Buildable
,GpIdSupport
,GameComponent
,PluginsLoader.PluginElement
,PropertyNameSource
,ValidityChecker
,Auditable
,ImageSearchTarget
A ModulePlugin is basically identical to a ModuleExtension except
that is loaded earlier and must throw Plugin specific error messages
-
Nested Class Summary
-
Field Summary
Fields inherited from class VASSAL.build.module.ModuleExtension
BASE_MODULE_NAME, BASE_MODULE_VERSION, description, DESCRIPTION, EXTENSION_ID, extensionId, idDisplay, NEXT_PIECESLOT_ID, nextGpId, universal, UNIVERSAL, VASSAL_VERSION_CREATED, VERSION
Fields inherited from class VASSAL.build.AbstractBuildable
buildComponents, validator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen saving a game, each GameComponent should return aCommand
that, when executed, restores the GameComponent to its state when the game was saved If this component has no persistent state, return nullMethods inherited from class VASSAL.build.module.ModuleExtension
addTo, build, checkGpIds, confirmExit, generateGpId, getAllowableConfigureComponents, getAttributeNames, getAttributeValueString, getDataArchive, getDescription, getEditAction, getExtensionId, getHelpFile, getName, getNextGpId, getUniversal, getVersion, remove, removeFrom, save, saveAs, setAttribute, setNextGpId, setup, updateGpIds, updateGpIds, write
Methods inherited from class VASSAL.build.AbstractBuildable
add, addImageNamesRecursively, build, buildString, getAllDescendantComponentsOf, getAncestor, getBuildables, getBuildComponents, getBuildElement, getComponents, getComponentsOf, getNonFolderAncestor, getPropertyNames, setAncestor, validate
Methods inherited from class VASSAL.search.AbstractImageFinder
addLocalImageNames, getAllImageNames, getLocalImageNames
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface VASSAL.script.expression.Auditable
getComponentName, getComponentTypeName
Methods inherited from interface VASSAL.build.Buildable
isMandatory, isMovable, isUnique
-
Constructor Details
-
ModulePlugin
-
-
Method Details
-
getRestoreCommand
Description copied from interface:GameComponent
When saving a game, each GameComponent should return aCommand
that, when executed, restores the GameComponent to its state when the game was saved If this component has no persistent state, return null- Specified by:
getRestoreCommand
in interfaceGameComponent
- Overrides:
getRestoreCommand
in classModuleExtension
-