LuciadCPillar C# 2023.1.04
|
This IFeatureEditCandidateProvider uses enabled FeatureStates to determine editing candidates. More...
Public Member Functions | |
FeatureStateEditCandidateProvider (Luciad.Maps.Map map, Luciad.Layers.Features.FeatureState featureState) | |
void | AddObserver (Luciad.Edit.Features.IFeatureEditCandidateObserver observer) |
Adds an observer that allows you to receive change events from this edit candidate provider. More... | |
void | Dispose () |
System.Collections.Generic.IList< Luciad.Layers.Features.LayerFeatureId > | GetEditCandidates () |
void | RemoveObserver (Luciad.Edit.Features.IFeatureEditCandidateObserver observer) |
Removes the given observer. More... | |
void | AddObserver (Luciad.Edit.Features.IFeatureEditCandidateObserver observer) |
Adds an observer that allows you to receive change events from this edit candidate provider. More... | |
System.Collections.Generic.IList< Luciad.Layers.Features.LayerFeatureId > | GetEditCandidates () |
void | RemoveObserver (Luciad.Edit.Features.IFeatureEditCandidateObserver observer) |
Removes the given observer. More... | |
This IFeatureEditCandidateProvider uses enabled FeatureStates to determine editing candidates.
It can for example provide: selected objects (FeatureState::selected()) hovered-over objects (FeatureState::hover())
2020.1
|
inline |
|
inline |
Adds an observer that allows you to receive change events from this edit candidate provider.
Adding the same observer twice is forbidden, and will cause an exception.
observer
an observer
luciad::InvalidArgumentException
when the observer was already added.
luciad::NullArgumentException
when the observer is nullptr.
Implements Luciad.Edit.Features.IFeatureEditCandidateProvider.
|
inline |
|
inline |
the list of edit candidates
Implements Luciad.Edit.Features.IFeatureEditCandidateProvider.
|
inline |
Removes the given observer.
If the given observer was never added, an exception is thrown.
observer
an observer
luciad::InvalidArgumentException
when the observer is not known.
luciad::NullArgumentException
when the observer is nullptr.
Implements Luciad.Edit.Features.IFeatureEditCandidateProvider.