home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
wordmstrse.tcl
< prev
next >
Wrap
Text File
|
1997-02-20
|
2KB
|
76 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)wordmstrse.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)wordmstrse.tcl /main/titanic/3 20 Feb 1997 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require_module_file "wordsectio.tcl" word
Class WordMstrSection : {WordSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor WordMstrSection {class this name document} {
set this [WordSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method WordMstrSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this WordSection::destructor
}
method WordMstrSection::promoter {this} {
$this WordSection::promoter
$this uiType WordDoc
$this extension doc
$this operationClass manipulate
if {! [isCommand [$this _contentsGenerator]]} {
global classCount
$this _contentsGenerator \
[WordMstrConGen new WordMstrConGen$classCount $this]
incr classCount
}
}
method WordMstrSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method WordMstrSection::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
}