public class DivideEditingProvider extends MeasureEditingProvider
MeasureEditingProvider.PointAndRotation
alignParameter, deleteOriginalGeometriesParameter, featureStore, geometryBaseParameter, insertionPointParameter, mapContext, rotateFieldParameter, selection, 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 |
---|
DivideEditingProvider(DynObject parameters,
ProviderServices services)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets provider name.
|
java.util.List<EditingServiceParameter> |
getParameters()
Gets a
List with all parameters of provider. |
protected java.util.List<MeasureEditingProvider.PointAndRotation> |
getPointsAndRotations(Line line) |
java.lang.Object |
getValue(EditingServiceParameter parameter)
Return parameter's value
|
EditingServiceParameter |
next()
Gets next parameter needed by provider.
|
protected void |
validateAndInsertValue(EditingServiceParameter parameter,
java.lang.Object value) |
finish, finishAndStore, getDrawingStatus, getPointsAndRotations, isEnabled, isPointType, setValue, setValue, start, stop
activate, getDefaultFeatureValues, getPreviewSymbol, getPreviewSymbol, getProviderServices, getSelectedFeaturesCopy, getValue, initDefaultValues, isShowPreviewSymbol, makeMultiPrimitiveIsNeeded, mustRestartAtFinish, restart, setDefaultFeatureValues, setShowPreviewSymbol
setProviderServices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activate, getDefaultFeatureValues, getValue, initDefaultValues, isShowPreviewSymbol, mustRestartAtFinish, restart, setDefaultFeatureValues, setShowPreviewSymbol
setProviderServices
public DivideEditingProvider(DynObject parameters, ProviderServices services)
services
- available services for this providerparameters
- of this providerpublic EditingServiceParameter next()
EditingProvider
null
if all
parameters have values.next
in interface EditingProvider
next
in class MeasureEditingProvider
EditingServiceParameter
object that represents the
next parameter.public java.util.List<EditingServiceParameter> getParameters()
EditingProvider
List
with all parameters of provider. Each parameter
has name, description and types. See EditingServiceParameter
.getParameters
in interface EditingProvider
getParameters
in class MeasureEditingProvider
EditingServiceParameter
objects.protected void validateAndInsertValue(EditingServiceParameter parameter, java.lang.Object value) throws InvalidEntryException
validateAndInsertValue
in class MeasureEditingProvider
InvalidEntryException
public java.lang.String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class MeasureEditingProvider
public java.lang.Object getValue(EditingServiceParameter parameter)
EditingProvider
getValue
in interface EditingProvider
getValue
in class MeasureEditingProvider
protected java.util.List<MeasureEditingProvider.PointAndRotation> getPointsAndRotations(Line line) throws CreateGeometryException, GeometryOperationNotSupportedException, GeometryOperationException, java.lang.CloneNotSupportedException
getPointsAndRotations
in class MeasureEditingProvider
CreateGeometryException
GeometryOperationNotSupportedException
GeometryOperationException
java.lang.CloneNotSupportedException