home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cbwmtarea.tcl
< prev
next >
Wrap
Text File
|
1996-08-29
|
3KB
|
115 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cbwmtarea.tcl /main/hindenburg/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cbwmtarea.tcl /main/hindenburg/1 29 Aug 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
Class CBWmtArea : {WmtArea} {
constructor
method destructor
method projectNm
method configurationNm
method phaseNm
method systemNm
method classNm
attribute classInfo
attribute systemInfo
attribute phaseInfo
attribute configurationInfo
attribute projectInfo
}
constructor CBWmtArea {class this name} {
set this [WmtArea::constructor $class $this $name]
# Start constructor user section
interface WaColumn $this.pcp {
WaEntry proj {
labelText "Project:"
}
WaEntry conf {
labelText "Configuration Version:"
}
WaEntry phase {
labelText "Phase:"
}
}
interface WaColumn $this.sc {
WaEntry sys {
labelText "System:"
}
WaEntry class {
labelText "Class:"
}
}
foreach column [$this columnSet] {
foreach entry [$column entrySet] {
$entry labelFont \
[m4_var get M4_contextarea_labelfont -context classbrowser]
$entry valueFont \
[m4_var get M4_contextarea_valuefont -context classbrowser]
}
}
$this projectInfo $this.pcp.proj
$this configurationInfo $this.pcp.conf
$this phaseInfo $this.pcp.phase
$this systemInfo $this.sc.sys
$this classInfo $this.sc.class
# End constructor user section
return $this
}
method CBWmtArea::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CBWmtArea::projectNm {this args} {
if {$args == ""} {
return [[$this projectInfo] valueText]
}
[$this projectInfo] valueText [lindex $args 0]
}
method CBWmtArea::configurationNm {this args} {
if {$args == ""} {
return [[$this configurationInfo] valueText]
}
[$this configurationInfo] valueText [lindex $args 0]
}
method CBWmtArea::phaseNm {this args} {
if {$args == ""} {
return [[$this phaseInfo] valueText]
}
[$this phaseInfo] valueText [lindex $args 0]
}
method CBWmtArea::systemNm {this args} {
if {$args == ""} {
return [[$this systemInfo] valueText]
}
[$this systemInfo] valueText [lindex $args 0]
}
method CBWmtArea::classNm {this args} {
if {$args == ""} {
return [[$this classInfo] valueText]
}
[$this classInfo] valueText [lindex $args 0]
}
# Do not delete this line -- regeneration end marker