doMouseDown method

void doMouseDown()

Iterate over the #mouseDownTools list and start the first tool for which its Tool#canStart predicate returns true.

Starting a tool replaces the Diagram#currentTool with the new tool. Successfully doing so also activates the new tool by calling Tool#doActivate and passes on the mouse-down event to it by calling Tool#doMouseDown.

Not finding any startable tools causes this tool manager to activate, thereby enabling the mouse-move and mouse-up behaviors and starts detection of a mouse-hold event after #holdDelay milliseconds.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose

Implementation

void doMouseDown() {
  _i4.callMethod(
    this,
    'doMouseDown',
    [],
  );
}