Class: ToolView

Menu.Desktop.Tool ToolView

ToolView

new ToolView()

modules/menu/desktop/tool/view.js, line 20
Fires:
Listens to Events:
  • Map#event:RadioTriggerMapChange

Extends

Methods

checkItem(){void}

modules/menu/desktop/tool/view.js, line 153
TODO
  • Write the documentation.

render(){this}

modules/menu/desktop/tool/view.js, line 45
TODO
  • Write the documentation.

rerender(){void}

modules/menu/desktop/tool/view.js, line 63
Rerenders the view. Gets triggered on name change

setCssClass(){void}

modules/menu/desktop/tool/view.js, line 121
Abhängig davon ob ein Tool in die Menüleiste oder unter dem Punkt Werkzeuge gezeichnet wird, bekommt die View eine andere CSS-Klasse zugeordent

toggleIsActiveClass(){void}

modules/menu/desktop/tool/view.js, line 141
TODO
  • Write the documentation.

toggleSupportedVisibility(mode){void}

modules/menu/desktop/tool/view.js, line 96
Controls which tools are available in 2D, 3D and Oblique modes.
Name Type Description
mode String Flag of the view mode

translateName(attr){Array}

modules/menu/desktop/tool/view.js, line 75
Looks for the key "translate#" in the name of the model. If found the name will be translated. The name is not yet translated, because it is from an addon.
Name Type Description
attr Array attributes of this model
Returns:
of this model maybe with translated name, if necessary