Package org.apache.uima.pear.actions
Class AddUimaNatureAction
java.lang.Object
org.apache.uima.pear.actions.AddUimaNatureAction
- All Implemented Interfaces:
org.eclipse.ui.IActionDelegate
,org.eclipse.ui.IObjectActionDelegate
This class handles the "Add UIMA Nature" action, which appear in the context menu of a project.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
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 interfaceorg.eclipse.ui.IObjectActionDelegate
- Parameters:
action
- the actiontargetPart
- the target part- See Also:
-
run
public void run(org.eclipse.jface.action.IAction action) See IActionDelegate#run(IAction).- Specified by:
run
in interfaceorg.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 interfaceorg.eclipse.ui.IActionDelegate
- Parameters:
action
- the actionselection
- the selection
-