home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)vssyswarni.tcl /main/hindenburg/2
- # Author: <generated>
- # Description: VCM integration file
- #---------------------------------------------------------------------------
- # SccsId = @(#)vssyswarni.tcl /main/hindenburg/2 18 Mar 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
-
-