home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
vbfilemenu.tcl
< prev
next >
Wrap
Text File
|
1997-10-14
|
2KB
|
80 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)vbfilemenu.tcl /main/titanic/7
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)vbfilemenu.tcl /main/titanic/7 14 Oct 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
Class VBFileMenuProcs : {Object} {
constructor
method destructor
}
constructor VBFileMenuProcs {class this name} {
set this [Object::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method VBFileMenuProcs::destructor {this} {
# Start destructor user section
# End destructor user section
}
proc VBFileMenuProcs::edit {} {
[lindex [.main selectedVersionSet] 0] edit
}
proc VBFileMenuProcs::show {} {
[lindex [.main selectedVersionSet] 0] show
}
proc VBFileMenuProcs::printView {} {
busy {
set args ""
if [isCommand .main.optionBox] {
set args [.main.optionBox printOptions]
}
require print.tcl
eval Print::printVersionTree $args
}
}
proc VBFileMenuProcs::showInfo {} {
require "browserpro.tcl"
foreach obj [.main selectedObjSet] {
$obj setInfo "Identity" " "
$obj setInfo "Link" " "
$obj setInfo "Controlled Actions" " "
if [$obj isA ExternalFileVersion] {
if {[$obj getInfo Status] == "backGround"} {
$obj setInfo "Path" " "
}
}
if [$obj isA ConfigVersion] {
$obj setInfo "Selected In" " "
}
}
BrowserProcs::showInfo 1
}
proc VBFileMenuProcs::exitBrowser {} {
if {! [.main watchdogBusy]} {
.main WmtTool::stop
}
}
# Do not delete this line -- regeneration end marker