Class ecm.content.ContentDialogHelper

This class provides helper methods for the ContentDialog widget.
Defined in: <ecm\content\ContentDialogHelper.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
activateOpenPane(contentContainer, contentPane, onContentLoaded, onDirtyStateChanged, onItemUpdated, onAnnotationsSaved)
 
activatePreviewPane(contentContainer, contentPane, onContentLoaded)
 
 
 
constructor(dialog)
 
deactivateOpenPane(contentContainer, contentPane)
 
destroyWidget(widget)
 
 
newConfirmationDialog(title, text, okCallback, cancelCallback)
 
newYesNoCancelDialog(title, text, yesCallback, noCallback, cancelCallback)
 
onAnnotationsSaved(resetPropertiesItem)
 
 
 
 
onDialogShowing(content)
 
 
 

Constructor Detail

ecm.content.ContentDialogHelper()

Since:
3.0.7.1

Method Detail

activateOpenPane(contentContainer, contentPane, onContentLoaded, onDirtyStateChanged, onItemUpdated, onAnnotationsSaved)

Parameters:
contentContainer
contentPane
onContentLoaded
onDirtyStateChanged
onItemUpdated
onAnnotationsSaved

activatePreviewPane(contentContainer, contentPane, onContentLoaded)

Parameters:
contentContainer
contentPane
onContentLoaded

autoLockItem(item)

Parameters:
item

autoUnlockCurrentItem()


constructor(dialog)

Parameters:
dialog

deactivateOpenPane(contentContainer, contentPane)

Parameters:
contentContainer
contentPane

destroyWidget(widget)

Parameters:
widget

findPreviousNextContents(content)

Parameters:
content

newConfirmationDialog(title, text, okCallback, cancelCallback)

Parameters:
title
text
okCallback
cancelCallback

newYesNoCancelDialog(title, text, yesCallback, noCallback, cancelCallback)

Parameters:
title
text
yesCallback
noCallback
cancelCallback

onAnnotationsSaved(resetPropertiesItem)

Parameters:
resetPropertiesItem

onContentHiding()


onContentShowing(content)

Parameters:
content

onDialogHid()


onDialogShowing(content)

Parameters:
content

onPaneDirtyStateChanged(pane)

Parameters:
pane

replaceWithResultSetItem(content)

Parameters:
content

updateEditableStateOfOtherPanes(currentPane)

Parameters:
currentPane