home *** CD-ROM | disk | FTP | other *** search
/ PC World 1997 November / PCWorld_1997-11_cd.bin / software / programy / komix / DATA.Z / fm50docsec.tcl < prev    next >
Text File  |  1996-06-12  |  1KB  |  50 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #      (c)     Cadre Technologies Inc.    1996
  4. #
  5. #      File:           @(#)fm50docsec.tcl    /main/4
  6. #      Author:         <generated>
  7. #      Description:
  8. #---------------------------------------------------------------------------
  9. # SccsId = @(#)fm50docsec.tcl    /main/4   12 Jun 1996 Copyright 1996 Cadre Technologies Inc.
  10.  
  11. # Start user added include file section
  12. # End user added include file section
  13.  
  14. require "fmdocsecti.tcl"
  15.  
  16. Class Fm50DocSection : {FmDocSection} {
  17.     constructor
  18.     method destructor
  19.     method promoter
  20. }
  21.  
  22. constructor Fm50DocSection {class this name document} {
  23.     set this [FmDocSection::constructor $class $this $name $document]
  24.     # Start constructor user section
  25.     # End constructor user section
  26.     return $this
  27. }
  28.  
  29. method Fm50DocSection::destructor {this} {
  30.     # Start destructor user section
  31.     # End destructor user section
  32.     $this FmDocSection::destructor
  33. }
  34.  
  35. method Fm50DocSection::promoter {this document} {
  36.  
  37.     $this FmSection::promoter $document
  38.  
  39.     $this uiType Document
  40.     global classCount
  41.     $this _contentsGenerator [Fm50DocConGen new \
  42.         Fm50DocConGen$classCount $this]
  43.     incr classCount
  44.     set version [[[$this document] editor] version]
  45.     $this initContents fm${version}doc.con
  46. }
  47.  
  48. # Do not delete this line -- regeneration end marker
  49.  
  50.