home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
groupstgde.tcl
< prev
next >
Wrap
Text File
|
1997-03-14
|
2KB
|
70 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)groupstgde.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)groupstgde.tcl /main/titanic/1 14 Mar 1997 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]
lappend list Members [$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