Add a tool that acts like one of the primary tools (only one primary tool can be enabled at a time).
If the tool is already added to this, the tool is converted to a primary tool.
This should be called before creating the app's toolbar.
Add a tool to the end of this' tool list (the added tool receives events after tools already added to this). This should be called before creating the app's toolbar.
If options.addToFront, the tool is added to the beginning of this' tool list.
Does nothing if the tool is already present.
Optionaloptions: { addToFront: boolean }Alias for dispatchInputEvent.
Replaces the current set of tools with tools. This should only be done before
the creation of the app's toolbar (if using AbstractToolbar).
If no primaryToolGroup is given, an empty one will be created.
OptionalprimaryToolGroup: ToolEnabledGroup
Adds a new
InputMapperto this' input pipeline.A
mapperis really a relation that maps each event to no, one, or many other events.