Class idx.app.TabMenuDock


Extends dijit._TemplatedMixin, idx.app._Dock.
Class that houses (docks) and manages workspaces and their corresponding visual, a workspace tab. The TabMenuDock is contained in the TabMenuLauncher
Defined in: <idx\app\TabMenuDock.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
Indicates whether or not to show the menu for launching new tabs.
 
Indicates whether or not the overflow menu should ALWAYS be visible regardless if there is overflow.
 
The class to use for the Tab widget.

Method Summary

Method Attributes Method Name and Description
 
Apply style to tab based on the selected or hovered tab, and call 'resize' so the changes can be seen.
 
Overridden to obtain CSS options before calling the base implementation.
 
constructor(args, node)
Constructor Constructs an instance of TabMenuDock
 
Override destory function to clean up handles.
 
Resize taking into account CSS class size-related settings (e.g.

Constructor Detail

idx.app.TabMenuDock()

See:
idx.app.WorkSpace
idx.app.WorkSpaceTab
idx.appTabMenuLauncher

Field Detail

{boolean} showMenu

Indicates whether or not to show the menu for launching new tabs. This can be set to false to prevent showing when all the workspaces that can be directly opened are visible at startup. TODO: we currently ignore if set to true
Default Value:
false

{boolean} showOverflow

Indicates whether or not the overflow menu should ALWAYS be visible regardless if there is overflow. The overflow menu allows you to flip between open tabs whether or not they are visible. Typically, this menu will only appear if the need arises (i.e.: if there is not enough room to show all open tabs).
Default Value:
false

{Object} tabWidgetClass

The class to use for the Tab widget. If not set then an attempt is made to retrieve from the CSS option "tabWidget", otherwise the default is used which is idx.app.DockTab.
Default Value:
null

Method Detail

applyTabStyles()

Apply style to tab based on the selected or hovered tab, and call 'resize' so the changes can be seen.

buildRendering()

Overridden to obtain CSS options before calling the base implementation. Sets options, design and sizing.
See:
dijit._TemplatedMixin implementation.

constructor(args, node)

Constructor Constructs an instance of TabMenuDock
Parameters:
{Object} args
{Object} node

destroy()

Override destory function to clean up handles.

resize()

Resize taking into account CSS class size-related settings (e.g. margins etc).