Package com.iizigo.term
Class TerminalKeyCommand
- java.lang.Object
- org.eclipse.core.commands.common.EventManager
- org.eclipse.core.commands.AbstractHandler
- com.iizigo.term.TerminalKeyCommand
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
public class TerminalKeyCommand extends org.eclipse.core.commands.AbstractHandler
Keyboard handler for the Terminal window.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description TerminalKeyCommand()
Default constructor.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute(org.eclipse.core.commands.ExecutionEvent event)
Performs the keystroke.static TerminalKeyCommand
getInstance()
Gets the singleton.Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
Method Detail
getInstance
public static TerminalKeyCommand getInstance()
Gets the singleton.- Returns:
- The singleton.
execute
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
Performs the keystroke.- Throws:
org.eclipse.core.commands.ExecutionException