Class ecm.widget.search.SearchTabContainer
Extends
ecm.widget.layout._TabContainerBase.
Provides a widget that contains and controls the search tabs that are open.
Defined in: <ecm\widget\search\SearchTabContainer.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
A ecm.model.Repository object.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addChild(child, index)
|
|
Closes all the tabs.
|
|
closeAllTabsExceptOne(excludedTab)
Closes all the tabs except for the specified one.
|
|
closeTab(kwArgs, noConfirmDialog)
Closes the specified tab.
|
|
onSearchTemplateOpen(searchTemplate, version)
Called when a search template is opened.
|
|
openTab(kwArgs)
Opens a tab.
|
|
setRepository(repository, teamspace)
Sets the repository and establishes event listeners that react to model changes.
|
- Methods borrowed from class ecm.widget.layout._TabContainerBase:
- onTabClosed, onTabOpened, removeChild, reset
Field Detail
repository
A ecm.model.Repository object.
Method Detail
addChild(child, index)
- Parameters:
- child
- index
closeAllTabs()
Closes all the tabs. Displays a confirmation dialog if closing a ecm.widget.search.SearchBuilder
widget.
closeAllTabsExceptOne(excludedTab)
Closes all the tabs except for the specified one.
- Parameters:
- excludedTab
- A tab that will remain open after all tabs are closed.
closeTab(kwArgs, noConfirmDialog)
Closes the specified tab.
- Parameters:
- kwArgs
- A tab to be closed
- noConfirmDialog
- A boolean flag to close a tab without confirmation
onSearchTemplateOpen(searchTemplate, version)
Called when a search template is opened.
- Parameters:
- searchTemplate
- A ecm.model.SearchTemplate object that was opened.
- version
- The version to be opened, i.e., "current", "released", or "specific" (optional).
openTab(kwArgs)
Opens a tab.
- Parameters:
- kwArgs
- A tab to be opened
postCreate()
setRepository(repository, teamspace)
Sets the repository and establishes event listeners that react to model changes.
- Parameters:
- repository
- A ecm.model.Repository object.
- teamspace
- An optional ecm.model.Teamspace object.