public class CircumferenceCDEditingProvider extends CircleCDEditingProvider implements EditingProvider
center, diameter, featureStore, values
LOGGER
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 |
---|
CircumferenceCDEditingProvider(ProviderServices providerServices,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
Geometry |
finish()
Finalizes provider.
|
DefaultDrawingStatus |
getDrawingStatus(Point mousePosition)
Gets state of drawing.
|
java.lang.String |
getName()
Gets provider name.
|
finishAndStore, 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, getParameters, getValue, getValue, initDefaultValues, isEnabled, isShowPreviewSymbol, mustRestartAtFinish, next, restart, setDefaultFeatureValues, setShowPreviewSymbol, setValue, setValue, start, stop
setProviderServices
public CircumferenceCDEditingProvider(ProviderServices providerServices, DynObject parameters)
public DefaultDrawingStatus getDrawingStatus(Point mousePosition) throws DrawServiceException
EditingProvider
DrawingStatus
. List of
geometries of drawing status object can be different from final
geometries. Use this method to get a draft status information while user
is drawing.getDrawingStatus
in interface EditingProvider
getDrawingStatus
in class CircleCDEditingProvider
mousePosition
- Mouse position to draw geometries.DrawingStatus
object with a list of geometries and
information.DrawServiceException
- if there are some error creating geometries.public Geometry finish() throws FinishServiceException
EditingProvider
FeatureStore
. Make sure that provider has all required
values.finish
in interface EditingProvider
finish
in class CircleCDEditingProvider
FinishServiceException
- if there are some error getting values,
creating geometries.public java.lang.String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class CircleCDEditingProvider