home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
reqreporte.tcl
< prev
next >
Wrap
Text File
|
1997-08-29
|
3KB
|
80 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)reqreporte.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)reqreporte.tcl /main/titanic/2 29 Aug 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "reqdriver.tcl"
Class ReqReporter : {ReqDriver} {
constructor
method destructor
method applyToLevel
}
constructor ReqReporter {class this} {
set this [ReqDriver::constructor $class $this]
# Start constructor user section
# End constructor user section
return $this
}
method ReqReporter::destructor {this} {
# Start destructor user section
# End destructor user section
$this ReqDriver::destructor
}
method ReqReporter::applyToLevel {this objTeamObjs operation dxlCommandRef {arg1 ""} {arg2 ""}} {
upvar $dxlCommandRef dxlCommand
set orgOperation $operation
set corporate [$this corporate]
set project [$this project]
set configV [$this configV]
set phaseV [$this phaseV]
set systemV [$this systemV]
set fileV [$this fileV]
$this applyToMultiple $project $corporate $operation dxlCommand $arg1 $arg2
set currentLevel $phaseV
set parentLevel $configV
$this applyToMultiple $phaseV $configV $operation dxlCommand $arg1 $arg2
if ![$systemV isNil] {
set currentLevel $systemV
set parentLevel $phaseV
$this applyToMultiple $systemV $phaseV $operation dxlCommand $arg1 $arg2
}
if ![$fileV isNil] {
set currentLevel $fileV
set parentLevel $systemV
$this applyToMultiple $fileV $systemV $operation dxlCommand $arg1 $arg2
}
if { $arg2 == "Objects"} {
$this applyToMultiple $objTeamObjs $parentLevel showSMObjects dxlCommand $arg1 $arg2
}
if {$arg2 == "ClassFeatures"} {
$this applyToMultiple $objTeamObjs $parentLevel showClassFeatures dxlCommand $arg1 $arg2
}
if {$objTeamObjs == $currentLevel } {
$this applyRecursive $objTeamObjs $parentLevel $operation dxlCommand $arg1 $arg2 ""
} else {
$this applyRecursive $objTeamObjs $currentLevel $operation dxlCommand $arg1 $arg2 ""
}
}
# Do not delete this line -- regeneration end marker