Class NewSession

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.term.session.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
    Constructor
    Description
    Eclipse constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.eclipse.core.commands.ExecutionEvent event)
    Performs the operation.
    boolean
    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 Details

    • NewSession

      public NewSession()
      Eclipse constructor.
  • Method Details

    • execute

      public 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