Class EpicsCameraStartHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
uk.ac.gda.client.live.stream.controls.handlers.EpicsCameraStartHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2, org.eclipse.ui.commands.IElementUpdater

public class EpicsCameraStartHandler extends org.eclipse.core.commands.AbstractHandler implements org.eclipse.ui.commands.IElementUpdater
A handler to start the camera giving the image in this LiveStreamView.

This implementation starts the camera acquisition.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    execute(org.eclipse.core.commands.ExecutionEvent event)
     
    void
    updateElement(org.eclipse.ui.menus.UIElement element, Map parameters)
     

    Methods inherited from class org.eclipse.core.commands.AbstractHandler

    addHandlerListener, 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 Details

    • EpicsCameraStartHandler

      public EpicsCameraStartHandler()
  • Method Details

    • execute

      public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
      Specified by:
      execute in interface org.eclipse.core.commands.IHandler
      Throws:
      org.eclipse.core.commands.ExecutionException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.core.commands.IHandler
      Overrides:
      dispose in class org.eclipse.core.commands.AbstractHandler
    • updateElement

      public void updateElement(org.eclipse.ui.menus.UIElement element, Map parameters)
      Specified by:
      updateElement in interface org.eclipse.ui.commands.IElementUpdater