Adds an event listener for a specific event.
The type of the event key.
The event to listen to.
The callback function to be invoked when the event is emitted.
An EventHandle with a remove method to unsubscribe the listener.
Copies the specified measurement to the clipboard.
Dispatches the given event with given payload on the plugin.
Focuses the view on the specified measurement.
Focus the measurement even if it is already in the viewport.
Gets the declutter manager used by this plugin to manage overlay decluttering.
Gets the RIA measurement that is currently being created (in-flight).
Resets the plugin to its initial state, clearing any in-progress operations. Should be called when the tool is being closed to ensure state is properly cleared.
Convenience interface for objects that are both an EventEmitter and an EventDispatcher.