home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
vssyswarni.tcl
< prev
next >
Wrap
Text File
|
1997-05-21
|
2KB
|
65 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)vssyswarni.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)vssyswarni.tcl /main/titanic/3 21 May 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require_module_file "vssysdialo.tcl" vcm
# This class provides a general warning dialog.
# If yes is Pressed the selected files are processed
# as in VSSysDialog.
Class VSSysWarningDialog : {YesNoWarningDialog VSSysDialog} {
method destructor
constructor
method createInterface
method popUp
# This string together with the description of
# the selected files makes up the warning message.
# The title is also constructed from this string.
#
attribute action
}
method VSSysWarningDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this VSSysDialog::destructor
}
constructor VSSysWarningDialog {class this name} {
set this [YesNoWarningDialog::constructor $class $this $name]
$this createInterface
$this needsUpdate 1
return $this
}
method VSSysWarningDialog::createInterface {this} {
$this delHelpButton
$this yesPressed {
%this processFiles
}
}
method VSSysWarningDialog::popUp {this} {
$this selectedFiles [.main selectedObjSet]
$this title "[lindex [$this action] 0] warning"
$this message "[$this action] [$this selectionDescription] ?"
$this YesNoWarningDialog::popUp
}
# Do not delete this line -- regeneration end marker