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