Class ecm.widget.layout.ManageEntryTemplatesPane
Extends
ecm.widget.layout._LaunchBarPane, ecm.widget.layout._ManageEntryTemplatesMixin.
Provides a widget that displays a list of all entry templates that the current user can edit. From the
list, a user with appropriate authority can open, edit, and delete entry templates. A user with the
appropriate authority can also open the builder to create new entry templates from this widget.
Defined in: <ecm\widget\layout\ManageEntryTemplatesPane.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addEntryTemplateBuilder(entryTemplate)
Adds an entry template builder tab.
|
|
addEntryTemplateBuilderTabPane(entryTemplateBuilder)
Adds the provided entry template builder pane as a new tab.
|
|
Renders the widget.
|
|
closeTab(pane)
Closes the tab.
|
|
destroy()
Destroys the widget.
|
|
focus()
Adds focus to the pane.
|
|
Get contents list view.
|
|
Loads the content of the pane.
|
|
onRepositoryChange(pane, repository)
Event invoked when a repository changes
|
|
Called after widget creation.
|
|
reset()
Resets the content of this pane.
|
Method Detail
addEntryTemplateBuilder(entryTemplate)
Adds an entry template builder tab.
- Parameters:
- entryTemplate
- The entry template for the builder tab to create.
addEntryTemplateBuilderTabPane(entryTemplateBuilder)
Adds the provided entry template builder pane as a new tab.
- Parameters:
- entryTemplateBuilder
- An instance of ecm.widget.entryTemplateBuilder.Builder that will be added as a new tab. This builder instance should be initialized with a repository and an entry template.
buildRendering()
Renders the widget.
closeTab(pane)
Closes the tab.
- Parameters:
- pane
destroy()
Destroys the widget.
expandTabContainerTabWidth()
focus()
Adds focus to the pane.
getContentsListView()
Get contents list view.
loadContent()
Loads the content of the pane.
onRepositoryChange(pane, repository)
Event invoked when a repository changes
- Parameters:
- pane
- The pane.
- repository
- Instance of ecm.model.Repository.
postCreate()
Called after widget creation.
reset()
Resets the content of this pane.