home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
ccdesk.mnu
< prev
next >
Wrap
Text File
|
1997-05-30
|
22KB
|
840 lines
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.ccfile
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Creates a new ClearCase file"
label "ClearCase File..."
mnemonic C
checkOn selectionChange
enableScript {
if {! [BrowserProcs::currentObjIsA CCSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {
busy {
[[.main currentObj] browsUiObj] addCCFile
}
}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.edit
scope {* * Implementation system}
visible {0 0 0 0 1}
inPopUpMenu 1
objSpec {
hintText "Edits the selected item."
label "Edit"
mnemonic E
accelerator Ctrl+e
checkOn selectionChange
selCount 1
selIsATypes {FileVersion ExternalLink CustomFileVersion
GroupVersion}
enableScript {
set obj [lindex [.main selectedObjSet] 0]
set type [$obj getInfo Type]
if { [$obj isA VSFile] && \
("$type" == "executable" || "$type" == "library")} {
%this sensitive 0
} else {
%this sensitive [BrowserProcs::statusObjectsAreNot "CheckedIn"]
}
}
activated {[lindex [.main selectedObjSet] 0] editFile}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.change.menu.name
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Changes the name of the selected object."
label "Name..."
mnemonic N
checkOn selectionChange
selCount 1
selIsATypes {ExternalLink CCFile}
activated {
set selectedFile [lindex [.main selectedObjSet] 0]
if [$selectedFile isA VSFile] {
BrowserProcs::changeVSFileName
} else {
BrowserProcs::changeName
}
}
}
}
registerObject {
type CustMenuBarButton
name .versions
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
label Versions
mnemonic i
index 6
}
}
registerObject {
type CustMenu
name .versions.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.checkoutreserved
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Checkout the selected objects reserved"
label "Checkout Reserved..."
mnemonic C
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "CheckedIn"]
}
activated {
busy {
[[.main currentObj] browsUiObj] checkOutFiles 1
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.checkoutunreserved
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Checkout the selected objects unreserved"
label "Checkout Unreserved..."
mnemonic o
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "CheckedIn"]
}
activated {
busy {
[[.main currentObj] browsUiObj] checkOutFiles 0
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.checkin
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Checkin the selected objects"
label "Checkin..."
mnemonic i
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
if { [BrowserProcs::statusObjectsAreNot "CheckedIn"] && \
[BrowserProcs::statusObjectsAreNot "<not found>"] } {
%this sensitive 1
} else {
%this sensitive 0
}
}
activated {
busy {
[[.main currentObj] browsUiObj] checkInFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.uncheckout
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Uncheckout the selected objects"
label "Uncheckout..."
mnemonic U
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
if { [BrowserProcs::statusObjectsAreNot "CheckedIn"] && \
[BrowserProcs::statusObjectsAreNot "<not found>"] } {
%this sensitive 1
} else {
%this sensitive 0
}
}
activated {
busy {
[[.main currentObj] browsUiObj] unCheckOutFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.reserve
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Change checkout of the selected objects to reserved"
label "Reserve"
mnemonic R
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "Unreserved"]
}
activated {
busy {
[[.main currentObj] browsUiObj] reserveFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.unreserve
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Change checkout of the selected objects to unreserved"
label "Unreserve"
mnemonic n
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "Reserved"]
}
activated {
busy {
[[.main currentObj] browsUiObj] unreserveFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.checkindirectories
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Checkin the directories in system path"
label "Checkin Directories..."
mnemonic e
activated {
busy {
[[.main currentObj] browsUiObj] checkInDirectories
}
}
}
}
registerObject {
type CustCascadeButton
name .versions.menu.branch
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains branch commands"
label "Branch"
mnemonic B
}
}
registerObject {
type CustMenu
name .versions.menu.branch.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.branch.menu.create
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Branch the selected objects"
label "Create..."
mnemonic C
checkOn selectionChange
selCount many
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "CheckedIn"]
}
activated {
busy {
[[.main currentObj] browsUiObj] createBranch
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.branch.menu.destroy
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Remove branch from the selected object"
label "Destroy"
mnemonic D
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "CheckedIn"]
}
activated {
busy {
[[.main currentObj] browsUiObj] destroyBranch
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.branch.menu.newtype
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Create new branch type"
label "New Type..."
mnemonic N
activated {
busy {
[[.main currentObj] browsUiObj] createBranchType
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.branch.menu.removetype
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Remove branch type from vob"
label "Remove Type..."
mnemonic R
activated {
busy {
[[.main currentObj] browsUiObj] destroyBranchType
}
}
}
}
registerObject {
type CustMenuSeparator
name .versions.menu.separator1
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .versions.menu.changecomment
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Change comment of the selected object"
label "Change Comment"
mnemonic m
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] changeFileComment
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.checkouts
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "List checkouts of the selected object"
label "Checkouts"
mnemonic h
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] listCheckOuts
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.versionss
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "List versions of the selected object"
label "Versions"
mnemonic V
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] listVersions
}
}
}
}
registerObject {
type CustMenuSeparator
name .versions.menu.separator2
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustCascadeButton
name .versions.menu.diff
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains diff commands"
label "Diff"
mnemonic D
}
}
registerObject {
type CustMenu
name .versions.menu.diff.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.diff.menu.previous
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show diff with previous version"
label "Previous"
mnemonic P
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffPreviousVersion
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.diff.menu.other
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show diff with other version"
label "Other..."
mnemonic O
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffOtherVersion
}
}
}
}
registerObject {
type CustCascadeButton
name .versions.menu.xdiff
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains graphical diff commands"
label "Xdiff"
mnemonic X
}
}
registerObject {
type CustMenu
name .versions.menu.xdiff.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.xdiff.menu.previous
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show diff with previous version"
label "Previous"
mnemonic P
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffPreviousVersion "graphical"
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.xdiff.menu.other
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show diff with other version"
label "Other..."
mnemonic O
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffOtherVersion "graphical"
}
}
}
}
registerObject {
type CustCascadeButton
name .versions.menu.show
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains show commands"
label "Show"
mnemonic S
}
}
registerObject {
type CustMenu
name .versions.menu.show.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.show.menu.previous
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show previous version"
label "Previous"
mnemonic P
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] showPreviousVersion
}
}
}
}
registerObject {
type CustMenuPushButton
name .versions.menu.show.menu.other
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show other version"
label "Other..."
mnemonic O
checkOn selectionChange
selCount 1
selIsATypes {CCFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] showOtherVersion
}
}
}
}
registerObject {
type CustMenuBarButton
name .clearcase
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
label ClearCase
mnemonic C
index 6
}
}
registerObject {
type CustMenu
name .clearcase.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.showview
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show the current ClearCase view"
label "Show View"
mnemonic S
activated {
busy {
[[.main currentObj] browsUiObj] showView
}
}
}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.changeview
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Change the current ClearCase view"
label "Change View..."
mnemonic C
activated {
busy {
[[.main currentObj] browsUiObj] changeView
}
}
}
}
registerObject {
type CustMenuSeparator
name .clearcase.menu.separator1
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.showconfigspec
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show the config spec of the current ClearCase view"
label "Show Config Spec"
mnemonic h
activated {
busy {
[[.main currentObj] browsUiObj] showConfigSpec
}
}
}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.editconfigspec
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Edit the config spec of the current ClearCase view"
label "Edit Config Spec"
mnemonic E
activated {
busy {
[[.main currentObj] browsUiObj] changeConfigSpec
}
}
}
}
registerObject {
type CustMenuSeparator
name .clearcase.menu.separator2
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.configureclearmake
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Install clearmake and set options"
label "Configure Clearmake"
mnemonic m
checkOn levelChange
activated {
busy {
[[.main currentObj] browsUiObj] configClearmake
}
}
enableScript {
if [isCommand .main.MB.target.menu.compile] {
%this sensitive 1
return
}
%this sensitive 0
}
}
}
registerObject {
type CustMenuSeparator
name .clearcase.menu.separator3
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .clearcase.menu.startclearcase
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Start ClearCase"
label "Start ClearCase"
mnemonic r
activated {
busy {
[[.main currentObj] browsUiObj] startClearCase
}
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.updateuserenvironment
scope {* * Implementation system}
objSpec {
hintText "Synchronizes the file system with the repository."
label "Update User Environment"
mnemonic v
sensitive 0
}
}