Package VASSAL.build.module
Class ModuleExtension.RegCmd
java.lang.Object
VASSAL.command.Command
VASSAL.build.module.ModuleExtension.RegCmd
- Direct Known Subclasses:
ModulePlugin.RegCmd
- Enclosing class:
- ModuleExtension
public static class ModuleExtension.RegCmd extends Command
A command that verifies that a certain extension has been loaded
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected void
executeCommand()
Perform the action which this Command representsString
getName()
protected String
getNotLoadedMsg()
String
getVersion()
protected String
getVersionErrorMsg(String v)
protected Command
myUndoCommand()
If the action can be undone, return a Command that performs the inverse action.Methods inherited from class VASSAL.command.Command
append, execute, getDetails, getSubCommands, getUndoCommand, hasNullSubcommands, isAtomic, isLoggable, isNull, stripSubCommands, toString
-
Constructor Details
-
RegCmd
-
-
Method Details
-
getName
-
getVersion
-
executeCommand
protected void executeCommand()Description copied from class:Command
Perform the action which this Command represents- Specified by:
executeCommand
in classCommand
-
getVersionErrorMsg
-
getNotLoadedMsg
-
myUndoCommand
Description copied from class:Command
If the action can be undone, return a Command that performs the inverse action. The Command returned should only undoCommand.executeCommand()
, not the actions of subcommands- Specified by:
myUndoCommand
in classCommand
-