home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
revengdelp.tcl
< prev
next >
Wrap
Text File
|
1997-08-15
|
2KB
|
72 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)revengdelp.tcl /main/titanic/4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)revengdelp.tcl /main/titanic/4 15 Aug 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "revengdlg.tcl"
Class RevEngDelphiDlg : {RevEngDlg} {
method destructor
constructor
method getOptions
}
method RevEngDelphiDlg::destructor {this} {
# Start destructor user section
# End destructor user section
$this RevEngDlg::destructor
}
constructor RevEngDelphiDlg {class this name} {
set this [RevEngDlg::constructor $class $this $name "Delphi" "reveng_delphi"]
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 RevEngDelphiDlg::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