Class Index | File Index

Classes


Class orion.widgets.Section

Generates a section
Defined in: </shared/eclipse/e4/orion/I201302221257/plugins/org.eclipse.orion.client.ui/web/orion/section.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Generates a section
Method Summary
Method Attributes Method Name and Description
 
 
 
setContent(content)
Changes the contents of the section.
 
setTitle(title)
Changes the title of section
Class Detail
orion.widgets.Section(parent)
Generates a section
Parameters:
{DomNode} parent
parent node
{String} options.id
id of the section header
{String} options.title
title (in HTML) of the section
{orion.preferences.PreferencesService} options.preferenceService Optional
used to store the hidden/shown state of the section if specified
{String|Array} options.iconClass Optional
a class or array of classes to use in the icon decorating section, no icon displayed if not provided
{Function} options.getItemCount Optional
function to return the count of items in the section. If not provided, no count is shown.
{String|DomNode} options.content Optional
HTML or DOM node giving the Section's initial contents. May be set later using #setContent()
{Boolean} options.slideout Optional
if true section will contain generated slideout
{Boolean} options.canHide Optional
if true section may be hidden
{Boolean} options.hidden Optional
if true section will be hidden at first display
{Boolean} options.useAuxStyle Optional
if true the section will be styled for an auxiliary pane
{Function} options.onExpandCollapse Optional
a function that will be called when the expanded/collapsed state changes
Method Detail
createProgressMonitor()

{DomNode} getContentElement()
Returns:
{DomNode} The dom node that holds the section contents.

setContent(content)
Changes the contents of the section.
Parameters:
{String|DomNode} content

setTitle(title)
Changes the title of section
Parameters:
title

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 22 2013 13:00:53 GMT-0500 (EST)