Class orion.widgets.Section
				
				
			
				Generates a section
				
				
					
Defined in:  </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/section.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							 
								orion.widgets.Section(parent)
							 
							Generates a section 
						 | 
					
| Method Attributes | Method Name and Description | 
|---|---|
| 
								 embedExplorer(explorer, parent, noSelection)
								 
								
							 | 
						|
| 
								 getActionElement(title)
								 
								Get the title DOM node 
							 | 
						|
| 
								 getHeaderElement(title)
								 
								Get the header DOM node 
							 | 
						|
| 
								 getTitleElement(title)
								 
								Get the title DOM node 
							 | 
						|
| 
								 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.headerClass Optional
 - a class or array of classes to use in the section header, in addition to the default header classes
 - {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()
					
					
					
					
					
					embedExplorer(explorer, parent, noSelection)
					
					
					- Parameters:
 - explorer
 - parent
 - noSelection
 
					
					{DomNode}
					getActionElement(title)
					
					
					
						Get the title DOM node
						
						
					
					
					
					
						
							- Parameters:
 - title
 
- Returns:
 - {DomNode} The dom node that holds the section title.
 
					
					{DomNode}
					getContentElement()
					
					
					- Returns:
 - {DomNode} The dom node that holds the section contents.
 
					
					{DomNode}
					getHeaderElement(title)
					
					
					
						Get the header DOM node
						
						
					
					
					
					
						
							- Parameters:
 - title
 
- Returns:
 - {DomNode} The dom node that holds the section header.
 
					
					{DomNode}
					getTitleElement(title)
					
					
					
						Get the title DOM node
						
						
					
					
					
					
						
							- Parameters:
 - title
 
- Returns:
 - {DomNode} The dom node that holds the section title.
 
					
					
					setContent(content)
					
					
					
						Changes the contents of the section.
						
						
					
					
					
					
						
							- Parameters:
 - {String|DomNode} content
 
					
					
					setTitle(title)
					
					
					
						Changes the title of section
						
						
					
					
					
					
						
							- Parameters:
 - title