home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cstree.tcl
< prev
next >
Wrap
Text File
|
1996-10-04
|
1KB
|
52 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)cstree.tcl /main/hindenburg/8
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cstree.tcl /main/hindenburg/8 4 Oct 1996 Copyright 1996 Cayenne Software Inc.
# Start user added include file section
require "csrootnode.tcl"
# End user added include file section
Class CSTree : {BrowsTree} {
constructor
method destructor
method update
attribute view
}
constructor CSTree {class this name} {
set this [BrowsTree::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method CSTree::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CSTree::update {this {rebuild 1}} {
set selected [$this selected]
if [lempty [$this rootSet]] {
CSRootNode new $this.root
}
$this.root update $rebuild
if {[info commands $selected] != ""} {
$this selected $selected
$selected makeVisible
$selected display
}
}
# Do not delete this line -- regeneration end marker