home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)fmdocsecti.tcl /main/hindenburg/1
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)fmdocsecti.tcl /main/hindenburg/1 16 Jul 1996 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- require "fmdocconge.tcl"
- require "cadsection.tcl"
- require "ccdsection.tcl"
- require "dfdsection.tcl"
- require "etdsection.tcl"
- require "mgdsection.tcl"
- require "stdsection.tcl"
- require "ucdsection.tcl"
- # End user added include file section
-
- require "fmsection.tcl"
-
- Class FmDocSection : {FmSection} {
- constructor
- method destructor
- method promoter
- method generateTypeContents
- method contentsGenerator
- attribute _contentsGenerator
- }
-
- constructor FmDocSection {class this name document} {
- set this [FmSection::constructor $class $this $name $document]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method FmDocSection::destructor {this} {
- set ref [$this _contentsGenerator]
- if {$ref != ""} {
- $ref _section ""
- }
- # Start destructor user section
- # End destructor user section
- $this FmSection::destructor
- }
-
- method FmDocSection::promoter {this document} {
- $this FmSection::promoter $document
-
- $this uiType Document
- global classCount
- $this _contentsGenerator [FmDocConGen new FmDocConGen$classCount $this]
- incr classCount
- set version [[[$this document] editor] version]
- $this initContents fm${version}doc.con
- }
-
- method FmDocSection::generateTypeContents {this} {
-
- [$this contentsGenerator] generate
- }
-
- # Do not delete this line -- regeneration end marker
-
- method FmDocSection::contentsGenerator {this args} {
- if {$args == ""} {
- return [$this _contentsGenerator]
- }
- set ref [$this _contentsGenerator]
- if {$ref != ""} {
- $ref _section ""
- }
- set obj [lindex $args 0]
- if {$obj != ""} {
- $obj _section $this
- }
- $this _contentsGenerator $obj
- }
-
-