Class NavigatorDemoAction

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
uk.ac.diamond.scisoft.analysis.rcp.actions.NavigatorDemoAction
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class NavigatorDemoAction extends org.eclipse.core.commands.AbstractHandler implements org.eclipse.ui.IObjectActionDelegate
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.eclipse.core.commands.ExecutionEvent event)
     
    void
    run(org.eclipse.jface.action.IAction action)
     
    void
    selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
     
    void
    setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
     

    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 Details

    • NavigatorDemoAction

      public NavigatorDemoAction()
  • 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
    • setActivePart

      public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
      Specified by:
      setActivePart in interface org.eclipse.ui.IObjectActionDelegate
    • run

      public void run(org.eclipse.jface.action.IAction action)
      Specified by:
      run in interface org.eclipse.ui.IActionDelegate
    • selectionChanged

      public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
      Specified by:
      selectionChanged in interface org.eclipse.ui.IActionDelegate