home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
vsbr_procs.tcl
< prev
next >
Wrap
Text File
|
1997-05-30
|
5KB
|
119 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)vsbr_procs.tcl /main/hindenburg/11
# Author: Lex Warners
# Description: VCM integration file
#---------------------------------------------------------------------------
# SccsId = @(#)vsbr_procs.tcl /main/hindenburg/11 30 May 1997 Copyright 1997 Cayenne Software Inc.
require vcm_compat.tcl
# determine installed integrations
set vcmList [[[ClientContext::global] \
currentCorporate] getPropertyValue vcmIntegrationList]
proc setInstalled {list prefix var} {
upvar $var installVar
if [regexp $prefix $list] {
set installVar 1
} else {
set installVar 0
}
}
# set globals to indicate the integrations that are actually installed
global clearCaseInstalled
global continuusInstalled
global razorInstalled
setInstalled $vcmList cc clearCaseInstalled
setInstalled $vcmList cont continuusInstalled
# Razor only on Unix
if $win95 {
set razorInstalled 0
} else {
setInstalled $vcmList razor razorInstalled
}
# read VCM integration additions
require vstypemapp.tcl
require browservsc.tcl
# set global vars
if { ![isCommand vsCommandHandler] } {
BrowserVSCmdHandler new vsCommandHandler
}
global systemCommand
set systemCommand "systemNoCon"
if $clearCaseInstalled {
require ccsysvdbob.tcl
require cccommand.tcl
require ccfileuiob.tcl
require ccobjnamec.tcl
}
if $razorInstalled {
require razorsysvd.tcl
require razorcomma.tcl
require razorfileu.tcl
require razorobjna.tcl
}
if $continuusInstalled {
require contsysvdb.tcl
require contcomman.tcl
require contfileui.tcl
require contobjnam.tcl
}
eval_encrypted .IyMzlsNl5FPEBLWUtROlt8LFJKP0RYNjhmSFJJV01ETW4kOSNcP0tTQ0dOXz8le2JPR1A9TlNpSTZ1Y1dETDdKT3FJOHZeUS9CLipXXFpCfWBWTVxKPkReUzghYVNSTWBGP1pwdWxaT05pTTtvZ3dUXEhmZVAzXnldUj8uX1wrN2JwK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RFE1NEAyWktnN0xEVE9gTV5yXldGWmFSRFhxfWdCTUpPSFZZT01WX0omQ09SLWVRUVNdQlYxO11MWjRRR15gaiNcSkRYVlhQX2pzYDVJVVBNQGBdMC49M1JCXEVbUl9VVUFebTc7NTxqWmdoYlxSUFtcWldaY0hSUUJORWBSNHVgRFNmal1ZJ2NrV0RBWEVTUmBLNiVCPDJIa2BXQmJcblhaXEhPQFZPT1BHbFokUl1HRVpbVl5ZUUBYbzlcd1hRZk9PUVRdQjw6PVBEWkxXSl5PbDRGO0RSVEtjemxMRldnSjhafWZndGlNSWRNT0NoYC1lJEtNXnVMP34vPzdNTWBfU1xVTExEY2RaSklgWF5iZVpe
eval_encrypted .GBMjlhU1JFRzNaSk5KYUxcWUAuKllEQiRLTXFhVURIXUBSR0hOPltQYjxKZGFQRkteVFNVTEVQTT5iT0BVK19WWj9cT11GOUlKTmJoSU4lTV4oOj4qX0ZXWUBgWE9sY1xTQkdeZV1fVEVQRUlHYH05ImlDUFpnMyRcUGgmNSxKSEQ.LCIuM2pNWlpQUGNGbGtRQEhXYGNhXWxUU0RiSlNYbGJpQ1BaX29YYExSUSt6YFleZUI6ODhNPlRqNS0qYFZOXFsxMGBhYTJOU1BVLkRNQEJQOTxUWlRiR0pEXUhxaVVESF1CUEtGalpnZkZQXVVqZ1hXRlBQSENMbEgtfWdER1pwVjZZZVonX0ZRelJPVztKK0FUQkM_OFhMXFBiZGNJVltcVV5hYGNhXShYVEhUQTFNXFRZTk9NYz86RyNKUFcpST1NUSh2NSpXTE9qXlVXSmBlXFNeOjQ1REo7Ok5IK0NCSVRMLkNLR1NXV01HWFBhWkZbYl4rPD9IaAAA
# name change for VCM controlled files
proc BrowserProcs::changeVSFileName {} {
require "objnamecha.tcl"
ObjNameChangeDialog new $wmttoolObj.changeName $wmttoolObj \
-configV "" \
-keeper "" \
-item ""
$wmttoolObj.changeName popUp
}
# extra function, used in Razor
proc BrowserProcs::ownerObjectsAre {owner} {
case "[$wmttoolObj getStatus $owner]" in {
{yes} {
return 1
}
{no} {
return 0
}
{default} {
foreach obj [$wmttoolObj selectedObjSet] {
set objOwner [$obj getInfo Owner]
if {"$objOwner" == ""} continue
if { "$objOwner" != "$owner"} {
$wmttoolObj setStatus "$owner" no
return 0
}
}
$wmttoolObj setStatus "$owner" yes
return 1
}
}
}