fr.ign.cogit.alpage.morphal.plugin.polygon
Class PolygonToSegmentsPlugin
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
fr.ign.cogit.alpage.morphal.plugin.polygon.PolygonToSegmentsPlugin
- All Implemented Interfaces:
- PlugIn, ThreadedPlugIn
public class PolygonToSegmentsPlugin
- extends AbstractPlugIn
- implements ThreadedPlugIn
Plugin to create a Layer
of segments from a Layer
of Polygon
s
or/and of MultiPolygon
s.
Attention: the Feature
s with a Geometry
different from a Polygon
or a MultiPolygon
are not computed.
- Version:
- 0.1 (2011-01-09)
- 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 |
PolygonToSegmentsPlugin
public PolygonToSegmentsPlugin()
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)
- Execution.
- Specified by:
run
in interface ThreadedPlugIn
- Parameters:
monitor
- context
-