home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)edcontrolp.tcl 1.6
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)edcontrolp.tcl 1.6 21 Nov 1995 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- # End user added include file section
-
-
- Class EdControlPanel : {VerControlPanel} {
- constructor
- method destructor
- method initialize
- method initPanel
- attribute area
- }
-
- constructor EdControlPanel {class this name} {
- set this [VerControlPanel::constructor $class $this $name]
- # Start constructor user section
-
- $this selectionChanged {[%this area] currentSymbol [%this selected]}
-
- # End constructor user section
- return $this
- }
-
- method EdControlPanel::destructor {this} {
- # Start destructor user section
- # End destructor user section
- }
-
- method EdControlPanel::initialize {this edType} {
-
- eval "proc registerObject {spec} {$this initPanel \$spec}"
-
- set userPath [path_name concat [path_name concat ~ icase] $edType.pnl]
- if [file exists $userPath] {
- source $userPath
- } else {
- set tmpFile [args_file {}]
- [ClientContext::global] downLoadCustomFile $edType pnl \
- etc $tmpFile
- source $tmpFile
- unlink $tmpFile
- }
- }
-
- method EdControlPanel::initPanel {this spec} {
-
- while {![lempty $spec]} {
- set key [lvarpop spec]
- set value [lvarpop spec]
- $this $key $value
- }
- }
-
- # Do not delete this line -- regeneration end marker
-
-