[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.551

Martijn Pieters mj@zope.com
Sat, 5 Oct 2002 17:24:34 -0400


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv4057/doc

Modified Files:
	CHANGES.txt 
Log Message:
New method setStateFunction for TreeMaker.

- Refactor tree method to allow callback function (set with
  setStateFunction) to influence node state.

- hasChildren now stores the result of getChildren in a local cache, which
  getChildren uses and clears on a subsequent call. This was needed to avoid
  generating the children list for open nodes twice.

- hasChildren now flattens its return value to a boolean; tree relies on
  this.


=== Zope/doc/CHANGES.txt 1.550 => 1.551 ===
--- Zope/doc/CHANGES.txt:1.550	Fri Oct  4 17:31:32 2002
+++ Zope/doc/CHANGES.txt	Sat Oct  5 17:24:03 2002
@@ -11,6 +11,10 @@
       - ZTUtils.Tree.TreeMaker now has additional methods for setting
         various flags and attributes that influence how the tree is built,
         making these aspects accessible to PythonScripts.
+
+      - ZTUtils.Tree.TreeMaker has a new method setStateFunction, which
+        allows you to set a callback function that can influence the state
+        (open, closed, leaf) of each node in the tree.
   
   Zope 2.6.0 beta 1