home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
contsysdia.tcl
< prev
next >
Wrap
Text File
|
1997-05-21
|
2KB
|
63 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)contsysdia.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)contsysdia.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 extends VSSysDialog with functionality to execute
# continuus dialogs on the selected files.
Class ContSysDialog : {VSSysDialog} {
constructor
method destructor
method popUpContinuusDialog
attribute contDialogCommand
}
constructor ContSysDialog {class this name} {
set this [VSSysDialog::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method ContSysDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this VSSysDialog::destructor
}
# Pops up the continuus dialog in
# contDialogCommand.
#
method ContSysDialog::popUpContinuusDialog {this} {
busy {
$this selectedFiles [.main selectedObjSet]
foreach file [$this selectedFiles] {
[$this contDialogCommand] addArgument [$file path]
}
vsCommandHandler execute [$this contDialogCommand]
[$this contDialogCommand] deleteArguments
if [$this needsUpdate] {
.main updateView
}
wmtkmessage ""
}
}
# Do not delete this line -- regeneration end marker