home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1995
- #
- # File: @(#)phases.tcl /main/hindenburg/1
- # Author: Harm Leijendeckers
- # Description: Report on phases
- # Usage in: ConfigVersion and higher
- #
- #---------------------------------------------------------------------------
- # SccsId = @(#)phases.tcl /main/hindenburg/1 11 Dec 1996 Copyright 1995 Cadre Technologies Inc.
-
-
- Class ReportPhases : {ReportBase} {
- constructor
- method configReport
- }
-
-
- constructor ReportPhases {class this} {
- set this [ReportBase::constructor $class $this]
- $this reportName Phases
- return $this
- }
-
-
- method ReportPhases::configReport {this} {
- set phaseV [[$this configV] firstPhaseVersion]
- if { [$phaseV isNil] } { return 0 }
-
- set report [$this report]
- $report header {
- [$this report] print Phase 31
- [$this report] print Type 21
- [$this report] print Version 26
- [$this report] print Status 16
- [$this report] print Link line
- [$this report] line
- }
-
- while { ![$phaseV isNil] } {
- $report print [[$phaseV phase] name] 30
- $report space
- $report print [[$phaseV phase] type] 20
- $report space
- $report print [$phaseV versionName] 25
- $report space
- $report print [$phaseV status] 15
- $report space
- set link [[$this configV] findPhaseVersionLink -byPhaseVersion $phaseV]
- $report print [$link status] 15
- $report line
-
- set phaseV [$phaseV next [$this configV]]
- }
-
- $report page
- $report remove header
-
- return 0
- }
-
-
- set executeMe [ReportPhases new]
-