LuciadCPillar C# 2023.1.04
|
This builder can be used to configure editing for a layer. More...
Public Member Functions | |
void | Dispose () |
Luciad.Edit.Features.FeatureEditConfigurationBuilder | HandlesProvider (Luciad.Edit.Features.IFeatureHandlesProvider handlesProvider) |
Configures the handles provider that is used to provide the edit handles for a feature. More... | |
void | NotEditable () |
Disable editing for the current feature. More... | |
void | Submit () |
Submits the information to this builder, and confirm that the current feature can be edited. More... | |
Luciad.Edit.Features.FeatureEditConfigurationBuilder | UpdateMode (Luciad.Edit.ModelUpdateMode updateMode) |
This setting gives more control over when and how often the model is updated during interactive editing. More... | |
This builder can be used to configure editing for a layer.
See FeatureLayer::Builder::editConfiguration. See the related guide for more configuration options. 2020.1
|
inline |
|
inline |
Configures the handles provider that is used to provide the edit handles for a feature.
Calling this method is optional. If this method is not called, a default implementation will be configured. See CompositeFeatureHandlesProvider::createDefault().
handlesProvider
a handles provider for Features, cannot be nullptr
this
NullArgumentException
when nullptr is passed.
|
inline |
Disable editing for the current feature.
Either this method, or the submit() method must be called. Note: you can disable editing for all features of a layer by not configuring an IFeatureEditConfiguration.
|
inline |
Submits the information to this builder, and confirm that the current feature can be edited.
Either this method, or the notEditable method must be called.
luciad::LogicException
on an illegal state, e.g. when already submitted.
|
inline |
This setting gives more control over when and how often the model is updated during interactive editing.
It is useful to make sure that the model is updated less often when model updates are expensive, for example for models with a database backend, or other models that don't keep Feature state in memory. The default is ModelUpdateMode::OnAnyChange.
updateMode
the update mode
this