home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1995
- #
- # File: %W%
- # Author: Challenger
- # Description: Implementation of old Report Writer table Description
- #
- #---------------------------------------------------------------------------
- # SccsId = %W% %G% Copyright 1995 Cadre Technologies Inc.
-
-
- constructor DescriptionRecord {class this configV phaseV systemV fileV
- workitem} {
- set this [GCObject::constructor $class $this]
-
- $this project_version [$configV versionNumber]
- $this phase_id [[$phaseV phase] identity]
- $this system_id [[$systemV system] identity]
-
- if { $fileV != "" } {
- $this file_id [[$fileV file] identity]
- $this item_id 0
- $this name ""
- $this scope ""
- $this item_type ""
- $this desc_type "ftext"
- } else {
- $this file_id 0
- $this item_id [$workitem identity]
- $this name [[$workitem item] name]
- $this scope [old2newscope [$workitem scope]]
- $this item_type [[$workitem item] type]
- $this desc_type "dtext"
- }
- $this desc_id 0
- $this desc_path ""
-
- return $this
- }
-