home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
wd97mstrse.tcl
< prev
next >
Wrap
Text File
|
1997-05-23
|
2KB
|
74 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)wd97mstrse.tcl /main/hindenburg/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)wd97mstrse.tcl /main/hindenburg/1 23 May 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "wordsectio.tcl"
Class Wd97MstrSection : {WordSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor Wd97MstrSection {class this name document} {
set this [WordSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method Wd97MstrSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this WordSection::destructor
}
method Wd97MstrSection::promoter {this document} {
$this uiType Wd97Doc
$this extension doc
$this WordSection::promoter $document
$this operationClass manipulate
global classCount
$this _contentsGenerator \
[Wd97MstrConGen new Wd97MstrConGen$classCount $this]
incr classCount
}
method Wd97MstrSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method Wd97MstrSection::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
}