home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
reqsynchro.tcl
< prev
next >
Wrap
Text File
|
1997-10-03
|
2KB
|
72 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)reqsynchro.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)reqsynchro.tcl /main/titanic/3 3 Oct 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "reqdriver.tcl"
Class ReqSynchronizer : {ReqDriver} {
constructor
method destructor
method endSynchronize
attribute frozenFiles
attribute notIntQualFiles
}
constructor ReqSynchronizer {class this} {
set this [ReqDriver::constructor $class $this]
# Start constructor user section
$this frozenFiles ""
$this notIntQualFiles ""
# End constructor user section
return $this
}
method ReqSynchronizer::destructor {this} {
# Start destructor user section
# End destructor user section
$this ReqDriver::destructor
}
method ReqSynchronizer::endSynchronize {this} {
[.main messageArea] message ""
set frozenMessage ""
set qualMessage ""
foreach drsF [$this frozenFiles] {
set frozenMessage "$frozenMessage\n [$drsF levelName]"
}
foreach drsQ [$this notIntQualFiles] {
set qualMessage "${qualMessage}\n [$drsQ levelName]"
}
set message ""
if [llength $frozenMessage] {
set message "The following frozen diagrams/objects can not
be in stalled in DOORS: ${frozenMessage}
because no working version was synchronized before."
}
if [llength $qualMessage] {
if [llength $message] {
set message "${message}\n\n-------------------------------------
-------\n\n"
}
set message "${message}The following qualified diagrams can not\
be installed in DOORS: ${qualMessage}
because their classifier objects (Class/UseCase) do not exist."
}
if [llength $message] {
wmtkwarning $message
}
}
# Do not delete this line -- regeneration end marker