Package com.luciad.create
Interface ICreatorObserver
public interface ICreatorObserver
This observer is called when a feature was created and added to the layer by the
Creator
class, or when creation failed.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFeatureCreated
(Feature createdFeature, FeatureLayer featureLayer) Called when a new feature is created and added to the layer.void
onFeatureCreationFailed
(ErrorInfo errorInfo) Called when feature creation has failed.
-
Method Details
-
onFeatureCreated
Called when a new feature is created and added to the layer.- Parameters:
createdFeature
- the newly created featurefeatureLayer
- the layer to which the feature was added
-
onFeatureCreationFailed
Called when feature creation has failed.This can be for various reasons, for example:
- Parameters:
errorInfo
- the reason why creation has stopped
-