home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
cbparamete.tcl
< prev
next >
Wrap
Text File
|
1996-06-11
|
1KB
|
54 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cbparamete.tcl /main/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cbparamete.tcl /main/2 11 Jun 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
require "cadparamet.tcl"
require "cbcdmcomp.tcl"
Class CBParameter : {CBCDMComp CADParameter} {
method destructor
constructor
method format
attribute formattedText
}
method CBParameter::destructor {this} {
# Start destructor user section
# End destructor user section
$this CBCDMComp::destructor
$this CADParameter::destructor
}
constructor CBParameter {class this cell method} {
set this [CADParameter::constructor $class $this $cell $method]
set this [CBCDMComp::constructor $class $this $this]
$this formattedText ""
return $this
}
method CBParameter::format {this} {
if {[$this formattedText] != ""} {
return [$this formattedText]
}
set result [$this name]
if {[$this type] != ""} {
set result "${result}: [$this type]"
}
$this formattedText $result
return $result
}
# Do not delete this line -- regeneration end marker