home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
repdumpcor.tcl
< prev
next >
Wrap
Text File
|
1997-11-28
|
2KB
|
74 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)repdumpcor.tcl /main/titanic/4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)repdumpcor.tcl /main/titanic/4 28 Nov 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "repdumpdia.tcl"
Class RepDumpCorporateDialog : {RepDumpDialog} {
constructor
method destructor
method popUp
method dump
method objType
method objDescription
}
constructor RepDumpCorporateDialog {class this name view} {
set this [RepDumpDialog::constructor $class $this $name $view]
# Start constructor user section
$this config \
-title "Dump Entire Corporate" \
-helpPressed "$view helpOnName dumpCorporate"
[$this nameLabel] text "Corporate Name"
# End constructor user section
return $this
}
method RepDumpCorporateDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this RepDumpDialog::destructor
}
method RepDumpCorporateDialog::popUp {this} {
set rep [[$this view] rep]
set name [$rep currentName]
[$this nameField] text $name
$this RepDumpDialog::popUp
}
method RepDumpCorporateDialog::dump {this dbInfo} {
upvar $dbInfo info
set rep [[$this view] rep]
set name [$rep currentName]
# Save this for the archive dialog.
$this dumpDirectory [$rep currentRepDir]
return [$rep dumpRepository "$this dumpFinished" info {} $name]
}
method RepDumpCorporateDialog::objType {this} {
return "Corporate"
}
method RepDumpCorporateDialog::objDescription {this} {
return "repository '[[$this nameField] text]'"
}
# Do not delete this line -- regeneration end marker