home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
mtcustfile.tcl
< prev
next >
Wrap
Text File
|
1997-11-18
|
2KB
|
61 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)mtcustfile.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)mtcustfile.tcl /main/titanic/3 18 Nov 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "mtversion.tcl"
Class MTCustFile : {MTVersion} {
constructor
method destructor
method associations
method level
method getOwners
}
constructor MTCustFile {class this name fromRepObj toRepObj} {
set this [MTVersion::constructor $class $this $name $fromRepObj $toRepObj]
# Start constructor user section
$this copyCommand "CustomLevelVersion::copy"
# End constructor user section
return $this
}
method MTCustFile::destructor {this} {
# Start destructor user section
# End destructor user section
$this MTVersion::destructor
}
method MTCustFile::associations {this} {
return {}
}
method MTCustFile::level {this} {
# return the customization level,
return [[$this parent] level]
}
method MTCustFile::getOwners {this} {
set owners ""
lappend owners [[$this fromRepObj] customLevelVersions]
if {[$this toRepObj] != ""} {
lappend owners [[$this toRepObj] customLevelVersions]
} else {
lappend owners {}
}
return $owners
}
# Do not delete this line -- regeneration end marker