public class NoderPlugIn extends AbstractThreadedUiPlugIn
| Modifier and Type | Class and Description |
|---|---|
static class |
NoderPlugIn.Processor
Enumeration to choose if elements are processed and if they are only
noded or also splitted.
|
enableCheck, workbenchContextshortcutKeys, shortcutModifiers| Constructor and Description |
|---|
NoderPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
EnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Method to be overridden by implementations to execute the plug-in.
|
void |
initialize(PlugInContext context)
Method to be overridden by implementations to initialize the plug-in.
|
void |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task.
|
void |
setFindIntersections(boolean find_intersections) |
void |
setInterpolatedZDp(int interpolated_z_dp) |
void |
setInterpolateZ(boolean interpolate_z) |
void |
setLayerName(java.lang.String layerName) |
void |
setLineProcessor(NoderPlugIn.Processor processor) |
void |
setPolygonProcessor(NoderPlugIn.Processor processor) |
void |
setSnapRounding(boolean snap_rounding) |
void |
setSnapRoundingDp(int snap_rounding_dp) |
void |
setUseSelected(boolean use_selected) |
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextaddParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringpublic void initialize(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIninitialize in interface PlugIninitialize in class AbstractUiPlugIncontext - The plug-in context.java.lang.Exceptionpublic EnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public boolean execute(PlugInContext context) throws java.lang.Exception
AbstractUiPlugInexecute in interface PlugInexecute in class AbstractUiPlugIncontext - The plug-in context.java.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic void setUseSelected(boolean use_selected)
public void setLayerName(java.lang.String layerName)
public void setSnapRounding(boolean snap_rounding)
public void setSnapRoundingDp(int snap_rounding_dp)
public void setFindIntersections(boolean find_intersections)
public void setLineProcessor(NoderPlugIn.Processor processor)
public void setPolygonProcessor(NoderPlugIn.Processor processor)
public void setInterpolateZ(boolean interpolate_z)
public void setInterpolatedZDp(int interpolated_z_dp)
public void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugInmonitor - context to which this task can report its progress and
check whether a party has requested its cancellationjava.lang.Exception