home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)cadparamet.tcl 1.3
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)cadparamet.tcl 1.3 31 Jan 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "cadcdmcomp.tcl"
-
- Class CADParameter : {CADCDMComp} {
- constructor
- method destructor
- method getMatrixComponent
- method method
- attribute cell
- attribute _method
- }
-
- constructor CADParameter {class this cell method} {
- set this [CADCDMComp::constructor $class $this]
- $this cell $cell
- $this _method $method
- [$method _parameterSet] append $this
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method CADParameter::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this CADCDMComp::destructor
- }
-
- method CADParameter::getMatrixComponent {this} {
- return [$this cell]
- }
-
- # Do not delete this line -- regeneration end marker
-
- method CADParameter::method {this args} {
- if {$args == ""} {
- return [$this _method]
- }
- set ref [$this _method]
- if {$ref != ""} {
- [$ref _parameterSet] removeValue $this
- }
- set obj [lindex $args 0]
- if {$obj != ""} {
- [$obj _parameterSet] append $this
- }
- $this _method $obj
- }
-
-