home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
cbpropcmpl.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
57 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cbpropcmpl.tcl 1.4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cbpropcmpl.tcl 1.4 31 Jan 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
Class CBPropCmpList : {GCObject} {
constructor
method destructor
method addComponent
method addPropComponent
method removePropComponent
attribute propComponentSet
}
constructor CBPropCmpList {class this} {
set this [GCObject::constructor $class $this]
$this propComponentSet [List new]
# Start constructor user section
# End constructor user section
return $this
}
method CBPropCmpList::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CBPropCmpList::addComponent {this component label item workItem} {
if {$component == "" || [$component isNil]} {
return
}
set cbPropComponent [CBPropComponent new $component]
$this addPropComponent $cbPropComponent
$cbPropComponent addLabel $label $item $workItem
}
# Do not delete this line -- regeneration end marker
method CBPropCmpList::addPropComponent {this newPropComponent} {
[$this propComponentSet] append $newPropComponent
}
method CBPropCmpList::removePropComponent {this oldPropComponent} {
[$this propComponentSet] removeValue $oldPropComponent
}