Module: explorer/widgets/editorarea/EditorTabs

explorer/widgets/editorarea/EditorTabs

Contains all the tabs of a spec's resources.
Source:
See:

Extends

  • dijit/_WidgetBase
  • dijit/_TemplatedMixin

Requires

Methods

addTab(tab)

Adds a tab to the dom. Also adds a activation listener to the tab.
Parameters:
Name Type Description
tab EditorTab The EditorTab to add.
Source:

getGadgetSpec() → {Object}

Gets a spec's title and resources as a JSON.
Source:
Returns:
The gadgetspec's data.
Type
Object

refreshEditors()

Refreshes each EditorTab.
Source:

removeAllTabs()

Destroys each EditorTab and resets the tabs array.
Source:

tabActivated() → {Function}

A callback function that returns a function that deactivates all tabs in EditorTabs.
Source:
Returns:
Deactivates all the tabs in EditorTabs.
Type
Function