Package com.luciad.models.features
Interface IFeatureModelUpdater
public interface IFeatureModelUpdater
This class defines how an
IFeatureModel
can be updated.
A IFeatureModelUpdater
can be accessed through the model using IFeatureModel#getUpdater
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(FeatureModelUpdate modelUpdate) This method is called to perform an update to the model.
-
Method Details
-
update
This method is called to perform an update to the model.IFeatureModelUpdater
is responsible for:- performing the change to its internal state
- sending out
model events
after performing the change - calling the
updater callback
(if configured) to inform the caller of this method that the update was successful or not. This for example allows the caller to know which id was assigned to the newFeature
.
- Parameters:
modelUpdate
- the object that contains the changes that should be applied on the model.
-