public static interface KeyboardInputMode.CanExecuteCommandHandler
ICommand
can be executed for the given parameter set.Modifier and Type | Method and Description |
---|---|
boolean |
canExecuteCommand(ICommand command,
Object parameter,
Object source)
Defines the contract for determining whether a given
ICommand can be executed for the given parameter set. |
boolean canExecuteCommand(ICommand command, Object parameter, Object source)
ICommand
can be executed for the given parameter set.command
- The command to test executability.parameter
- The optional parameter for the command execution.source
- The source for which the command shall be executed.true
, iff the command can been executed for the given parameter set.