home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)ildocsecti.tcl 1.5
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ildocsecti.tcl 1.5 03 Nov 1995 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- require "ildocconge.tcl"
- # End user added include file section
-
- require "ilsection.tcl"
-
- Class IlDocSection : {IlSection} {
- constructor
- method destructor
- method promoter
- method generateTypeContents
- method contentsGenerator
- attribute _contentsGenerator
- }
-
- constructor IlDocSection {class this name document} {
- set this [IlSection::constructor $class $this $name $document]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method IlDocSection::destructor {this} {
- set ref [$this _contentsGenerator]
- if {$ref != ""} {
- $ref _section ""
- }
- # Start destructor user section
- # End destructor user section
- $this IlSection::destructor
- }
-
- method IlDocSection::promoter {this document} {
- $this extension doc
- $this IlSection::promoter $document
-
- $this uiType Document
- global classCount
- $this _contentsGenerator [IlDocConGen new IlDocConGen$classCount $this]
- incr classCount
-
- }
-
- method IlDocSection::generateTypeContents {this} {
-
- [$this contentsGenerator] generate
- }
-
- # Do not delete this line -- regeneration end marker
-
- method IlDocSection::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
- }
-
-