|
LuciadCPillar C# 2026.0.04
|
Default handles provider for features. More...
Classes | |
| interface | IHandleFactory |
| Allows you to specify the translate handle that is used by this handles provider. More... | |
Public Member Functions | |
| FeatureHandlesProvider () | |
| Creates a new instance. | |
| bool | CanProvide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context) |
Indicates if this handles provider can create handles for the given Feature. | |
| void | Dispose () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| Luciad.Edit.Handles.IEditHandles | Provide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context, Luciad.Edit.Features.IFeatureEditCallback featureEditCallback) |
| Returns handles for the given feature. | |
Properties | |
| Luciad.Edit.Geometries.IGeometryHandlesProvider | GeometryHandlesProvider [get, set] |
The IGeometryHandlesProvider that is used. | |
| Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory | HandleFactory [get, set] |
| The handle factory used by the handles provider. | |
Default handles provider for features.
It can create a handles for features by:
creating a handle to translate the entire feature delegating to a geometry handles provider. The delegate geometry handles are created using an IGeometryHandlesProvider. The geometry is extracted from the feature using the IFeatureGeometryProvider that is provided by the feature layer. This IFeatureGeometryProvider can be configured in the feature layer.
|
inline |
Creates a new instance.
|
inline |
Indicates if this handles provider can create handles for the given Feature.
| feature | an observable Feature. |
| context | the context. Contains additional information about the edited feature. |
Feature. Implements Luciad.Edit.Features.IFeatureHandlesProvider.
|
inline |
|
inline |
|
inline |
|
inline |
Returns handles for the given feature.
If this provider doesn't support the given feature, it can return null.
| feature | the observable feature for which to create handles. |
| context | the context. Contains additional information about the edited feature. |
| featureEditCallback | a callback that notifies the caller when the Feature has changed. |
Implements Luciad.Edit.Features.IFeatureHandlesProvider.
|
getset |
The IGeometryHandlesProvider that is used.
Returns the IGeometryHandlesProvider that is used.
Sets the IGeometryHandlesProvider that is used. If this method is not called, or if null is passed, a default implementation is used.
GeometryHandlesProvider
|
getset |
The handle factory used by the handles provider.
Returns the handle factory used by the handles provider.
Sets the handle factory used by the handles provider. If this method is not called, a default handle factory is used. You can change the behavior of this default handle factory by:
IHandleFactory implementation, by delegating to the default factory