| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAction
net.refractions.udig.ui.operations.OpAction
public class OpAction
Creates an Action that runs an operation in a background thread when triggered.
| Constructor Summary | |
|---|---|
OpAction(IConfigurationElement element)
Subclasses must have the same constructor signature as this constructor, OperationMenuFactory creates OpActions using this constructor.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getMenuPath()
 | 
 boolean | 
isValid(java.lang.Object obj)
Determines whether the current operation can operate on the object.  | 
 void | 
run()
 | 
 void | 
runWithEvent(Event event)
 | 
 void | 
selectionChanged(IWorkbenchPart part,
                 ISelection selection)
 | 
 void | 
setCategory(OperationCategory category)
 | 
 java.lang.String | 
toString()
 | 
 void | 
updateEnablement(IStructuredSelection structured,
                 boolean executeSynchronous)
Updates the enablement status of this action.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public OpAction(IConfigurationElement element)
OpAction.
| Method Detail | 
|---|
public void run()
public void runWithEvent(Event event)
public boolean isValid(java.lang.Object obj)
public void selectionChanged(IWorkbenchPart part,
                             ISelection selection)
org.eclipse.ui.ISelectionListener#selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
public void updateEnablement(IStructuredSelection structured,
                             boolean executeSynchronous)
structured - the selection to use to determine the enablement.executeSynchronous - public void setCategory(OperationCategory category)
public java.lang.String getMenuPath()
public java.lang.String toString()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||