Class NewSession

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class NewSession
    extends org.eclipse.core.commands.AbstractHandler
    Handler implementing the New Terminal Session.
    • Constructor Summary

      Constructors 
      ConstructorDescription
      NewSession()
      Eclipse constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectexecute​(org.eclipse.core.commands.ExecutionEvent event)
      Performs the operation.
      booleanisEnabled()
      Checks if enabled.
      • Methods inherited from class org.eclipse.core.commands.AbstractHandler

        addHandlerListener, dispose, fireHandlerChanged, hasListeners, 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

      • NewSession

        public NewSession()
        Eclipse constructor.
    • Method Detail

      • execute

        public java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)
                                 throws org.eclipse.core.commands.ExecutionException
        Performs the operation.
        Throws:
        org.eclipse.core.commands.ExecutionException
      • isEnabled

        public boolean isEnabled()
        Checks if enabled.
        Specified by:
        isEnabled in interface org.eclipse.core.commands.IHandler
        Overrides:
        isEnabled in class org.eclipse.core.commands.AbstractHandler