LuciadCPillar C# 2024.0.08
|
A composite implementation of IFeatureHandlesProvider
.
More...
Static Public Member Functions | |
static Luciad.Edit.Features.CompositeFeatureHandlesProvider | CreateDefault () |
Creates a composite instance with a default set of instances that can handle any Feature instance that can be edited through its Geometry , using the configured geometry provider. More... | |
Properties | |
System.Collections.Generic.IList< Luciad.Edit.Features.IFeatureHandlesProvider > | List [get] |
The list containing all registered instances, ordered by priority (highest priority first). More... | |
A composite implementation of IFeatureHandlesProvider
.
This composite allows you to:
CompositeFeatureHandlesProvider.Add
CompositeFeatureHandlesProvider.Remove
CompositeFeatureHandlesProvider.List
The composite implementation uses its delegate instances in a specific order. The order is based on the priority you assign when you add the delegate instance. If the priorities of two instances are equal, the instance that you added first gets priority.
A default implementation is available, see CreateDefault
|
inline |
Creates an empty composite instance.
|
inline |
|
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.
|
inlinestatic |
Creates a composite instance with a default set of instances that can handle any Feature
instance that can be edited through its Geometry
, using the configured
geometry provider.
|
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. |
null
. Implements Luciad.Edit.Features.IFeatureHandlesProvider.
|
inline |
Removes this given instance from the list of registered instances.
Nothing will happen if the given instance was never added before.
handlesProvider | the instance to remove from this composite. |
System.ArgumentNullException | when null is passed. |
|
get |
The list containing all registered instances, ordered by priority (highest priority first).
Returns the list containing all registered instances, ordered by priority (highest priority first).