home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
ccchangeco.tcl
< prev
next >
Wrap
Text File
|
1997-08-29
|
2KB
|
64 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)ccchangeco.tcl /main/titanic/4
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ccchangeco.tcl /main/titanic/4 29 Aug 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require_module_file "cccommentd.tcl" clearcase
# Dialog for changing the comment of a file.
Class CCChangeCommentDialog : {CCCommentDialog} {
constructor
method destructor
method popUp
}
constructor CCChangeCommentDialog {class this name} {
set this [CCCommentDialog::constructor $class $this $name]
# Start constructor user section
$this createInterface
# End constructor user section
return $this
}
method CCChangeCommentDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this CCCommentDialog::destructor
}
# Prepare interface and pop up.
#
method CCChangeCommentDialog::popUp {this} {
$this selectedFiles [.main selectedObjSet]
$this title "Change comment"
$this.col.label text "Comments for [$this selectionDescription]:\n"
$this setComment
# action; also update info if action succeeds
$this vsMethod {
set comment [$this.col.comments text]
set result [$file setComment $comment]
if $result {
$file setInfo Comments $comment
}
set result
}
$this needsUpdate 0
$this TemplateDialog::popUp
}
# Do not delete this line -- regeneration end marker