This builder can be used to configure editing for a layer.
More...
This builder can be used to configure editing for a layer.
See FeatureLayer.Builder.EditConfiguration
.
See the related guide for more configuration options.
- Since
- 2020.1
◆ Dispose()
void Luciad.Edit.Features.FeatureEditConfigurationBuilder.Dispose |
( |
| ) |
|
|
inline |
◆ HandlesProvider()
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()
.
- Parameters
-
handlesProvider | a handles provider for Features, cannot be null |
- Returns
- this
- Exceptions
-
System.ArgumentNullException | when null is passed. |
◆ NotEditable()
void Luciad.Edit.Features.FeatureEditConfigurationBuilder.NotEditable |
( |
| ) |
|
|
inline |
◆ Submit()
void Luciad.Edit.Features.FeatureEditConfigurationBuilder.Submit |
( |
| ) |
|
|
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.
- Exceptions
-
System.InvalidOperationException | on an illegal state, e.g. when already submitted. |
◆ UpdateMode()
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
.
- Parameters
-
updateMode | the update mode |
- Returns
- this