home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cbcadmodel.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
62 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)cbcadmodel.tcl 1.3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cbcadmodel.tcl 1.3 04 Aug 1995 Copyright 1994 Westmount Technology
# Start user added include file section
require "cbclass.tcl"
require "cbbinaryas.tcl"
require "cbnaryasso.tcl"
# End user added include file section
require "cadmodel.tcl"
Class CBCADModel : {CADModel} {
constructor
method destructor
}
constructor CBCADModel {class this i_configVersion i_phaseVersion} {
set this [CADModel::constructor $class $this $i_configVersion $i_phaseVersion]
# Start constructor user section
# Add creator scripts to the ObjectFactory
set objFac [$this getObjectFactory]
# $objFac addCreatorScript $OMT_CAD_Class \
# "return \[CBClass new $this]"
# $objFac addCreatorScript $OMT_CAD_Container \
# "return \[CBClass new $this]"
# $objFac addCreatorScript $OMT_CAD_Association \
# "return \[CBBinaryAssoc new $this]"
# $objFac addCreatorScript $OMT_CAD_Aggregation \
# "return \[CBBinaryAssoc new $this]"
# $objFac addCreatorScript $OMT_CAD_QualAssoc \
# "return \[CBBinaryAssoc new $this]"
# $objFac addCreatorScript $OMT_CAD_QualAggr \
# "return \[CBBinaryAssoc new $this]"
$objFac addCreatorScript $OMT_CAD_NaryAssocConn \
"return \[CBNaryAssoc new $this]"
# Combined types
$objFac addCreatorScript $OMT_CAD_CB_Class \
"return \[CBClass new $this]"
$objFac addCreatorScript $OMT_CAD_CB_Association \
"return \[CBBinaryAssoc new $this]"
# End constructor user section
return $this
}
method CBCADModel::destructor {this} {
# Start destructor user section
# End destructor user section
$this CADModel::destructor
}
# Do not delete this line -- regeneration end marker