| net.refractions.udig.ui.operations.OpAction
OpAction | public class OpAction extends Action implements ISelectionListener(Code) | | Creates an Action that runs an operation in a background thread when triggered.
author: jeichar since: 0.3 |
Inner Class :class RunJob extends Job | |
Constructor Summary | |
public | OpAction(IConfigurationElement element) Subclasses must have the same constructor signature as this constructor,
creates OpActions using this
constructor. |
configElem | IConfigurationElement configElem(Code) | | |
selection | volatile IStructuredSelection selection(Code) | | |
OpAction | public OpAction(IConfigurationElement element)(Code) | | Subclasses must have the same constructor signature as this constructor,
creates OpActions using this
constructor.
Construct OpAction .
|
isValid | public boolean isValid(Object obj)(Code) | | Determines whether the current operation can operate on the object.
true if object can be used as the operation input. |
runWithEvent | public void runWithEvent(Event event)(Code) | | |
selectionChanged | public void selectionChanged(IWorkbenchPart part, ISelection selection)(Code) | | See Also: org.eclipse.ui.ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPartorg.eclipse.jface.viewers.ISelection) |
updateEnablement | public void updateEnablement(IStructuredSelection structured, boolean executeSynchronous)(Code) | | Updates the enablement status of this action.
Parameters: structured - the selection to use to determine the enablement. Parameters: executeSynchronous - |
|
|