Default implementation of the CommandTriggerProvider interface that
determines the trigger for a command based on the first parameter type
of the execute method or (if the execute method does not have parameters)
based on the first parameter type of the constructor.
public function getTriggerType(commandType:ClassInfo):ClassInfo
Returns the trigger message for the specified command
type or null if it cannot be determined.
Parameters
| commandType:ClassInfo — the type of the target command
|
Returns | ClassInfo — the trigger message type for the specified command
|
Mon Feb 6 2012, 01:04 AM +01:00