home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
ccsetconfi.tcl
< prev
next >
Wrap
Text File
|
1997-05-21
|
2KB
|
60 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)ccsetconfi.tcl /main/titanic/4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ccsetconfi.tcl /main/titanic/4 21 May 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
# This dialog asks whether the config spec
# in file should be set for view. It performs the action
# if yes is pressed.
Class CCSetConfigSpecDialog : {QuestionDialog} {
constructor
method destructor
method createInterface
attribute view
attribute file
}
constructor CCSetConfigSpecDialog {class this name} {
set this [QuestionDialog::constructor $class $this $name]
# Start constructor user section
$this createInterface
# End constructor user section
return $this
}
method CCSetConfigSpecDialog::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CCSetConfigSpecDialog::createInterface {this} {
$this title "Set Config Spec"
$this message "Set Config Spec for view [$this view]?"
$this cancelPressed {
BasicFS::removeFile [%this file]
%this delete
}
$this okPressed {
CCCommand::setConfigSpec [%this view] [%this file]
BasicFS::removeFile [%this file]
%this delete
.main updateView
}
$this delHelpButton
}
# Do not delete this line -- regeneration end marker