public final class KeyboardInputModeCommandBinding extends KeyboardInputModeBinding
KeyboardInputMode
's factory methods that can be
used to remove()
the created command binding again.
Instances of this class can only be obtained from
KeyboardInputMode.addCommandBinding(ICommand, KeyboardInputMode.ExecuteCommandHandler, KeyboardInputMode.CanExecuteCommandHandler)
.
Modifier and Type | Method and Description |
---|---|
KeyboardInputMode.CanExecuteCommandHandler |
getCanExecuteHandler() |
ICommand |
getCommand()
Gets the
ICommand that is associated with this binding. |
KeyboardInputMode.ExecuteCommandHandler |
getExecuteHandler() |
void |
remove()
Removes the binding represented by this instance from the
KeyboardInputMode it has been created for. |
getKeyboardInputMode
public KeyboardInputMode.CanExecuteCommandHandler getCanExecuteHandler()
public ICommand getCommand()
ICommand
that is associated with this binding.getCommand
in class KeyboardInputModeBinding
public KeyboardInputMode.ExecuteCommandHandler getExecuteHandler()
public void remove()
KeyboardInputMode
it has been created for.
Once this method has been called, the instance can be
remove
in class KeyboardInputModeBinding