createPreferenceKey(Command command, String stateId) Creates a preference key for the given piece of state on the given
command.
Parameters: command - The command for which the preference key should be created;must not be null. Parameters: stateId - The identifier of the state for which the preference keyshould be created; must not be null.
public CommandService(CommandManager commandManager)(Code)
Constructs a new instance of CommandService using a
command manager.
Parameters: commandManager - The command manager to use; must not be null.
Method Detail
addExecutionListener
final public void addExecutionListener(IExecutionListener listener)(Code)
createPreferenceKey
final static String createPreferenceKey(Command command, String stateId)(Code)
Creates a preference key for the given piece of state on the given
command.
Parameters: command - The command for which the preference key should be created;must not be null. Parameters: stateId - The identifier of the state for which the preference keyshould be created; must not be null. A suitable preference key; never null.
defineUncategorizedCategory
final public void defineUncategorizedCategory(String name, String description)(Code)
deserialize
final public ParameterizedCommand deserialize(String serializedParameterizedCommand) throws NotDefinedException, SerializationException(Code)