home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
searchdefd.tcl
< prev
next >
Wrap
Text File
|
1997-07-16
|
3KB
|
91 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)searchdefd.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)searchdefd.tcl /main/titanic/2 16 Jul 1997 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 \
[lsort [BrowserProcs::graphTypes]]
}
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