home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)searchdefd.tcl /main/hindenburg/1
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)searchdefd.tcl /main/hindenburg/1 27 Aug 1996 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- # End user added include file section
-
- require "opendefdia.tcl"
-
- Class SearchDefDialog : {OpenDefDialog} {
- constructor
- method destructor
- method createInterface
- method clearInterface
- method fromInterface
- method toInterface
- }
-
- constructor SearchDefDialog {class this name} {
- set this [OpenDefDialog::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method SearchDefDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this OpenDefDialog::destructor
- }
-
- method SearchDefDialog::createInterface {this} {
- interface NoteBkPage $this.definitionNBP {
- label Definition
- DlgColumn DC {
- Label nameL { text Name: }
- SingleLineText nameSLT {}
- DlgRow DR {
- DlgColumn flagsDC {
- Label flagsL { text "Decomposition Flags:" }
- TextList flagsTL {
- rowCount 5
- selectionPolicy MULTIPLE
- }
- }
- DlgColumn typesDC {
- Label typesL { text "Diagram Types:" }
- TextList typesTL {
- rowCount 5
- selectionPolicy MULTIPLE
- }
- }
- }
- }
- }
- $this dPage $this.definitionNBP.DC
-
- [$this dPage].DR.flagsDC.flagsTL entrySet {decompSystems
- decompFiles decompComponents decompParents decompLeafs}
- [$this dPage].DR.typesDC.typesTL entrySet {cad ccd dfd etd mgd std ucd}
- }
-
- method SearchDefDialog::clearInterface {this} {
- $this OpenDefDialog::clearInterface
- [$this dPage].DR.flagsDC.flagsTL selectedSet {}
- [$this dPage].DR.typesDC.typesTL selectedSet {}
- }
-
- method SearchDefDialog::fromInterface {this} {
- [$this curObject] flags [[$this dPage].DR.flagsDC.flagsTL selectedSet]
- [$this curObject] fileTypes \
- [[$this dPage].DR.typesDC.typesTL selectedSet]
- return ""
- }
-
- method SearchDefDialog::toInterface {this} {
- [$this dPage].DR.flagsDC.flagsTL selectedSet [[$this curObject] flags]
- [$this dPage].DR.typesDC.typesTL selectedSet \
- [[$this curObject] fileTypes]
- }
-
- # Do not delete this line -- regeneration end marker
-
-