home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)userdefdia.tcl 1.4
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)userdefdia.tcl 1.4 04 Apr 1996 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- # End user added include file section
-
- require "opendefdia.tcl"
-
- Class UserDefDialog : {OpenDefDialog} {
- constructor
- method destructor
- method createInterface
- method clearInterface
- method fromInterface
- method toInterface
- }
-
- constructor UserDefDialog {class this name} {
- set this [OpenDefDialog::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method UserDefDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this OpenDefDialog::destructor
- }
-
- method UserDefDialog::createInterface {this} {
- interface NoteBkPage $this.definitionNBP {
- label Definition
- DlgColumn DC {
- Label nameL { text Name: }
- SingleLineText nameSLT {}
- Label procL { text "TCL Procedure:" }
- SingleLineText procSLT {}
- }
- }
- $this dPage $this.definitionNBP.DC
- }
-
- method UserDefDialog::clearInterface {this} {
- $this OpenDefDialog::clearInterface
- [$this dPage].procSLT text ""
- }
-
- method UserDefDialog::fromInterface {this} {
- [$this curObject] procedure [[$this dPage].procSLT text]
- return ""
- }
-
- method UserDefDialog::toInterface {this} {
- [$this dPage].procSLT text [[$this curObject] procedure]
- }
-
- # Do not delete this line -- regeneration end marker
-
-