public class CreatePolygonGridFromSelectedImageLayerPlugIn extends AbstractPlugIn implements ThreadedPlugIn
| Modifier and Type | Field and Description | 
|---|---|
int | 
maxCells  | 
boolean | 
removeZeroCells  | 
java.lang.String | 
sMaxCellsToDisplay  | 
java.lang.String | 
sRemoveZeroCells  | 
shortcutKeys, shortcutModifiers| Constructor and Description | 
|---|
CreatePolygonGridFromSelectedImageLayerPlugIn()  | 
| Modifier and Type | Method and Description | 
|---|---|
static MultiEnableCheck | 
createEnableCheck(WorkbenchContext workbenchContext)  | 
boolean | 
execute(PlugInContext context)
Performs the action for this plugin. 
 | 
java.lang.String | 
getIconString()  | 
void | 
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves. 
 | 
void | 
run(TaskMonitor monitor,
   PlugInContext context)
Runs the task. 
 | 
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringpublic java.lang.String sRemoveZeroCells
public java.lang.String sMaxCellsToDisplay
public int maxCells
public boolean removeZeroCells
public CreatePolygonGridFromSelectedImageLayerPlugIn()
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInjava.lang.Exceptionpublic static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public java.lang.String getIconString()
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugInfalse to prevent the run method
 from being called.execute in interface PlugInexecute in class AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugInrun in interface ThreadedPlugInmonitor - context to which this task can report its progress and
 check whether a party has requested its cancellationjava.lang.Exception