public class GCPlugin extends ExtCorePlugIn
LineString
LinearRing
MultiPoint
Point
Polygon
PlugIn
i18nPath, rb
Constructor and Description |
---|
GCPlugin() |
GCPlugin(WorkbenchContext wbc,
java.lang.String target) |
Modifier and Type | Method and Description |
---|---|
void |
addToMainMenu(WorkbenchContext wbc,
java.lang.String[] menuchain) |
void |
addToPopupMenu(WorkbenchContext wbc,
javax.swing.JPopupMenu popupMenu,
java.lang.String[] popupchain) |
com.vividsolutions.jts.geom.Polygon[] |
constructPolygons(com.vividsolutions.jts.geom.Geometry src)
borrowed from org.geotools.shapefile.PolygonHandler
try to construct multiple polygons from the given geometry
|
EnableCheck |
createEnableCheck() |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item
|
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
_, _, _, _, _e, getMessage, getMessage, getMessageByMessage
public GCPlugin()
public GCPlugin(WorkbenchContext wbc, java.lang.String target)
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
java.lang.Exception
public void addToPopupMenu(WorkbenchContext wbc, javax.swing.JPopupMenu popupMenu, java.lang.String[] popupchain)
public void addToMainMenu(WorkbenchContext wbc, java.lang.String[] menuchain)
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public java.lang.String getName()
PlugIn
public EnableCheck createEnableCheck()
public com.vividsolutions.jts.geom.Polygon[] constructPolygons(com.vividsolutions.jts.geom.Geometry src)