home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
ilcatsecti.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
74 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)ilcatsecti.tcl 1.4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ilcatsecti.tcl 1.4 26 Oct 1995 Copyright 1994 Westmount Technology
# Start user added include file section
require "ilcatconge.tcl"
# End user added include file section
require "ilsection.tcl"
Class IlCatSection : {IlSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor IlCatSection {class this name document} {
set this [IlSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method IlCatSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this IlSection::destructor
}
method IlCatSection::promoter {this document} {
$this extension sty
$this uiType Catalog
$this IlSection::promoter $document
global classCount
$this _contentsGenerator [IlCatConGen new IlCatConGen$classCount $this]
incr classCount
}
method IlCatSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method IlCatSection::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
}