fr.ign.cogit.alpage.morphal.pluginnew.polygon
Class PolygonCheckPlugin
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
fr.ign.cogit.alpage.morphal.pluginnew.polygon.PolygonCheckPlugin
- All Implemented Interfaces:
- PlugIn, ThreadedPlugIn
public class PolygonCheckPlugin
- extends AbstractPlugIn
- implements ThreadedPlugIn
Plugin to check and to validate a layer of features with an a priori Polygon
type. Check for empty geometries, features with a MultiPolygon type; Validate
the geometry based on the Simple Feature Specification, using the validate
method of JTS.
- Version:
- 0.1 (2010-11-21)
- Author:
- Eric Grosso - IGN / Laboratoire COGIT
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.vividsolutions.jump.workbench.plugin.PlugIn |
getName |
PolygonCheckPlugin
public PolygonCheckPlugin()
initialize
public void initialize(PlugInContext context)
- Initialisation
- Specified by:
initialize
in interface PlugIn
- Overrides:
initialize
in class AbstractPlugIn
- Parameters:
context
-
execute
public boolean execute(PlugInContext context)
- Global execution
- Specified by:
execute
in interface PlugIn
- Overrides:
execute
in class AbstractPlugIn
- Parameters:
context
-
- Returns:
- true if process is executed, otherwise false
run
public void run(TaskMonitor monitor,
PlugInContext context)
- Exécution
- Specified by:
run
in interface ThreadedPlugIn
- Parameters:
monitor
- context
-