LuciadCPillar C# 2023.1.04
Luciad.Edit.Features.FeatureEditConfigurationBuilder Class Reference

This builder can be used to configure editing for a layer. More...

Inheritance diagram for Luciad.Edit.Features.FeatureEditConfigurationBuilder:

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...
 

Detailed Description

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

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureEditConfigurationBuilder.

Member Function Documentation

◆ Dispose()

void Luciad.Edit.Features.FeatureEditConfigurationBuilder.Dispose ( )
inline

◆ HandlesProvider()

Luciad.Edit.Features.FeatureEditConfigurationBuilder Luciad.Edit.Features.FeatureEditConfigurationBuilder.HandlesProvider ( Luciad.Edit.Features.IFeatureHandlesProvider  handlesProvider)
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureEditConfigurationBuilder::handlesProvider.

◆ NotEditable()

void Luciad.Edit.Features.FeatureEditConfigurationBuilder.NotEditable ( )
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureEditConfigurationBuilder::notEditable.

◆ 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.

luciad::LogicException

on an illegal state, e.g. when already submitted.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureEditConfigurationBuilder::submit.

◆ UpdateMode()

Luciad.Edit.Features.FeatureEditConfigurationBuilder Luciad.Edit.Features.FeatureEditConfigurationBuilder.UpdateMode ( Luciad.Edit.ModelUpdateMode  updateMode)
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

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureEditConfigurationBuilder::updateMode.