Class ecm.widget.dialog.ContentClassSelectorDialog


Extends ecm.widget.dialog.BaseDialog.
Provides a dialog box that is used to select content classes.
Defined in: <ecm\widget\dialog\ContentClassSelectorDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
A callback function to be called when an item is selected.
 
An ecm.model.Repository object associated with this dialog.
Fields borrowed from class ecm.widget.dialog.BaseDialog:
fitContentArea, lockFullscreen

Method Summary

Method Attributes Method Name and Description
 
 
show(callback)
Shows the dialog.
Methods borrowed from class ecm.widget.dialog.BaseDialog:
addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, destroy, hide, isMaximized, onDragOver, resize, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar

Constructor Detail

ecm.widget.dialog.ContentClassSelectorDialog()

Field Detail

callback

A callback function to be called when an item is selected. The selected item or items is passed as an argument of the callback function.

repository

An ecm.model.Repository object associated with this dialog. The list of classes will come from this repository.

Method Detail

postCreate()


show(callback)

Shows the dialog.
Parameters:
callback
A callback function to be called when an item is selected. The selected item or items is passed as an argument of the callback function.