Class Index | File Index

Classes


Class PanelControl

Identifies a panel, and provides a UI construction facility. Instances of this class are passed as arguments to the panel-* events from content-studio. It allows extensions to identify panel events, and to initialize a UI inside a particular panel.
Defined in: builtins.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This class is typically only instantiated by Content Studio.
Field Summary
Field Attributes Field Name and Description
 
uri
The (full) URI of the panel in question.
Method Summary
Method Attributes Method Name and Description
 
show(ui, options)
Initialize the panel with the given type of UI with options provided in options.
Class Detail
PanelControl()
This class is typically only instantiated by Content Studio.
Field Detail
{String} uri
The (full) URI of the panel in question. Used to distinguish panel events from one another, and for cooperating extensions that wish to share panels.
Method Detail
show(ui, options)
Initialize the panel with the given type of UI with options provided in options. Currently, only simple list UIs are supported. The object returned from the method represents the UI created, allowing further interaction with the UI.
Parameters:
{String} ui
The type of user interface to be shown. Currently, only "list" is supported.
{Object} options
an object with configuration options for the UI.
Returns:
An object representing the UI.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jun 29 2015 18:25:43 GMT+0200 (CEST)