home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
contsysdia.tcl
< prev
next >
Wrap
Text File
|
1997-03-18
|
2KB
|
63 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)contsysdia.tcl /main/hindenburg/2
# Author: <generated>
# Description: VCM integration file
#---------------------------------------------------------------------------
# SccsId = @(#)contsysdia.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 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