home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)opendefobj.tcl 1.2
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)opendefobj.tcl 1.2 04 Jan 1996 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- # End user added include file section
-
- require "custdefsob.tcl"
-
- Class OpenDefObject : {CustDefsObject} {
- constructor
- method destructor
- method updateView
- method infoList
- }
-
- constructor OpenDefObject {class this name specification} {
- set this [CustDefsObject::constructor $class $this $name $specification]
- # Start constructor user section
- $this conversionSet "OPENSTGDEF id"
- $this id $this
- # End constructor user section
- return $this
- }
-
- method OpenDefObject::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this CustDefsObject::destructor
- }
-
- method OpenDefObject::updateView {this} {
- if [$this editable] {
- set level "[$this specLevel] *"
- } else {
- set level [$this specLevel]
- }
-
- $this label [$this name]
- $this details "\"[$this type]\"
- \"$level\""
- }
-
- method OpenDefObject::infoList {this} {
- return "Name \{[$this name]\} \
- Type [$this type] \
- {Specification Level} [$this specLevel] "
- }
-
- # Do not delete this line -- regeneration end marker
-
-