public class FeatureStatisticsPlugIn extends AbstractPlugIn
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
areaAttr |
static java.lang.String |
lengthAttr |
static java.lang.String |
nCompsAttr |
static java.lang.String |
nHolesAttr |
static java.lang.String |
nPtsAttr |
static java.lang.String |
typeAttr |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
FeatureStatisticsPlugIn() |
Modifier and Type | Method and Description |
---|---|
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
static FeatureSchema |
getStatisticsSchema() |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
static java.lang.String |
removeGeometryPackage(java.lang.String fullClassName)
Removes the JTS geometry package prefix from a classname
|
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 static final java.lang.String nPtsAttr
public static final java.lang.String nHolesAttr
public static final java.lang.String nCompsAttr
public static final java.lang.String areaAttr
public static final java.lang.String lengthAttr
public static final java.lang.String typeAttr
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public static FeatureSchema getStatisticsSchema()
public static java.lang.String removeGeometryPackage(java.lang.String fullClassName)
fullClassName
- public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn