public class PolygonEditingProvider extends PolylineEditingProvider implements EditingProvider
ARC_MODE, CLOSE_POLYLINE, editingProviderServices, featureStore, FINISH, KEY_ARC_MODE, KEY_CLOSE, KEY_FINISH, KEY_LINE_MODE, KEY_REMOVE_LAST_POINT, LINE_MODE, points, REMOVE_LAST_POINT
AGGREGATE, ARC, CIRCLE, CIRCUMFERENCE, COMPLEX, CURVE, ELLIPSE, ELLIPTICARC, FILLEDSPLINE, GEOMETRY, LINE, MULTICURVE, MULTILINE, MULTIPOINT, MULTIPOLYGON, MULTISOLID, MULTISURFACE, NULL, PERIELLIPSE, POINT, POLYGON, RING, SOLID, SPLINE, SURFACE, UNKNOWN
Constructor and Description |
---|
PolygonEditingProvider(ProviderServices providerServices,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
Geometry |
finish()
Finalizes provider.
|
java.lang.String |
getName()
Gets provider name.
|
calculatePolyline, calculatePolyline, closeGeometryIfNecessary, finishAndStore, getDrawingStatus, getParameters, getValue, next, setValue, setValue, start, stop
activate, getDefaultFeatureValues, getPreviewSymbol, getPreviewSymbol, getProviderServices, getSelectedFeaturesCopy, getValue, initDefaultValues, isEnabled, isShowPreviewSymbol, makeMultiPrimitiveIsNeeded, mustRestartAtFinish, restart, setDefaultFeatureValues, setShowPreviewSymbol
setProviderServices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activate, finishAndStore, getDefaultFeatureValues, getDrawingStatus, getParameters, getValue, getValue, initDefaultValues, isEnabled, isShowPreviewSymbol, mustRestartAtFinish, next, restart, setDefaultFeatureValues, setShowPreviewSymbol, setValue, setValue, start, stop
setProviderServices
public PolygonEditingProvider(ProviderServices providerServices, DynObject parameters)
public Geometry finish() throws FinishServiceException
EditingProvider
FeatureStore
. Make sure that provider has all required
values.finish
in interface EditingProvider
finish
in class PolylineEditingProvider
FinishServiceException
- if there are some error getting values,
creating geometries.public java.lang.String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class PolylineEditingProvider