home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (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
- }
-
-