net.refractions.udig.ui.operations
Interface IOp

All Known Implementing Classes:
FileExportOperation

public interface IOp

Define user interface needs for a for an operation.

Since:
0.3
Author:
jgarnett

Field Summary
static java.lang.String EXTENSION_POINT
          EXTENSION_POINT field
 
Method Summary
 void op(Display display, java.lang.Object target, IProgressMonitor monitor)
          Each operation is called by the frame work in a seperate thread.
 

Field Detail

EXTENSION_POINT

static final java.lang.String EXTENSION_POINT
EXTENSION_POINT field

See Also:
Constant Field Values
Method Detail

op

void op(Display display,
        java.lang.Object target,
        IProgressMonitor monitor)
        throws java.lang.Exception
Each operation is called by the frame work in a seperate thread. Interaction with the display must be done by calling display.asyncExec() and display.syncExec().

Each operation implementation must define the steps needed to carry out its function.

Parameters:
target - the object that the operation operates on. This parameter will be the same as the type declared in targetClass of the operation extension. If the enablesFor attribute of the operation extension is not 1 or undefined then target will be an array of objects of the type declared in targetClass.
Throws:
java.lang.Exception