register

public boolean register(CommandMap commandMap)

Registers this command to getClassById CommandMap. Once called it only allows changes the registered CommandMap

Return

true if the registration was successful (the current registered CommandMap was the passed CommandMap or null) false otherwise

Parameters

commandMap

the CommandMap to register this command to