home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
revengpbdl.tcl
< prev
next >
Wrap
Text File
|
1997-06-16
|
2KB
|
71 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)revengpbdl.tcl /main/titanic/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)revengpbdl.tcl /main/titanic/2 16 Jun 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "revengdlg.tcl"
Class RevEngPbDlg : {RevEngDlg} {
method destructor
constructor
method getOptions
}
method RevEngPbDlg::destructor {this} {
# Start destructor user section
# End destructor user section
$this RevEngDlg::destructor
}
constructor RevEngPbDlg {class this name} {
set this [RevEngDlg::constructor $class $this $name \
"PowerBuilder" "reveng_pb"]
interface DlgRow $this.top.case {
verStretchFactor 0
verShrinkFactor 0
Label lab {
text Case
}
OptionMenu kind {
entrySet {
"First Case"
"Upper Case"
"Lower Case"
}
selected "First Case"
}
}
interface CheckButton $this.top.association {
label "Reverse engineer associations"
state 1
}
return $this
}
method RevEngPbDlg::getOptions {this} {
set script [$this RevEngDlg::getOptions]
case "[$this.top.case.kind selected]" in {
{"First Case"} {append script " -IF"}
{"Upper Case"} {append script " -IU"}
{"Lower Case"} {append script " -IL"}
}
if [$this.top.association state] {
append script " -a rev_assoc.tcl"
}
return $script
}
# Do not delete this line -- regeneration end marker