doDeactivate method

void doDeactivate()

The Diagram calls this method on the old tool when Diagram#currentTool is set to a new tool. This needs to set #isActive to false. Overrides of this method might call #stopTransaction, if this tool's activity involves modification of the model.

You should have no reason to call this method, because it is automatically called by the Diagram#currentTool property setter on the old tool.

By default this only sets #isActive to false. This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

It is commonplace to override this method in order to clean up whatever you have set up in an override of #doActivate. @expose

Implementation

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