MorphAL 0.1

fr.ign.cogit.alpage.morphal.pluginnew.polygon
Class PolygonCheckPlugin

java.lang.Object
  extended by com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
      extended by 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

Constructor Summary
PolygonCheckPlugin()
           
 
Method Summary
 boolean execute(PlugInContext context)
          Global execution
 void initialize(PlugInContext context)
          Initialisation
 void run(TaskMonitor monitor, PlugInContext context)
          ExĂ©cution
 
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
createName, execute, getName, toActionListener, toString
 
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
 

Constructor Detail

PolygonCheckPlugin

public PolygonCheckPlugin()
Method Detail

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 -

MorphAL 0.1