Class Index | File Index

Classes


Class orion.widgets.Section

Generates a section
Defined in: </shared/eclipse/e4/orion/I201210191304/plugins/org.eclipse.orion.client.core/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:
parent
{DomNode} parent node
options.id
{String} id of the section header
options.title
{String} title (in HTML) of the section
options.preferenceService Optional
used to store the hidden/shown state of the section if specified
options.iconClass Optional
the class of the icon decorating section, no icon displayed if not provided
options.getItemCount Optional
{Function} function to return the count of items in the section. If not provided, no count is shown.
options.content Optional
{String|DomNode} HTML or DOM node giving the Section's initial contents. May be set later using #setContent()
options.slideout Optional
{Boolean} if true section will contain generated slideout
options.canHide Optional
{Boolean} if true section may be hidden
options.hidden Optional
{Boolean} if true section will be hidden at first display
options.useAuxStyle Optional
{Boolean} if true the section will be styled for an auxiliary pane
options.onExpandCollapse Optional
{Function} a function that will be called when the expanded/collapsed state changes
Returns:
Section object
Method Detail
createProgressMonitor()

getContentElement()
Returns:
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 Oct 19 2012 13:08:15 GMT-0400 (EDT)