doStart method

void doStart()

The Diagram calls this method when this tool becomes the current tool; you should not call this method. Tool implementations should perform their per-use initialization here, such as setting up internal data structures, or capturing the mouse. Implementations of this method can look at Diagram#lastInput to get the mouse event and input state.

You should not call this method -- only the Diagram#currentTool property setter should call this method.

By default this method does nothing. This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

If you override this method, it is commonplace to also override #doStop to clean up whatever you set up in this method. @expose

Implementation

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