home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
groupstgde.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
71 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)groupstgde.tcl 1.3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)groupstgde.tcl 1.3 24 Jan 1996 Copyright 1994 Westmount Technology
# Start user added include file section
require "groupdefdi.tcl"
# End user added include file section
require "opendefobj.tcl"
Class GroupStgDef : {OpenDefObject} {
constructor
method destructor
method infoList
method writeObject
method open
attribute members
}
constructor GroupStgDef {class this name specification} {
set this [OpenDefObject::constructor $class $this $name $specification]
# Start constructor user section
$this smallIcon folder_16
$this largeIcon folder_32
# End constructor user section
return $this
}
method GroupStgDef::destructor {this} {
# Start destructor user section
# End destructor user section
$this OpenDefObject::destructor
}
method GroupStgDef::infoList {this} {
set list [$this OpenDefObject::infoList]
set list [concat $list Members]
set list [concat $list \"[$this members]\"]
return $list
}
method GroupStgDef::writeObject {this fid} {
set formatString "%-25s | %s | %s"
puts $fid [format $formatString [$this name] [$this type] \
[$this members]]
}
method GroupStgDef::open {this} {
if {![$this editable]} {
return
}
.main busy TRUE
set definer [[.main editorArea] groupDefiner]
if {[catch {$definer load $this}]} {
set definer [GroupDefDialog new .main.groupDefiner]
[.main editorArea] groupDefiner $definer
$definer load $this
}
.main busy FALSE
}
# Do not delete this line -- regeneration end marker