Class 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 
      ConstructorDescription
      TerminalKeyCommand()
      Default constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectexecute​(org.eclipse.core.commands.ExecutionEvent event)
      Performs the keystroke.
      static TerminalKeyCommandgetInstance()
      Gets the singleton.
      • Methods inherited from class org.eclipse.core.commands.AbstractHandler

        addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
      • Methods inherited from class org.eclipse.core.commands.common.EventManager

        addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TerminalKeyCommand

        public TerminalKeyCommand()
        Default constructor.
    • 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