const StatusBar = brackets.getModule("widgets/StatusBar")A status bar with support for file information and busy and status indicators. This is a semi-generic container; for the code that decides what content appears in the status bar, see client modules like EditorStatusBar. (Although in practice StatusBar's HTML structure and initialization assume it's only used for this one purpose, and all the APIs are on a singleton).
Shows the 'busy' indicator
Kind: global function
| Param | Type | Description |
|---|---|---|
| updateCursor | boolean |
Sets the cursor to "wait" |
Hides the 'busy' indicator
Registers a new status indicator
Kind: global function
| Param | Type | Description |
|---|---|---|
| id | string |
Registration id of the indicator to be updated. |
| [indicator] | DOMNode | jQueryObject |
Optional DOMNode for the indicator |
| [visible] | boolean |
Shows or hides the indicator over the statusbar. |
| [style] | string |
Sets the attribute "class" of the indicator. |
| [tooltip] | string |
Sets the attribute "title" of the indicator. |
| [insertBefore] | string |
An id of an existing status bar indicator. The new indicator will be inserted before (i.e. to the left of) the indicator specified by this parameter. |
Updates a status indicator
Kind: global function
| Param | Type | Description |
|---|---|---|
| id | string |
Registration id of the indicator to be updated. |
| visible | boolean |
Shows or hides the indicator over the statusbar. |
| [style] | string |
Sets the attribute "class" of the indicator. |
| [tooltip] | string |
Sets the attribute "title" of the indicator. |
Hide the statusbar Information Panel
Show the statusbar Information Panel
Hide the statusbar Indicators
Show the statusbar Indicators
Hides all panels but not the status bar
Shows all panels (will not show a hidden statusbar)
Hide the statusbar
Show the statusbar
Kind: global function