toolManager property

ToolManager get toolManager

Gets or sets the ToolManager for this Diagram. This tool is used for mode-less operation. It is responsible for choosing a particular tool to run as the #currentTool.

This tool is normally also the #defaultTool. If you don't want the ToolManager to run at all, replace the #defaultTool with your own tool.

Setting this property does not notify about any changed event. The value cannot be null and must not be shared with other Diagrams. If you set this property, you will probably also want to set #defaultTool.

Implementation

_i3.ToolManager get toolManager => _i4.getProperty(
      this,
      'toolManager',
    );
set toolManager (ToolManager value)

Implementation

set toolManager(_i3.ToolManager value) {
  _i4.setProperty(
    this,
    'toolManager',
    value,
  );
}