home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
newccfiled.tcl
< prev
next >
Wrap
Text File
|
1997-03-18
|
2KB
|
71 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)newccfiled.tcl /main/hindenburg/2
# Author: <generated>
# Description: VCM integration file
#---------------------------------------------------------------------------
# SccsId = @(#)newccfiled.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 "newvsfiled.tcl" vcm
Class NewCCFileDialog : {NewVSFileDialog} {
constructor
method destructor
method createInterface
method createVSFile
}
constructor NewCCFileDialog {class this name} {
set this [NewVSFileDialog::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method NewCCFileDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this NewVSFileDialog::destructor
}
# Add creation comments to the dialog.
#
method NewCCFileDialog::createInterface {this} {
$this NewVSFileDialog::createInterface
# Adjust the interface
$this title "New ClearCase File"
Label new $this.DC.L -text "Creation comments:"
MultiLineText new $this.DC.CCFileComment -columnCount 80
}
# Create the ClearCase file.
#
method NewCCFileDialog::createVSFile {this name type} {
wmtkmessage "Creating ClearCase file '$name'"
vsCommandHandler suspendOutput
busy {
set comment [$this.DC.CCFileComment text]
set ccSystem [[ClientContext::global] currentSystem]
set ccFile [$ccSystem createVSFile $name $type "$comment"]
.main updateView
}
wmtkmessage ""
vsCommandHandler showOutput
return $ccFile
}
# Do not delete this line -- regeneration end marker