FeatureEditContext provides context information for the feature that is being edited.
More...
#include <luciad/edit/features/FeatureEditContext.h>
FeatureEditContext provides context information for the feature that is being edited.
- Since
- 2020.1
◆ ~FeatureEditContext()
virtual luciad::FeatureEditContext::~FeatureEditContext |
( |
| ) |
|
|
virtualdefault |
◆ getDefaultSettings()
virtual std::shared_ptr< EditSettings > luciad::FeatureEditContext::getDefaultSettings |
( |
| ) |
const |
|
pure virtual |
- Returns
- the default edit settings
◆ getFeature()
virtual std::shared_ptr< Observable< Feature > > luciad::FeatureEditContext::getFeature |
( |
| ) |
const |
|
pure virtual |
- Returns
- the Feature that is being edited.
◆ getHandleFeatureId()
virtual LayerFeatureId luciad::FeatureEditContext::getHandleFeatureId |
( |
| ) |
const |
|
pure virtual |
- Returns
- the feature ID for the handle to which this context is passed. It can be used to query the map for specific edit handles, for example. This method will throw an exception if it is called outside an IEditHandle call.
◆ getHandleLayerId()
virtual LayerId luciad::FeatureEditContext::getHandleLayerId |
( |
| ) |
const |
|
pure virtual |
- Returns
- the layer ID of the handle of the Feature that is being edited.
◆ getLayer()
virtual std::shared_ptr< FeatureLayer > luciad::FeatureEditContext::getLayer |
( |
| ) |
const |
|
pure virtual |
◆ getMap()
virtual std::shared_ptr< Map > luciad::FeatureEditContext::getMap |
( |
| ) |
const |
|
pure virtual |
- Returns
- the map on which the feature is being edited.
◆ getModel()
virtual const std::shared_ptr< IFeatureModel > & luciad::FeatureEditContext::getModel |
( |
| ) |
const |
|
pure virtual |
◆ getPreviewFeatureId()
virtual LayerFeatureId luciad::FeatureEditContext::getPreviewFeatureId |
( |
| ) |
const |
|
pure virtual |