DefaultAnnotationEditingInspectorController

Annotation inspector for annotation editing. Meant to be used with AnnotatingController.

Parameters

context

The context.

coordinatorController

Controller managing inspector coordinator layout.

Constructors

constructor(context: Context, coordinatorController: PropertyInspectorCoordinatorLayoutController)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun hasAnnotationInspector(): Boolean

Whether annotation inspector toolbar icon should be visible.

Link copied to clipboard
open override fun onDisplayPropertyInspector(inspector: PropertyInspector)

Called when PropertyInspector is displayed in the PropertyInspectorCoordinatorLayout.

Link copied to clipboard
open override fun onRemovePropertyInspector(inspector: PropertyInspector)

Distance annotations created by the calibration tool are only temporary. Once the inspector closes, we remove it. Either the MeasurementValueConfiguration has already been confirmed by the close/check button and stored to the document (see getPropertyInspectorTitleButtonListener). Otherwise the inspector was cancelled (back button or outside touch). In both cases we delete the annotation afterwards.