LuciadCPillar C# 2023.1.04
|
Builder for the Editor class. More...
Public Member Functions | |
Builder (Luciad.Edit.Editor.Builder other) | |
Luciad.Edit.Editor | Build () |
Returns a new editor, based on the properties set on this builder. More... | |
Luciad.Edit.Editor.Builder | DefaultSettings (Luciad.Edit.EditSettings editSettings) |
Sets the default settings that can be used by the handles that are used to edit features and geometries. More... | |
void | Dispose () |
Luciad.Edit.Editor.Builder | EditCandidateProvider (Luciad.Edit.Features.IFeatureEditCandidateProvider editCandidateProvider) |
Sets the IFeatureEditCandidateProvider to use. More... | |
Luciad.Edit.Editor.Builder | Map (Luciad.Maps.Map map) |
Sets the map on which features are edited. More... | |
Luciad.Edit.Editor.Builder | MouseCursorCallback (Luciad.Maps.IMouseCursorCallback mouseCursorCallback) |
Sets the IMouseCursorCallback to use. More... | |
2020.1
|
inline |
|
inline |
Returns a new editor, based on the properties set on this builder.
a new editor.
luciad::LogicException
if not all mandatory parameters are set
|
inline |
Sets the default settings that can be used by the handles that are used to edit features and geometries.
Feature and Geometry implementations are encouraged to use these default settings. The settings are available in the context given as parameter to their methods. This parameter is optional. If it is not provided, a default EditSettings instance will be used.
editSettings
the default settings to use. Should not be nullptr.
this builder
NullArgumentException
when nullptr is passed.
|
inline |
|
inline |
Sets the IFeatureEditCandidateProvider to use.
This parameter is optional. When it is not set, edit candidates will be based on selection through FeatureStateEditCandidateProvider.
editCandidateProvider
the edit candidate provider to use.
this builder
NullArgumentException
when nullptr is passed.
|
inline |
Sets the map on which features are edited.
This parameter is mandatory. If it is not set, Editor::Builder::build will throw an exception.
map
the Map on which to edit features
this builder
NullArgumentException
when nullptr is passed.
|
inline |
Sets the IMouseCursorCallback to use.
This callback is called when the Editor's cursor has changed. Typically, this method is called by an IController implementation that supports Feature editing. This implementation can call Map::setCursor to effectively change the mouse cursor. This callback is called on the UI thread only. This parameter is optional.
mouseCursorCallback
a callback that is called when the editor's cursor has changed.
this builder