home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
gdrfilesel.tcl
< prev
next >
Wrap
Text File
|
1997-04-16
|
2KB
|
59 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)gdrfilesel.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)gdrfilesel.tcl /main/titanic/1 16 Apr 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
Class GDRFileSelector : {GCObject} {
constructor
method destructor
method file
attribute itemType
attribute decompFlags
attribute fileTypes
attribute _file
}
constructor GDRFileSelector {class this i_itemType i_decompFlags i_fileTypes file} {
set this [GCObject::constructor $class $this]
$this itemType $i_itemType
$this decompFlags $i_decompFlags
$this fileTypes $i_fileTypes
$this _file $file
[$file _fileSelectorSet] append $this
# Start constructor user section
# End constructor user section
return $this
}
method GDRFileSelector::destructor {this} {
# Start destructor user section
# End destructor user section
}
# Do not delete this line -- regeneration end marker
method GDRFileSelector::file {this args} {
if {$args == ""} {
return [$this _file]
}
set ref [$this _file]
if {$ref != ""} {
[$ref _fileSelectorSet] removeValue $this
}
set obj [lindex $args 0]
if {$obj != ""} {
[$obj _fileSelectorSet] append $this
}
$this _file $obj
}