stopTool method

void stopTool()

If the Diagram#currentTool is this tool, stop this tool and start the Diagram#defaultTool by making it be the new current tool. The implementation of various tool methods can call this method to stop the current tool. This will call #doStop -- you should not call that method directly.

If you want to stop the current tool and have it restore the original state, call #doCancel. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose

Implementation

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