SelectionInTree.st
changeset 1189 0c2cf8ee62e3
parent 1176 cd9fc4bfb273
child 1204 3940e6cbde19
--- a/SelectionInTree.st	Fri Feb 05 12:00:47 1999 +0100
+++ b/SelectionInTree.st	Thu Feb 11 18:43:51 1999 +0100
@@ -41,10 +41,13 @@
 documentation
 "
     list and selection holder for hierarchical list structures. Used
-    to buildup file-trees, class tress etc.
+    to buildup file-trees, class trees etc.
 
     Especially suited for use with SelectionInTreeView.
 
+    Notice: this class replaces SelectionInHierarchy, which provides
+            similar (but less sphisticated) functionality.
+
     [See also:]
         TreeItem
         SelectionInTreeView
@@ -75,7 +78,7 @@
 !SelectionInTree methodsFor:'accessing'!
 
 list
-    "get list oc currently shown objects
+    "get the list of currently shown objects
     "
     ^ list
 !
@@ -103,8 +106,7 @@
         root tree:tree.
         root parent:nil.
     ].
-    self listFromRoot.
-    self changed:#list.
+    self recomputeList
 !
 
 value
@@ -830,5 +832,5 @@
 !SelectionInTree class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.20 1998-11-14 19:46:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/SelectionInTree.st,v 1.21 1999-02-11 17:43:51 cg Exp $'
 ! !