home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
contdesk.mnu
< prev
next >
Wrap
Text File
|
1997-05-29
|
18KB
|
700 lines
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.continuusfile
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Creates a new Continuus file"
label "Continuus File..."
mnemonic C
checkOn selectionChange
enableScript {
if {! [BrowserProcs::currentObjIsA ContSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addContFile}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.edit
scope {* * Implementation system}
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::statusObjectsAre "working"]
}
}
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 {ContFile ExternalLink}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {
set selectedFile [lindex [.main selectedObjSet] 0]
if [$selectedFile isA VSFile] {
BrowserProcs::changeVSFileName
} else {
BrowserProcs::changeName
}
}
}
}
registerObject {
type CustMenuBarButton
name .actions
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
label Actions
mnemonic A
index 6
}
}
registerObject {
type CustMenu
name .actions.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.properties
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Edit properties of the selected object"
label "Properties"
mnemonic P
checkOn selectionChange
selCount many
selIsATypes {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] editProperties
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.showhistory
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show history of the selected object"
label "Show History"
mnemonic H
checkOn selectionChange
selCount 1
selIsATypes {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] history
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.checkout
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Check out the selected objects"
label "Check Out..."
mnemonic C
checkOn selectionChange
selCount many
selIsATypes {ContFile}
enableScript {
if { [BrowserProcs::statusObjectsAreNot "working"] && \
[BrowserProcs::statusObjectsAreNot "<not found>"] } {
%this sensitive 1
} else {
%this sensitive 0
}
}
activated {
busy {
[[.main currentObj] browsUiObj] checkOutFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.checkin
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Check in the selected objects"
label "Check In..."
mnemonic I
checkOn selectionChange
selCount many
selIsATypes {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {
busy {
[[.main currentObj] browsUiObj] checkInFiles
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.checkintask
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Check in task of the selected object"
label "Check In Task..."
mnemonic T
checkOn selectionChange
selCount 1
selIsATypes {ContFile}
sensitive 1
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] checkInTask
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.finduse
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Pop up find use dialog for the selected object"
label "Find Use"
mnemonic F
checkOn selectionChange
selCount 1
selIsATypes {ContFile}
sensitive 1
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] findUse
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.use
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Use other version of the selected object"
label "Use..."
mnemonic U
checkOn selectionChange
selCount 1
selIsATypes {ContFile}
sensitive 1
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] useVersion
}
}
}
}
registerObject {
type CustMenuSeparator
name .actions.menu.separator1
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .actions.menu.unuse
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Unuse and replace current version of the selected objects"
label "Unuse..."
mnemonic n
checkOn selectionChange
selCount many
selIsATypes {ContFile}
sensitive 1
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] unUseVersions
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.delete
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Delete and replace version of the selected objects"
label "Delete..."
mnemonic l
checkOn selectionChange
selCount many
selIsATypes {ContFile}
sensitive 1
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] deleteVersions
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.menu.candidates
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Show all versions of the selected object"
label "Candidates"
mnemonic a
checkOn selectionChange
selCount 1
selIsATypes {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] listVersions
}
}
}
}
registerObject {
type CustMenuSeparator
name .actions.menu.separator2
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustCascadeButton
name .actions.menu.diff
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains diff commands"
label "Diff"
mnemonic D
}
}
registerObject {
type CustMenu
name .actions.menu.diff.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .actions.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 {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffPreviousVersion
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.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 {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] diffOtherVersion
}
}
}
}
registerObject {
type CustCascadeButton
name .actions.menu.show
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Contains show commands"
label "Show"
mnemonic S
}
}
registerObject {
type CustMenu
name .actions.menu.show.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .actions.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 {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] showPreviousVersion
}
}
}
}
registerObject {
type CustMenuPushButton
name .actions.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 {ContFile}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "<not found>"]
}
activated {
busy {
[[.main currentObj] browsUiObj] showOtherVersion
}
}
}
}
registerObject {
type CustMenuBarButton
name .continuus
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
label Continuus
mnemonic C
index 6
}
}
registerObject {
type CustMenu
name .continuus.menu
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.updateworkarea
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Update work area in system directory"
label "Update Work Area"
mnemonic U
activated {
busy {
[[.main currentObj] browsUiObj] updateWorkArea
}
}
}
}
registerObject {
type CustMenuSeparator
name .continuus.menu.separator1
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.startquery
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Start Continuus Query Tool"
label "Start Query"
mnemonic Q
activated {
busy {
[[.main currentObj] browsUiObj] startQuery
}
}
}
}
registerObject {
type CustMenuSeparator
name .continuus.menu.separator2
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.startobjectmake
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Start Continuus/OM ObjectMake"
label "Start ObjectMake"
mnemonic O
checkOn levelChange
activated {
busy {
[[.main currentObj] browsUiObj] startObjectMake
}
}
enableScript {
if [isCommand .main.MB.target.menu.compile] {
%this sensitive 1
return
}
%this sensitive 0
}
}
}
registerObject {
type CustMenuSeparator
name .continuus.menu.separator3
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.startproblemtracking
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Start Continuus/PT Problem tracking browser"
label "Start Problem Tracking"
mnemonic P
activated {
busy {
[[.main currentObj] browsUiObj] startProblemTracking
}
}
}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.startselecttask
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Start Continuus Select Task Dialog"
label "Start Select Task"
mnemonic T
activated {
busy {
[[.main currentObj] browsUiObj] startSelectTask
}
}
}
}
registerObject {
type CustMenuSeparator
name .continuus.menu.separator4
scope {* * Implementation system}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.showprojectversion
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Shows the project version currently used"
label "Show Project Version"
mnemonic S
activated {
busy {
[[.main currentObj] browsUiObj] showProjectVersion
}
}
}
}
registerObject {
type CustMenuPushButton
name .continuus.menu.changeprojectversion
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Changes the project version currently used"
label "Change Project Version..."
mnemonic C
activated {
busy {
[[.main currentObj] browsUiObj] changeProjectVersion
}
}
}
}
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
}
}