home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------
- #
- # (c) Cayenne Software, Inc. 1996
- #
- # File: htmltitlesec.tcl
- # Description: see Document Generation Guide
- #---------------------------------------------------------------------
-
- set user_dir /user/papr/icase
- # Change this variable setting
-
- my_require "$user_dir/htmldocconge.tcl"
- my_require "$user_dir/htmlsection.tcl"
-
- Class HtmlTitleSection : {HtmlSection} {
- constructor
- method destructor
- method promoter
- method generateTypeContents
- method contentsGenerator
- attribute _contentsGenerator
- }
-
- constructor HtmlTitleSection {class this name document} {
- set this [HtmlSection::constructor $class $this $name $document]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method HtmlTitleSection::destructor {this} {
- set ref [$this _contentsGenerator]
- if {$ref != ""} {
- $ref _section ""
- }
- # Start destructor user section
- # End destructor user section
- $this HtmlSection::destructor
- }
-
- method HtmlTitleSection::promoter {this document} {
- $this uiType Title
- $this extension html
- $this HtmlSection::promoter $document
- global classCount
- $this _contentsGenerator [HtmlTitleConGen new HtmlTitleConGen$classCount $this]
- incr classCount
- }
-
- method HtmlTitleSection::generateTypeContents {this} {
-
- [$this contentsGenerator] generate
- }
-
- # Do not delete this line -- regeneration end marker
-
- method HtmlTitleSection::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
- }
-