stopEditing( shouldaccept )
shouldAccept
parameter is true
, the cell's label is changed to the edited value (the tree view's nsITreeView.setCellText()
method is called to change the cell contents). Otherwise the cell label is reverted to the value it had prior to editing.