Class AddUimaNatureAction

java.lang.Object
org.apache.uima.pear.actions.AddUimaNatureAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class AddUimaNatureAction extends Object implements org.eclipse.ui.IObjectActionDelegate
This class handles the "Add UIMA Nature" action, which appear in the context menu of a project.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(org.eclipse.jface.action.IAction action)
    See IActionDelegate#run(IAction).
    void
    selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
    See IActionDelegate#selectionChanged(IAction, ISelection).
    void
    setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
    Sets the active part.

    Methods inherited from class java.lang.Object

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

    • AddUimaNatureAction

      public AddUimaNatureAction()
      Constructor.
  • Method Details

    • setActivePart

      public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
      Sets the active part.
      Specified by:
      setActivePart in interface org.eclipse.ui.IObjectActionDelegate
      Parameters:
      action - the action
      targetPart - the target part
      See Also:
      • IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)
    • run

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

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