Class pvr.widget.editors.DropDownTreeSelectEditor


Extends pvr.widget.editors._FormattedDropDownEditor, pvr.widget.editors.mixins._MemoryTreeStoreMixin.
Provides a tree select editor widget for editing single value properties with a hierarchical choice list.

The editor widget is rendered as a drop-down button or link which renders the existing value. When the button is clicked a dialog is presented wherein the possible choices are presented in a tree. A new choice can be selected from the tree.


Defined in: <pvr\widget\editors\DropDownTreeSelectEditor.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
 
 
 
 
Needed to over ride this function (from _FormattedDropDownEditor) because we need to check for no value
 
getTooltipText(treeModel, treeNode)
Retrieves the tooltip text for the tree node.
 
 
 
setStore(store)

Constructor Detail

pvr.widget.editors.DropDownTreeSelectEditor()

Method Detail

commitContentWidget()


constructor()


createContentWidget(data)

Parameters:
data

createFormatter()


getSummary()

Needed to over ride this function (from _FormattedDropDownEditor) because we need to check for no value

getTooltipText(treeModel, treeNode)

Retrieves the tooltip text for the tree node.
Parameters:
treeModel
The tree model.
treeNode
The tree node.
Returns:
The tooltip text string.

postCreate()


prepareContentWidget()


setStore(store)

Parameters:
store