public class RandomTrianglesPlugIn extends AbstractPlugIn
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
RandomTrianglesPlugIn() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
boolean |
execute(PlugInContext context,
int layerSize) |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
void |
setCities(java.util.List cities) |
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, toString
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
public boolean execute(PlugInContext context) throws com.vividsolutions.jts.io.ParseException, java.io.IOException
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
com.vividsolutions.jts.io.ParseException
java.io.IOException
ThreadedPlugIn
public boolean execute(PlugInContext context, int layerSize) throws com.vividsolutions.jts.io.ParseException, java.io.IOException
com.vividsolutions.jts.io.ParseException
java.io.IOException
public void setCities(java.util.List cities)