home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cclassuiob.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
70 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cclassuiob.tcl 1.7
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cclassuiob.tcl 1.7 26 Jan 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
require "browsuiobj.tcl"
Class CClassUiObj : {BrowsUiObj} {
constructor
method destructor
method controlledClasses
method initializeInfo
}
global CClassUiObj::uiClass
set CClassUiObj::uiClass "ControlledClasses"
constructor CClassUiObj {class this name} {
set this [BrowsUiObj::constructor $class $this $name]
# Start constructor user section
$this uiName "<controlled classes>"
$this uiText "controlled classes"
# End constructor user section
return $this
}
method CClassUiObj::destructor {this} {
# Start destructor user section
# End destructor user section
$this BrowsUiObj::destructor
}
proc CClassUiObj::associations {} {
return {controlledClasses}
}
proc CClassUiObj::childTypes {assoc} {
if {[lsearch -exact "[CClassUiObj::associations]" "$assoc"] == -1} {
return ""
}
return "[BrowserProcs::childTypes $assoc]"
}
method CClassUiObj::controlledClasses {this} {
return [[$this parent] controlledClasses]
}
proc CClassUiObj::infoProperties {} {
return [BrowserProcs::infoProperties]
}
method CClassUiObj::initializeInfo {this dummy} {
$this BrowsUiObj::initializeInfo $dummy
$this setInfo Text "[$this uiText] of [[$this parent] getInfo Text]"
}
# Do not delete this line -- regeneration end marker