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