home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
repunarpro.tcl
< prev
next >
Wrap
Text File
|
1997-11-28
|
2KB
|
62 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)repunarpro.tcl /main/titanic/6
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)repunarpro.tcl /main/titanic/6 28 Nov 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "repunarobj.tcl"
Class RepUnarProjectDialog : {RepUnarObjDialog} {
constructor
method destructor
method objType
method objDescription
method unarchive
}
constructor RepUnarProjectDialog {class this name view} {
set this [RepUnarObjDialog::constructor $class $this $name $view]
# Start constructor user section
$this config \
-title "Unarchive Single Project" \
-helpPressed "$view helpOnName unarchiveProject"
# End constructor user section
return $this
}
method RepUnarProjectDialog::destructor {this} {
# Start destructor user section
# End destructor user section
$this RepUnarObjDialog::destructor
}
method RepUnarProjectDialog::objType {this} {
return "Project"
}
method RepUnarProjectDialog::objDescription {this} {
return "project archive '[[$this srcField] text]'"
}
method RepUnarProjectDialog::unarchive {this} {
set rep [[$this view] rep]
set srcFile [[$this srcField] text]
set repName [$this currentRepositoryName]
set repDir [$this currentRepositoryDir]
return [$rep unarchiveObjectDirectory "$this unarchiveFinished" \
$srcFile $repName $repDir "project"]
}
# Do not delete this line -- regeneration end marker