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