home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
mtphase.tcl
< prev
next >
Wrap
Text File
|
1997-11-12
|
2KB
|
66 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)mtphase.tcl /main/titanic/5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)mtphase.tcl /main/titanic/5 12 Nov 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "mtcontaine.tcl"
Class MTPhase : {MTContainer} {
constructor
method destructor
method associations
method getOwners
}
constructor MTPhase {class this name fromRepObj toRepObj} {
set this [MTContainer::constructor $class $this $name $fromRepObj $toRepObj]
# Start constructor user section
if [.main import] {
$this setVersionableClass systemOnlyVersions MTSystem
} else {
$this setVersionableClass systemVersions MTSystem
}
$this selectFlag phaseVersion
$this level Phase
$this createConflictingObjects
# End constructor user section
return $this
}
method MTPhase::destructor {this} {
# Start destructor user section
# End destructor user section
$this MTContainer::destructor
}
method MTPhase::associations {this} {
if [.main import] {
return {systemOnlyVersions customFileVersions}
} else {
return {systemVersions customFileVersions}
}
}
method MTPhase::getOwners {this} {
set owners ""
lappend owners [[$this fromRepObj] configVersions]
if {[$this toRepObj] != ""} {
lappend owners [[$this toRepObj] configVersions]
} else {
lappend owners {}
}
return $owners
}
# Do not delete this line -- regeneration end marker