home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
desk.mnu
< prev
next >
Wrap
Text File
|
1997-05-01
|
90KB
|
4,013 lines
registerObject {
type CustMenuBarButton
name .file
objSpec {
label File
mnemonic F
}
}
registerObject {
type CustMenu
name .file.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustCascadeButton
name .file.menu.new
objSpec {
hintText "Contains commands for creating new items."
label "New"
mnemonic N
}
}
registerObject {
type CustMenu
name .file.menu.new.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.customizationfileversion
visible {0 1 1 1 1}
objSpec {
hintText "Creates a new customization file version."
label "Customization File Version..."
mnemonic z
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA CustFVUiObj]} {
%this sensitive 0
return
}
set version [[[.main currentObj] browsUiObj] getParent BrowsDbObj]
set status [$version getInfo Status]
if {$status != "" && $status != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addCustomFileV}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.externalfile
visible {1 0 0 0 0}
objSpec {
hintText "Creates a new external file."
label "External File..."
mnemonic E
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA {ExtFUiObj UCustFUiObj}]
}
activated {[[.main currentObj] browsUiObj] addExternalFile}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.role
visible {1 0 0 0 0}
objSpec {
hintText "Creates a new role."
label "Role..."
mnemonic R
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA RoleUiObj]
}
activated {[.main corporateObj] addRole}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.user
visible {1 0 0 0 0}
objSpec {
hintText "Creates a new user."
label "User..."
mnemonic U
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA UsrUiObj]
}
activated {[[.main currentObj] browsUiObj] addUser}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.userrolelink(s)
visible {1 1 0 0 0}
objSpec {
hintText "Creates a new user role link."
label "User Role Link(s)..."
mnemonic L
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA {Role User}]
}
activated {[[.main currentObj] browsUiObj] addUserRoleLinks}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.new.menu.separator1
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.project
visible {1 0 0 0 0}
objSpec {
hintText "Creates a new project."
label "Project..."
mnemonic P
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA Corporate]
}
activated {[[.main currentObj] browsUiObj] addProject}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.configurationversion
visible {0 1 0 0 0}
objSpec {
hintText "Creates a new configuration version."
label "Configuration Version..."
mnemonic C
checkOn levelChange
enableScript {%this sensitive [BrowserProcs::currentObjIsA Project]}
activated {[[.main currentObj] browsUiObj] addConfigVersion}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.phaseversion(s)
visible {0 0 1 0 0}
objSpec {
hintText "Creates a new phase version."
label "Phase Version(s)..."
mnemonic P
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA ConfigVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addPhaseVersions}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.documentversion
visible {0 0 0 1 0}
objSpec {
hintText "Creates a new document version."
label "Document Version..."
mnemonic D
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA PhaseVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addDocumentVersion}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.systemversion
visible {0 0 0 1 0}
objSpec {
hintText "Creates a new system version."
label "System Version..."
mnemonic S
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA PhaseVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addSystemVersion}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.classassociationdiagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new class association diagram."
label "Class Association Diagram..."
mnemonic C
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion cad}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.classcommunicationdiagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new class communication diagram."
label "Class Communication Diagram..."
mnemonic l
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion ccd}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.dataflowdiagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new data flow diagram."
label "Data Flow Diagram..."
mnemonic F
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion dfd}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.documentstructurematrix
scope {* * * document}
objSpec {
hintText "Creates a new document structure matrix."
label "Document Structure Matrix"
mnemonic o
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addDocStructure}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.eventtracediagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new event trace diagram."
label "Event Trace Diagram..."
mnemonic E
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion etd}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.externalfileversion
scope {* * Implementation system}
visible {0 0 0 0 1}
objSpec {
hintText "Creates a new external file version."
label "External File Version..."
mnemonic t
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA PSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.messagegeneralizationdiagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new message generalization diagram."
label "Message Generalization Diagram..."
mnemonic M
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion mgd}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.statetransitiondiagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new state transition diagram."
label "State Transition Diagram..."
mnemonic T
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion std}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.usecasediagram
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Creates a new use case diagram."
label "Use Case Diagram..."
mnemonic U
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileVersion ucd}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.new.menu.separator2
visible {0 0 0 0 1}
scope {* * * system}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.externallink(s)
scope {* * Implementation system}
objSpec {
hintText "Creates new external links."
label "External Link(s)..."
mnemonic E
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addExternalLinks}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.groupversion
scope {* * * system}
objSpec {
hintText "Creates a new group version."
label "Group Version..."
mnemonic G
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addGroupVersion}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.filesection(s)
scope {* * * document}
objSpec {
hintText "Creates new file sections."
label "File Section(s)..."
mnemonic F
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addFileSections}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.localsection
scope {* * * document}
objSpec {
hintText "Creates a new local section."
label "Local Section..."
mnemonic L
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addLocalSection}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.new.menu.propertysection
scope {* * * document}
objSpec {
hintText "Creates a new property section."
label "Property Section..."
mnemonic P
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] addPropertySection}
}
}
registerObject {
type CustCascadeButton
name .file.menu.define
scope {* * * document}
objSpec {
hintText "Contains commands for defining sections."
label "Define"
mnemonic f
}
}
registerObject {
type CustMenu
name .file.menu.define.menu
scope {* * * document}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .file.menu.define.menu.filesection
scope {* * * document}
objSpec {
hintText "Defines a file section."
label "File Section..."
mnemonic F
checkOn selectionChange
selCount 1
selIsATypes {NoneUiObj}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[lindex [.main selectedObjSet] 0] defineFileSection}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.define.menu.localsection
scope {* * * document}
objSpec {
hintText "Defines a local section."
label "Local Section..."
mnemonic L
checkOn selectionChange
selCount 1
selIsATypes {NoneUiObj}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[lindex [.main selectedObjSet] 0] defineLocalSection}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.define.menu.propertysection
scope {* * * document}
objSpec {
hintText "Defines a property section."
label "Property Section..."
mnemonic P
checkOn selectionChange
selCount 1
selIsATypes {NoneUiObj}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {
[lindex [.main selectedObjSet] 0] definePropertySection
}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.delete
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Deletes selected items."
label "Delete..."
mnemonic D
accelerator Del
toolBarPixmap delete_16
checkOn selectionChange
selCount many
selIsATypes {Version CorporateGroupVersion SavedGroupVersion
ExternalLink SystemFileReference Project
PropertyReference Role User UserRoleLink ExtFUiObj}
enableScript {
set currentObj [[.main currentObj] browsUiObj]
set status [$currentObj getInfo Status]
if [$currentObj isA CorpGVDbObj] {
%this sensitive 0
} elseif \
[BrowserProcs::currentObjIsA {ExtFUiObj HCustFUiObj UCustFUiObj}] {
%this sensitive [BrowserProcs::typeObjectsAre "ExternalFile"]
} elseif {"$status" != "" && "$status" != "working"} {
%this sensitive 0
} elseif {[$currentObj isA RoleUiObj] &&
"[$currentObj getParent Project]" != ""} {
%this sensitive 0
} else {
%this sensitive 1
}
}
activated {[[.main currentObj] browsUiObj] removeObjects}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator1
}
registerObject {
type CustMenuPushButton
name .file.menu.close
inToolBar 1
objSpec {
hintText "Closes the current view, goes one level higher."
label "Close"
mnemonic C
toolBarPixmap close_16
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA BrowsUiObj]} {
%this sensitive 0
} elseif {"[[.main currentObj] parent]" == ""} {
%this sensitive 0
} else {
%this sensitive 1
}
}
activated {[[.main currentObj] parent] open}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.edit
inPopUpMenu 1
objSpec {
hintText "Edits the selected item."
label "Edit"
mnemonic E
accelerator Ctrl+e
checkOn selectionChange
selCount 1
selIsATypes {FileVersion SystemFileReference PropertyReference
ExternalLink CustomFileVersion ExtFUiObj GroupVersion}
enableScript {
set obj [lindex [.main selectedObjSet] 0]
if [$obj isA ExtFUiObj] {
if {[BrowserProcs::typeObjectsAre "ExternalFile"] &&
[file writable [$obj getInfo Path]]} {
%this sensitive [$obj isAscii]
} else {
%this sensitive 0
}
} elseif [$obj isA SystemFileReference] {
%this sensitive [BrowserProcs::statusObjectsAre "selected"]
} elseif [$obj isA PropertyReference] {
%this sensitive 1
} else {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
}
activated {[lindex [.main selectedObjSet] 0] editFile}
}
}
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 FileVersion] &&
("$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.open
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Opens the selected item."
label "Open"
mnemonic O
accelerator Ctrl+o
toolBarPixmap open_16
checkOn selectionChange
selCount 1
activated {
eval [[[lindex [.main selectedObjSet] 0] infoObject] activated]
}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.show
inPopUpMenu 1
objSpec {
hintText "Shows the contents of the selected item."
label "Show"
mnemonic w
checkOn selectionChange
selCount 1
selIsATypes {FileVersion SystemFileReference PropertyReference
ExternalLink CustomFileVersion ExtFUiObj GroupVersion}
enableScript {
set obj [lindex [.main selectedObjSet] 0]
if {[$obj isA FileVersion] &&
"[$obj getParent SystemVersion]" == ""} {
%this sensitive 0
} elseif [$obj isA ExtFUiObj] {
if [BrowserProcs::typeObjectsAre "ExternalFile"] {
%this sensitive [$obj isAscii]
} else {
%this sensitive 0
}
} else {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
}
activated {[lindex [.main selectedObjSet] 0] showFile}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator2
}
registerObject {
type CustMenuPushButton
name .file.menu.generate
scope {* * *}
visible {0 0 0 1 0}
objSpec {
hintText "Generates the selected document."
label "Generate..."
mnemonic G
checkOn selectionChange
selCount 1
selIsATypes {DSysVDbObj}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {[lindex [.main selectedObjSet] 0] generate}
}
}
registerObject {
type CustCascadeButton
name .file.menu.generate
scope {* * * document}
objSpec {
hintText "Contains commands for generating sections."
label "Generate"
mnemonic G
}
}
registerObject {
type CustMenu
name .file.menu.generate.menu
scope {* * * document}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .file.menu.generate.menu.structure
scope {* * * document}
objSpec {
hintText "Generates the structure of the selected sections."
label "Structure"
mnemonic S
checkOn selectionChange
selCount many
selIsATypes {LocalSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAreNot "frozen"]
}
activated {
[[.main currentObj] browsUiObj] generateObjects structure
}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.generate.menu.structureandcontents
scope {* * * document}
objSpec {
hintText "Generates the contents of the selected sections."
label "Structure And Contents"
mnemonic C
checkOn selectionChange
selCount many
selIsATypes {LocalSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAreNot "frozen"]
}
activated {
[[.main currentObj] browsUiObj] generateObjects structureandcontents
}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.preview
scope {* * * document}
objSpec {
hintText "Previews the selected section."
label "Preview"
mnemonic r
checkOn selectionChange
selCount 1
selIsATypes {DocSection}
activated {[lindex [.main selectedObjSet] 0] previewFile}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.updatedocumentdirectory
scope {* * *}
visible {0 0 0 1 0}
objSpec {
hintText "Updates the document directory."
label "Update Document Directory"
mnemonic U
checkOn selectionChange
selCount 1
selIsATypes {DSysVDbObj}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {[lindex [.main selectedObjSet] 0] updateDocDir all}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.updatedocumentdirectory
scope {* * * document}
objSpec {
hintText "Synchronizes the document directory with the repository."
label "Update Document Directory"
mnemonic U
checkOn selectionChange
selCount many
selIsATypes {DocSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAreNot "frozen"]
}
activated {[[.main currentObj] browsUiObj] updateDocDir selected}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator3
scope {* * *}
visible {0 0 0 1 0}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator4
scope {* * * document}
}
registerObject {
type CustCascadeButton
name .file.menu.change
objSpec {
hintText "Contains commands for changing objects."
label "Change"
mnemonic h
}
}
registerObject {
type CustMenu
name .file.menu.change.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .file.menu.change.menu.linkstatus
objSpec {
hintText "Changes the link status of the selected objects."
label "Link Status..."
mnemonic L
checkOn selectionChange
selCount many
selIsATypes {PhaseVersion SystemVersion FileVersion GroupVersion
UserRoleLink}
enableScript {
if [BrowserProcs::currentObjIsA SvdGVDbObj] {
%this sensitive 0
return
}
set status [[[.main currentObj] browsUiObj] getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] changeLinks}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.change.menu.location
scope {* * * system}
objSpec {
hintText "Changes the location (path) of the selected object."
label "Location..."
mnemonic L
checkOn selectionChange
selCount 1
selIsATypes {ExternalLink}
activated {[lindex [.main selectedObjSet] 0] changeLocation}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.change.menu.name
objSpec {
hintText "Changes the name of the selected object."
label "Name..."
mnemonic N
checkOn selectionChange
selCount 1
selIsATypes {Project ConfigVersion SystemVersion FileVersion WorkItem ExternalLink}
enableScript {
if {[BrowserProcs::currentObjIsA DSysVDbObj] &&
[[lindex [.main selectedObjSet] 0] isA Matrix]} {
%this sensitive 0
} else {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
}
activated {BrowserProcs::changeName}
}
}
registerObject {
type CustCascadeButton
name .file.menu.properties
objSpec {
hintText "Contains commands to handle properties."
label "Properties"
mnemonic P
}
}
registerObject {
type CustMenu
name .file.menu.properties.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .file.menu.properties.menu.edit
inPopUpMenu 1
objSpec {
hintText "Edits the properties of the selected objects."
label "Edit..."
popUpLabel "Edit properties..."
mnemonic E
accelerator Ctrl+d
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive 1
return
}
if {! [BrowserProcs::objectsAre PropertyObject]} {
%this sensitive 0
return
}
if {(! [BrowserProcs::statusObjectsAreNot "frozen"]) ||
(! [BrowserProcs::statusObjectsAreNot "backGround"])} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAreNot "reused"]
}
activated {BrowserProcs::editProperties}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.properties.menu.show
inPopUpMenu 1
objSpec {
hintText "Shows the properties of the selected objects."
label "Show..."
popUpLabel "Show properties..."
mnemonic S
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive 1
return
}
%this sensitive [BrowserProcs::objectsAre PropertyObject]
}
activated {BrowserProcs::showProperties}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.properties.menu.delete
objSpec {
hintText "Deletes the properties of the selected objects."
label "Delete..."
mnemonic D
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive 1
return
}
if {! [BrowserProcs::objectsAre PropertyObject]} {
%this sensitive 0
return
}
if {(! [BrowserProcs::statusObjectsAreNot "frozen"]) ||
(! [BrowserProcs::statusObjectsAreNot "backGround"])} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAreNot "reused"]
}
activated {BrowserProcs::removeProperties}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator5
}
registerObject {
type CustMenuPushButton
name .file.menu.effectiveroles
inToolBar 1
objSpec {
hintText "Shows the currently effective roles."
label "Effective Roles"
mnemonic s
accelerator Ctrl+s
toolBarPixmap role_16
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
}
activated {BrowserProcs::showContext}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.info
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Shows information about the selected object."
label "Info"
mnemonic I
accelerator Ctrl+i
toolBarPixmap info_16
checkOn selectionChange
enableScript {
if {[llength [.main selectedObjSet]] > 1} {
%this sensitive 0
} else {
%this sensitive 1
}
}
activated {BrowserProcs::showInfo}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.print
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Prints the selected objects."
label "Print"
mnemonic t
accelerator Ctrl+p
toolBarPixmap print_16
checkOn selectionChange
selCount many
selIsATypes {ExternalFileVersion Graph SystemFileReference
PropertyReference ExternalLink CustomFileVersion
ExtFUiObj}
enableScript {
if {"[[.main currentObj] getParent CorpGVDbObj]" != ""} {
%this sensitive 0
} elseif \
[BrowserProcs::currentObjIsA {ExtFUiObj HCustFUiObj UCustFUiObj}] {
if [BrowserProcs::typeObjectsAre "ExternalFile"] {
%this sensitive [BrowserProcs::objectsReturn isAscii]
} else {
%this sensitive 0
}
} else {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
}
activated {[[.main currentObj] browsUiObj] printObjects}
}
}
registerObject {
type CustMenuPushButton
name .file.menu.printview
objSpec {
hintText "Prints the information view."
label "Print View"
mnemonic V
activated {[.main infoView] print}
}
}
registerObject {
type CustMenuSeparator
name .file.menu.separator6
}
registerObject {
type CustMenuSeparator
name .file.menu.separator7
}
registerObject {
type CustMenuPushButton
name .file.menu.exit
objSpec {
hintText "Exits the browser."
label "Exit"
mnemonic x
toolBarPixmap stop_16
activated {.main stop}
}
}
registerObject {
type CustMenuBarButton
name .edit
objSpec {
label Edit
mnemonic E
}
}
registerObject {
type CustMenu
name .edit.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .edit.menu.undo
objSpec {
hintText "Undoes the last edit action."
label "Undo"
mnemonic U
accelerator Ctrl+Z
activated {.main editUndo}
}
}
registerObject {
type CustMenuSeparator
name .edit.menu.separator1
}
registerObject {
type CustMenuPushButton
name .edit.menu.cut
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Moves the selected objects to the clipboard."
label "Cut"
mnemonic t
accelerator Ctrl+X
toolBarPixmap cut_16
checkOn selectionChange
selCount many
selIsATypes {SystemVersion FileVersion GroupVersion}
enableScript {
set status [[[.main currentObj] browsUiObj] getInfo Status]
if {(! [BrowserProcs::currentObjIsA {Version CustFVUiObj}]) ||
[BrowserProcs::currentObjIsA GroupVDbObj]} {
%this sensitive 0
} elseif {"$status" != "" && "$status" != "working"} {
%this sensitive 0
} else {
%this sensitive [BrowserProcs::objectsReturn canBeDragged]
}
}
activated {.main editCut}
}
}
registerObject {
type CustMenuPushButton
name .edit.menu.copy
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Copies the selected objects to the clipboard."
label "Copy"
mnemonic C
accelerator Ctrl+C
toolBarPixmap copy_16
checkOn selectionChange
selCount many
enableScript {
%this sensitive [BrowserProcs::objectsReturn canBeDragged]
}
activated {.main editCopy}
}
}
registerObject {
type CustMenuPushButton
name .edit.menu.paste
inToolBar 1
inPopUpMenu 1
objSpec {
hintText "Pastes the clipboard contents at the selected tree node."
label "Paste"
mnemonic P
accelerator Ctrl+V
toolBarPixmap paste_16
activated {.main editPaste}
}
}
registerObject {
type CustMenuSeparator
name .edit.menu.separator2
}
registerObject {
type CustMenuPushButton
name .edit.menu.selectall
objSpec {
hintText "Selects all the objects in the information view."
label "Select All"
mnemonic A
accelerator Ctrl+A
activated {.main editSelAll}
}
}
registerObject {
type CustMenuPushButton
name .edit.menu.invertselection
objSpec {
hintText "Inverts the information view selection."
label "Invert Selection"
mnemonic I
activated {.main editSelInv}
}
}
registerObject {
type CustMenuBarButton
name .view
objSpec {
label View
mnemonic V
}
}
registerObject {
type CustMenu
name .view.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .view.menu.refresh
objSpec {
hintText "Refreshes the information view."
label "Refresh"
mnemonic R
activated {.main updateView}
}
}
registerObject {
type CustMenuSeparator
name .view.menu.separator1
}
registerObject {
type CustMenuCheckButton
name .view.menu.toolbar
objSpec {
hintText "Shows or hides the toolbar."
label ToolBar
mnemonic T
state 1
stateChanged {
.main toolBarPresent [[.main menuBar].view.menu.toolbar state]
}
}
}
registerObject {
type CustMenuCheckButton
name .view.menu.contextarea
objSpec {
hintText "Shows or hides the context area."
label "Context Area"
mnemonic C
state 1
stateChanged {
.main contextAreaPresent [[.main menuBar].view.menu.contextarea state]
}
}
}
registerObject {
type CustMenuCheckButton
name .view.menu.messagearea
objSpec {
hintText "Shows or hides the message area."
label "Message Area"
mnemonic M
state 1
stateChanged {
.main messageAreaPresent [[.main menuBar].view.menu.messagearea state]
}
}
}
registerObject {
type CustMenuSeparator
name .view.menu.separator2
}
registerObject {
type CustMenuArbiter
name .view.menu.menuarbiter
objSpec {
currentButtonChanged {.main setViewMode}
}
}
registerObject {
type CustMenuRadioButton
name .view.menu.largeicons
inToolBar 1
arbiter menuarbiter
objSpec {
hintText "Switches view to large icon mode."
label "Large Icons"
mnemonic L
toolBarPixmap viewlicons_16
}
}
registerObject {
type CustMenuRadioButton
name .view.menu.smallicons
inToolBar 1
arbiter menuarbiter
objSpec {
hintText "Switches view to small icon mode."
label "Small Icons"
mnemonic S
toolBarPixmap viewsicons_16
}
}
registerObject {
type CustMenuRadioButton
name .view.menu.details
inToolBar 1
arbiter menuarbiter
objSpec {
hintText "Switches view to detail mode."
label "Details"
mnemonic D
toolBarPixmap viewdetails_16
}
}
registerObject {
type CustMenuSeparator
name .view.menu.separator3
}
registerObject {
type CustMenuBarButton
name .options
objSpec {
label Options
mnemonic O
}
}
registerObject {
type CustMenu
name .options.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .options.menu.comparecommand
objSpec {
hintText "Changes the compare command (M4_diff)."
label "Compare Command..."
mnemonic C
activated {[.main options] compareCmd}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.editor
objSpec {
hintText "Changes the text editor command (M4_editor)."
label "Editor..."
mnemonic E
activated {[.main options] editor}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.font
objSpec {
hintText "Changes the browser font (M4_font__desk)."
label "Font..."
mnemonic F
activated {[.main options] font}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.previewer
objSpec {
hintText "Changes the preview command (M4_previewer)."
label "Previewer..."
mnemonic r
activated {[.main options] previewer}
}
}
registerObject {
type CustCascadeButton
name .options.menu.printersetup
objSpec {
hintText "Contains commands to setup the printers."
label "Printer Setup"
mnemonic P
}
}
registerObject {
type CustMenu
name .options.menu.printersetup.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .options.menu.printersetup.menu.text
objSpec {
hintText "Sets up the text printer."
label "Text..."
mnemonic T
activated {[.main options] aPrinterSetup}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.printersetup.menu.graphical
objSpec {
hintText "Sets up the graphical printer."
label "Graphical..."
mnemonic G
activated {[.main options] psPrinterSetup}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.viewer
objSpec {
hintText "Sets up the view command (M4_viewer)."
label "Viewer..."
mnemonic V
activated {[.main options] viewer}
}
}
registerObject {
type CustCascadeButton
name .options.menu.copyuserenvironment
objSpec {
hintText "Contains commands that copies the current meta4 environment."
label "Copy User Environment"
mnemonic o
}
}
registerObject {
type CustMenu
name .options.menu.copyuserenvironment.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .options.menu.copyuserenvironment.menu.tocorporateenvironment
objSpec {
hintText "Copies current meta4 environment to corporate environment."
label "To Corporate Environment..."
mnemonic C
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
}
activated {BrowserProcs::copyUserEnv Corporate}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.copyuserenvironment.menu.toprojectenvironment
visible {0 1 1 1 1}
objSpec {
hintText "Copies current meta4 environment to project environment."
label "To Project Environment..."
mnemonic P
activated {BrowserProcs::copyUserEnv Project}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.copyuserenvironment.menu.toconfigversionenvironment
visible {0 0 1 1 1}
objSpec {
hintText "Copies current meta4 environment to configversion environment."
label "To ConfigVersion Environment..."
mnemonic f
checkOn levelChange
enableScript {
set confV [[ClientContext::global] currentConfig]
if {"[$confV getInfo Status]" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {BrowserProcs::copyUserEnv ConfigVersion}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.copyuserenvironment.menu.tophaseversionenvironment
visible {0 0 0 1 1}
objSpec {
hintText "Copies current meta4 environment to phaseversion environment"
label "To PhaseVersion Environment..."
mnemonic h
checkOn levelChange
enableScript {
set phaseV [[ClientContext::global] currentPhase]
if {"[$phaseV getInfo Status]" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {BrowserProcs::copyUserEnv PhaseVersion}
}
}
registerObject {
type CustMenuPushButton
name .options.menu.copyuserenvironment.menu.tosystemversionenvironment
visible {0 0 0 0 1}
objSpec {
hintText "Copies current meta4 environment to systemversion environment."
label "To SystemVersion Environment..."
mnemonic S
checkOn levelChange
enableScript {
set sysV [[ClientContext::global] currentSystem]
if {"[$sysV getInfo Status]" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {BrowserProcs::copyUserEnv SystemVersion}
}
}
registerObject {
type CustMenuBarButton
name .check
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
label Check
mnemonic C
}
}
registerObject {
type CustMenu
name .check.menu
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .check.menu.contents
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Checks the contents of the selected objects."
label "Contents"
mnemonic C
checkOn selectionChange
selCount many
selIsATypes {Graph}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
activated {
set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] -c"
foreach obj [.main selectedObjSet] {
append script " [[$obj file] qualifiedName].[$obj getInfo Type]"
}
.main startCommand mtool \
"$script" "" "Starting 'Check'" {0 0} 0
}
}
}
registerObject {
type CustMenuPushButton
name .check.menu.globalmodel
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Checks the global model."
label {Global Model}
mnemonic G
checkOn levelChange
enableScript {
set sysV [[ClientContext::global] currentSystem]
if {"[$sysV getInfo Status]" == "backGround"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {
set args "-f check.tcl -- -global"
set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] $args"
.main startCommand mtool \
"$script" "" "Starting 'Check'" {0 0} 0
}
}
}
registerObject {
type CustMenuPushButton
name .check.menu.usecasemodel
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Checks the Use Case model."
label {Use Case Model}
mnemonic U
checkOn levelChange
enableScript {
set sysV [[ClientContext::global] currentSystem]
set status [$sysV getInfo Status]
if {"$status" == "backGround"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {
set args "-f check.tcl -- -usecase"
set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] $args"
.main startCommand mtool \
"$script" "" "Starting 'Check'" {0 0} 0
}
}
}
registerObject {
type CustMenuPushButton
name .check.menu.localmodel
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Checks the local model of the selected objects."
label {Local Model}
mnemonic L
checkOn selectionChange
selCount many
selIsATypes {Graph Matrix}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
activated {
set args "-f check.tcl"
foreach obj [.main selectedObjSet] {
append args " -S [[$obj file] qualifiedName].[$obj getInfo Type]"
}
set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] $args"
.main startCommand mtool \
"$script" "" "Starting 'Check'" {0 0} 0
}
}
}
registerObject {
type CustMenuBarButton
name .version
objSpec {
label Version
mnemonic r
}
}
registerObject {
type CustMenu
name .version.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .version.menu.freeze
objSpec {
hintText "Freezes the selected objects."
label "Freeze..."
mnemonic F
checkOn selectionChange
selCount many
selIsATypes {ConfigVersion PhaseVersion SystemVersion
FileVersion CustomFileVersion GroupVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {BrowserProcs::freezeObjects "[.main selectedObjSet]"}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.unfreeze
objSpec {
hintText "Unfreezes the selected objects."
label "Unfreeze"
mnemonic U
checkOn selectionChange
selCount many
selIsATypes {ConfigVersion PhaseVersion SystemVersion
FileVersion CustomFileVersion GroupVersion}
enableScript {
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAre "frozen"]
}
activated {BrowserProcs::unfreezeObjects}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.new
objSpec {
hintText "Creates a new version of the selected objects."
label "New"
mnemonic N
checkOn selectionChange
selCount many
selIsATypes {ConfigVersion PhaseVersion SystemVersion
FileVersion CustomFileVersion GroupVersion}
enableScript {
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] newObjects}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.delete
objSpec {
hintText "Deletes versions of the selected object."
label "Delete..."
mnemonic D
checkOn selectionChange
selCount many
selIsATypes {ConfigVersion PhaseVersion SystemVersion FileVersion
CustomFileVersion GroupVersion SavedGroupVersion
CorporateGroupVersion}
enableScript {
if [BrowserProcs::currentObjIsA CorpGVDbObj] {
%this sensitive 0
return
}
if [BrowserProcs::currentObjIsA {CorpGVUiObj SvdGVUiObj}] {
%this sensitive 1
return
}
if {[llength [.main selectedObjSet]] > 1} {
%this sensitive 0
return
}
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[lindex [.main selectedObjSet] 0] removeVersion}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.copy
objSpec {
hintText "Copies the contents of another version to the selected object."
label "Copy..."
mnemonic o
checkOn selectionChange
selCount 1
selIsATypes {ConfigVersion PhaseVersion SystemVersion Graph
ExternalFileVersion CustomFileVersion GroupVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "working"]
}
activated {[lindex [.main selectedObjSet] 0] copyVersion}
}
}
registerObject {
type CustCascadeButton
name .version.menu.select
objSpec {
hintText "Contains commands to select versions."
label "Select"
mnemonic S
}
}
registerObject {
type CustMenu
name .version.menu.select.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .version.menu.select.menu.new
objSpec {
hintText "Selects a version of not currently available objects."
label "New..."
mnemonic N
checkOn levelChange
enableScript {
if {(! [BrowserProcs::currentObjIsA {Version CustFVUiObj}]) ||
[BrowserProcs::currentObjIsA GroupVDbObj]} {
%this sensitive 0
return
}
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] selectObject new}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.select.menu.selected
objSpec {
hintText "Selects another version of the selected object."
label "Selected..."
mnemonic S
checkOn selectionChange
selCount 1
enableScript {
if {! [BrowserProcs::objectsAre Version]} {
%this sensitive 0
return
}
if {(! [BrowserProcs::currentObjIsA {Version CustFVUiObj}]) ||
[BrowserProcs::currentObjIsA GroupVDbObj]} {
%this sensitive 0
return
}
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] selectObject selected}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.deselect
objSpec {
hintText "Deselects the selected objects."
label "Deselect"
mnemonic e
checkOn selectionChange
selCount many
selIsATypes {PhaseVersion SystemVersion FileVersion
CustomFileVersion GroupVersion}
enableScript {
if {(! [BrowserProcs::currentObjIsA {Version CustFVUiObj}]) ||
[BrowserProcs::currentObjIsA GroupVDbObj]} {
%this sensitive 0
return
}
set version [[.main currentObj] browsUiObj]
if {! [$version isA BrowsDbObj]} {
set version [$version getParent BrowsDbObj]
}
set status [$version getInfo Status]
if {"$status" != "" && "$status" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] deselectObjects}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.compare
objSpec {
hintText "Compares the selected object with an earlier version."
label "Compare..."
mnemonic C
checkOn selectionChange
selCount 1
selIsATypes {SystemFileReference FileVersion CustomFileVersion}
enableScript {
%this sensitive \
[[lindex [.main selectedObjSet] 0] compareVersionAllowed]
}
activated {[lindex [.main selectedObjSet] 0] compareVersion}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.activate
scope {*}
visible {0 1 0 0 0}
objSpec {
hintText "Moves the selected configuration to the foreground."
label "Activate"
mnemonic A
checkOn selectionChange
selCount 1
selIsATypes {ConfigVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "backGround"]
}
activated {[[.main currentObj] browsUiObj] activateObject}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.activate
scope {* * * system}
objSpec {
hintText "Activates corporate groups."
label "Activate..."
mnemonic A
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SystemVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] activateObject}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.deactivate
scope {*}
visible {0 1 0 0 0}
objSpec {
hintText "Moves the selected configuration to the background."
label "Deactivate"
mnemonic t
checkOn selectionChange
selCount 1
selIsATypes {ConfigVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAre "frozen"]
}
activated {[[.main currentObj] browsUiObj] deactivateObject}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.deactivate
scope {* * * system}
objSpec {
hintText "Deactivates corporate groups."
label "Deactivate..."
mnemonic t
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SystemVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[[.main currentObj] browsUiObj] deactivateObject}
}
}
registerObject {
type CustMenuSeparator
name .version.menu.separator1
scope {* * * document}
visible {0 0 0 0 1}
}
registerObject {
type CustMenuPushButton
name .version.menu.makefixed
scope {* * * document}
visible {0 0 0 0 1}
objSpec {
hintText "Binds a section to the current version of the corresponding file."
label "Make Fixed"
mnemonic F
checkOn selectionChange
selCount many
selIsATypes {SystemFileReference FilepropSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAre "selected"]
}
activated {[[.main currentObj] browsUiObj] changeObjects "fixed"}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.selectfixed
scope {* * * document}
visible {0 0 0 0 1}
objSpec {
hintText "Binds a section to a selected version of the corresponding file."
label "Select Fixed..."
mnemonic l
checkOn selectionChange
selCount 1
selIsATypes {SystemFileReference FilepropSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {[lindex [.main selectedObjSet] 0] selectFixed}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.makeselected
scope {* * * document}
visible {0 0 0 0 1}
objSpec {
hintText "Lets the section follow the selected version of the corresponding file."
label "Make Selected"
mnemonic M
checkOn selectionChange
selCount many
selIsATypes {SystemFileReference FilepropSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAre "fixed"]
}
activated {
[[.main currentObj] browsUiObj] changeObjects "selected"
}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.makecurrent
scope {* * * document}
visible {0 0 0 0 1}
objSpec {
hintText "Lets the section follow the corresponding properties."
label "Make Current"
mnemonic e
checkOn selectionChange
selCount many
selIsATypes {ItempropSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAre "snapshot"]
}
activated {
[[.main currentObj] browsUiObj] changeObjects "current"
}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.makesnapshot
scope {* * * document}
visible {0 0 0 0 1}
objSpec {
hintText "Updates the section by making a snapshot of the corresponding properties."
label "Make Snapshot"
mnemonic a
checkOn selectionChange
selCount many
selIsATypes {ItempropSection}
enableScript {
if {! [BrowserProcs::currentObjIsA DSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::statusObjectsAre "current"]
}
activated {
[[.main currentObj] browsUiObj] changeObjects "snapshot"
}
}
}
registerObject {
type CustMenuSeparator
name .version.menu.separator2
scope {* * * system}
}
registerObject {
type CustMenuPushButton
name .version.menu.makecorporate
scope {* * * system}
objSpec {
hintText "Makes a corporate group of the selected saved group."
label "Make Corporate..."
mnemonic C
checkOn selectionChange
selCount 1
selIsATypes {SavedGroupVersion}
enableScript {
%this sensitive \
[[lindex [.main selectedObjSet] 0] makeCorporateAllowed]
}
activated {[lindex [.main selectedObjSet] 0] makeCorporate}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.restore
scope {* * * system}
objSpec {
hintText "Restores the contents of the selected saved groups."
label "Restore"
mnemonic R
checkOn selectionChange
selCount many
selIsATypes {SavedGroupVersion}
enableScript {
set sysV [[[.main currentObj] browsUiObj] getParent SystemVersion]
if {"[$sysV getInfo Status]" != "working"} {
%this sensitive 0
} else {
%this sensitive 1
}
}
activated {[[.main currentObj] browsUiObj] restoreObjects}
}
}
registerObject {
type CustMenuPushButton
name .version.menu.snapshot
scope {* * * system}
objSpec {
hintText "Makes a saved group of the selected groups."
label "Snapshot..."
mnemonic h
toolBarPixmap sgroupv_16
checkOn selectionChange
selCount many
selIsATypes {GroupVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
activated {[[.main currentObj] browsUiObj] snapshotObjects}
}
}
registerObject {
type CustMenuBarButton
name .security
objSpec {
label Security
mnemonic S
}
}
registerObject {
type CustMenu
name .security.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .security.menu.activaterole
objSpec {
hintText "Activates roles."
label "Activate Role..."
mnemonic A
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
}
activated {BrowserProcs::activateRole}
}
}
registerObject {
type CustMenuPushButton
name .security.menu.deactivaterole
objSpec {
hintText "Deactivates roles."
label "Deactivate Role..."
mnemonic D
checkOn levelChange
enableScript {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
}
activated {BrowserProcs::deactivateRole}
}
}
registerObject {
type CustMenuPushButton
name .security.menu.showaccessrights
inToolBar 1
objSpec {
hintText "Shows access rights of the selected objects."
label "Show Access Rights"
mnemonic S
toolBarPixmap right_16
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive 1
return
}
%this sensitive [BrowserProcs::objectsAre Controlled]
}
activated {BrowserProcs::showAccessRights}
}
}
registerObject {
type CustCascadeButton
name .security.menu.rolerights
objSpec {
hintText "Contains commands for edit and show role rights. "
label "Role Rights"
mnemonic R
}
}
registerObject {
type CustMenu
name .security.menu.rolerights.menu
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .security.menu.rolerights.menu.edit
objSpec {
hintText "Edits role rights of the selected objects."
label "Edit..."
mnemonic E
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
return
}
%this sensitive [BrowserProcs::objectsAre Controlled]
}
activated {BrowserProcs::editRoleRights}
}
}
registerObject {
type CustMenuPushButton
name .security.menu.rolerights.menu.show
objSpec {
hintText "Shows role rights of the selected objects."
label "Show..."
mnemonic S
checkOn selectionChange
enableScript {
if [lempty [.main selectedObjSet]] {
%this sensitive [BrowserProcs::currentObjIsA BrowsUiObj]
return
}
%this sensitive [BrowserProcs::objectsAre Controlled]
}
activated {BrowserProcs::showRoleRights}
}
}
registerObject {
type CustMenuBarButton
name .utilities
objSpec {
label Utilities
mnemonic U
}
}
registerObject {
type CustMenu
name .utilities.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.clone
objSpec {
hintText "Starts a new browser in the current environment."
label "Clone"
mnemonic l
activated {BrowserProcs::clone}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.classbrowser
scope {* * {Analysis SystemDesign ObjectDesign}}
objSpec {
hintText "Starts the class browser."
label "Class Browser"
mnemonic B
checkOn levelChange
enableScript {
set phaseV [[ClientContext::global] currentPhase]
if {"[$phaseV getInfo Status]" == "backGround"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated {
set script \
"SystemUtilities::fork otk clbrowser -c [list [get_comm_name]]"
.main startCommand tcl \
"$script" "" \
"Starting Class Browser" {0 0} 1
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.monitoringwindow
objSpec {
hintText "Starts a command in an output only device."
label "Monitoring Window..."
mnemonic M
activated {.main startExetool mtool}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.executionwindow
objSpec {
hintText "Starts a command in an interactive device."
label "Execution Window..."
mnemonic x
activated {.main startExetool xtool}
}
}
registerObject {
type CustMenuSeparator
name .utilities.menu.separator1
visible {0 0 0 1 1}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.movedefinition
scope {* * * system}
objSpec {
hintText "Moves the selected items to another system."
label "Move Definition..."
mnemonic D
checkOn selectionChange
selCount many
selIsATypes {WorkItem}
enableScript {
if {! [BrowserProcs::currentObjIsA WItemUiObj]} {
%this sensitive 0
return
}
%this sensitive [BrowserProcs::objectsReturn canBeMoved]
}
activated {[[.main currentObj] browsUiObj] moveDefinition}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.deleteunreferenceditems
visible {0 0 0 1 1}
objSpec {
hintText "Deletes all work items without a reference in the selected objects."
label "Delete Unreferenced Items"
mnemonic U
checkOn selectionChange
selCount many
selIsATypes {Graph Matrix SystemVersion}
enableScript {
%this sensitive [BrowserProcs::statusObjectsAreNot "backGround"]
}
activated {
busy {
foreach obj [.main selectedObjSet] {
$obj removeUnusedDeclarations
}
}
}
}
}
registerObject {
type CustCascadeButton
name .utilities.menu.importfrompreviousphase
scope {* * {SystemDesign ObjectDesign Implementation}}
visible {0 0 0 1 0}
objSpec {
hintText "Contains commands to import from previous phase."
label "Import From Previous Phase"
mnemonic I
}
}
registerObject {
type CustMenu
name .utilities.menu.importfrompreviousphase.menu
scope {* * {SystemDesign ObjectDesign Implementation}}
visible {0 0 0 1 0}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.importfrompreviousphase.menu.newsystems
scope {* * {SystemDesign ObjectDesign Implementation}}
visible {0 0 0 1 0}
objSpec {
hintText "Imports new systems from previous phase."
label "New Systems"
mnemonic N
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA PhaseVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
activated {
[[.main currentObj] browsUiObj] importFromPrevPhase new
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.importfrompreviousphase.menu.specificsystems
scope {* * {SystemDesign ObjectDesign Implementation}}
visible {0 0 0 1 0}
objSpec {
hintText "Imports selected systems from previous phase."
label "Specific Systems..."
mnemonic S
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA PhaseVersion]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
activated {
[[.main currentObj] browsUiObj] importFromPrevPhase specific
}
}
}
registerObject {
type CustCascadeButton
name .utilities.menu.importfrompreviousphase
scope {* * {SystemDesign ObjectDesign Implementation} system}
objSpec {
hintText "Contains commands to import from previous phase."
label "Import From Previous Phase"
mnemonic I
}
}
registerObject {
type CustMenu
name .utilities.menu.importfrompreviousphase.menu
scope {* * {SystemDesign ObjectDesign Implementation} system}
objSpec {
pinnable 0
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.importfrompreviousphase.menu.new
scope {* * {SystemDesign ObjectDesign Implementation} system}
objSpec {
hintText "Imports new objects from previous phase."
label "New..."
mnemonic N
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
activated {
set cc [ClientContext::global]
if {[[[$cc currentPhase] phase] type] == "Implementation"} {
set options "-S oopl -f import.tcl"
set script "[quoteIf [m4_path_name bin otsh$EXE_EXT]] $options"
.main startCommand mtool \
"$script" "" "Starting 'Import From Previous Phase'..." {1 0} 0
} else {
[[.main currentObj] browsUiObj] importFromPrevPhase new
}
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.importfrompreviousphase.menu.selected
scope {* * {SystemDesign ObjectDesign} system}
objSpec {
hintText "Imports selected objects from previous phase."
label "Selected..."
mnemonic S
checkOn selectionChange
selCount many
selIsATypes {FileVersion SystemFileReference}
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
activated {
[[.main currentObj] browsUiObj] importFromPrevPhase selected
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.importfrompreviousphase.menu.selected
scope {* * Implementation system}
objSpec {
hintText "Imports selected objects from previous phase."
label "Selected"
mnemonic S
checkOn selectionChange
selCount many
selIsATypes {FileVersion SystemFileReference}
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj]} {
%this sensitive 0
return
}
if {[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
return
}
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
activated {
[[.main currentObj] browsUiObj] importFromPrevPhase selected
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.comparewithpreviousphase
scope {* * {SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Compares selected object with object in previous phase."
label "Compare With Previous Phase..."
mnemonic C
checkOn levelChange
enableScript {
if {(! [BrowserProcs::currentObjIsA PhaseVersion]) ||
[[[.main currentObj] browsUiObj] getInfo Status] == "backGround"} {
%this sensitive 0
} else {
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
}
activated {[[.main currentObj] browsUiObj] compareWithPrevPhase}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.comparewithpreviousphase
scope {* * {SystemDesign ObjectDesign} system}
objSpec {
hintText "Compares selected object with object in previous phase."
label "Compare With Previous Phase..."
mnemonic C
checkOn levelChange
enableScript {
if {(! [BrowserProcs::currentObjIsA SSysVDbObj]) ||
[[[.main currentObj] browsUiObj] getInfo Status] == "backGround"} {
%this sensitive 0
} else {
%this sensitive [[[.main currentObj] browsUiObj] prevPhaseExists]
}
}
activated {[[.main currentObj] browsUiObj] compareWithPrevPhase}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.objectload
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "ObjectLoad for GroundWorks."
label "ObjectLoad..."
mnemonic O
checkOn levelChange
enableScript {
if {! [BrowserProcs::currentObjIsA SSysVDbObj] ||
[[[.main currentObj] browsUiObj] getInfo Status] != "working"} {
%this sensitive 0
} else {
%this sensitive 1
}
}
activated {
[[.main currentObj] browsUiObj] reverseEngineer "var" "VAR" "\[Vv]\[Aa]\[Rr]"
}
}
}
registerObject {
type CustCascadeButton
name .utilities.menu.reports
objSpec {
hintText "Contains commands for generating reports."
label Reports
mnemonic R
}
}
registerObject {
type CustMenu
name .utilities.menu.reports.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncorporategroups
visible {1 0 0 0 0}
objSpec {
hintText "Generates a report on corporate groups."
label "On Corporate Groups"
mnemonic o
activated { startReportInMtool crpgrp.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onprojects
visible {1 0 0 0 0}
objSpec {
hintText "Generates a report on projects."
label "On Projects"
mnemonic P
activated { startReportInMtool projects.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onphases
visible {1 1 1 0 0}
objSpec {
hintText "Generates a report on phases."
label "On Phases"
mnemonic h
activated { startReportInMtool phases.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onsystems
visible {1 1 1 1 0}
objSpec {
hintText "Generates a report on systems."
label "On Systems"
mnemonic y
activated { startReportInMtool systems.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.ondocuments
visible {1 1 1 1 0}
objSpec {
hintText "Generates a report on documents."
label "On Documents"
mnemonic D
activated { startReportInMtool documents.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onsavedgroups
visible {1 1 1 1 0}
objSpec {
hintText "Generates a report on saved groups."
label "On Saved Groups"
mnemonic a
activated { startReportInMtool svdgrp.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onsavedgroups
scope {* * * system}
objSpec {
hintText "Generates a report on saved groups."
label "On Saved Groups"
mnemonic a
activated { startReportInMtool svdgrp.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.ongroups
visible {1 1 1 1 0}
objSpec {
hintText "Generates a report on groups."
label "On Groups"
mnemonic G
activated { startReportInMtool groups.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.ongroups
scope {* * * system}
objSpec {
hintText "Generates a report on groups."
label "On Groups"
mnemonic G
activated { startReportInMtool groups.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onfiles
objSpec {
hintText "Generates a report on files."
label "On Files"
mnemonic i
activated { startReportInMtool files.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncdms
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on cdms."
label "On Cdms"
mnemonic m
activated { startReportInMtool referredin.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncdms
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on cdms."
label "On Cdms"
mnemonic m
activated { startReportInMtool referredin.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onunreferencedcdms
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on unreferenced cdms."
label "On Unreferenced Cdms"
mnemonic U
activated { startReportInMtool unrefd_cdms.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onunreferencedcdms
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on unreferenced cdms."
label "On Unreferenced Cdms"
mnemonic U
activated { startReportInMtool unrefd_cdms.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onitemsandproperties
objSpec {
hintText "Generates a report on items and their properties."
label "On Items And Properties..."
mnemonic t
activated {
set box .main.propertyNames
EntryDialog new $box \
-modal yes \
-title "Report Options" \
-message "Property Name(s):" \
-helpPressed {.main helpOnName propertyNames} \
-cancelPressed {.main.propertyNames delete} \
-okPressed {
set opts [.main.propertyNames entry]
if {$opts != ""} {
set opts "-o $opts"
}
set msg "On Items And Properties"
startReportInMtool "items.tcl $opts" $msg
.main.propertyNames delete
}
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncomponentsandproperties
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on components and their properties."
label "On Components And Properties..."
mnemonic p
activated {
set box .main.propertyNames
EntryDialog new $box \
-modal yes \
-title "Report Options" \
-message "Property Name(s):" \
-helpPressed {.main helpOnName propertyNames} \
-cancelPressed {.main.propertyNames delete} \
-okPressed {
set opts [.main.propertyNames entry]
if {$opts != ""} {
set opts "-o $opts"
}
set msg "On Components And Properties"
startReportInMtool "components.tcl $opts" $msg
.main.propertyNames delete
}
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onclasses
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on classes."
label "On Classes"
mnemonic l
activated { startReportInMtool classes.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onclasses
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on classes."
label "On Classes"
mnemonic l
activated { startReportInMtool classes.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onclassgeneralizations
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on generalizations."
label "On Class Generalizations"
mnemonic e
activated { startReportInMtool class_gens.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onclassgeneralizations
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on generalizations."
label "On Class Generalizations"
mnemonic e
activated { startReportInMtool class_gens.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onmissingoperations
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on missing operations."
label "On Missing Operations..."
mnemonic r
activated {
require newobjentr.tcl
set box .main.classNames
NewObjEntryDlg new $box \
-modal yes \
-title "Report Options" \
-message "Class Name(s):" \
-helpPressed {.main helpOnName classNames} \
-cancelPressed {.main.classNames delete} \
-okPressed {
set classes [.main.classNames entry]
set msg "On Missing Operations"
startReportInMtool "oper_missing.tcl -o $classes" $msg
.main.classNames delete
}
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onmissingoperations
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on missing operations."
label "On Missing Operations..."
mnemonic r
activated {
require newobjentr.tcl
set box .main.classNames
NewObjEntryDlg new $box \
-modal yes \
-title "Report Options" \
-message "Class Name(s):" \
-helpPressed {.main helpOnName classNames} \
-cancelPressed {.main.classNames delete} \
-okPressed {
set classes [.main.classNames entry]
set msg "On Missing Operations"
startReportInMtool "oper_missing.tcl -o $classes" $msg
.main.classNames delete
}
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncommunications
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on communications."
label "On Communications"
mnemonic C
activated { startReportInMtool communications.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.oncommunications
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on communications."
label "On Communications"
mnemonic C
activated { startReportInMtool communications.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onevents
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on events."
label "On Events"
mnemonic v
activated { startReportInMtool events.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onevents
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on events."
label "On Events"
mnemonic v
activated { startReportInMtool events.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onflows
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on flows."
label "On Flows"
mnemonic F
activated { startReportInMtool flows.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onflows
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on flows."
label "On Flows"
mnemonic F
activated { startReportInMtool flows.tcl [%this label] }
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onactors
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on actors."
label "On Actors..."
mnemonic o
activated {
set box .main.reportOptions
TemplateDialog new $box \
-modal yes \
-title "Report Options" \
-cancelPressed {.main.reportOptions delete} \
-okPressed {
set opts ""
if [.main.reportOptions.top.freeText state] {
set opts "-o freeText"
}
startReportInMtool "actors.tcl $opts" "On Actors"
.main.reportOptions delete
}
interface DlgColumn $box.top {
CheckButton freeText {
label "Show Free Text"
}
}
$box delHelpButton
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onactors
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on actors."
label "On Actors..."
mnemonic o
activated {
set box .main.reportOptions
TemplateDialog new $box \
-modal yes \
-title "Report Options" \
-cancelPressed {.main.reportOptions delete} \
-okPressed {
set opts ""
if [.main.reportOptions.top.freeText state] {
set opts "-o freeText"
}
startReportInMtool "actors.tcl $opts" "On Actors"
.main.reportOptions delete
}
interface DlgColumn $box.top {
CheckButton freeText {
label "Show Free Text"
}
}
$box delHelpButton
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onusecases
scope {* * {Analysis SystemDesign ObjectDesign}}
visible {0 0 0 1 0}
objSpec {
hintText "Generates a report on use cases."
label "On Use Cases..."
mnemonic s
activated {
set box .main.reportOptions
TemplateDialog new $box \
-modal yes \
-title "Report Options" \
-cancelPressed {.main.reportOptions delete} \
-okPressed {
set opts ""
if [.main.reportOptions.top.properties state] {
append opts "properties"
}
if [.main.reportOptions.top.decompositions state] {
append opts " decompositions"
}
if {"$opts" != ""} {
set opts "-o $opts"
}
startReportInMtool "usecases.tcl $opts" "On Use Cases"
.main.reportOptions delete
}
interface DlgColumn $box.top {
CheckButton properties {
label "Show Use Case Properties"
}
CheckButton decompositions {
label "Show Decomposition Information"
}
}
$box delHelpButton
$box popUp
}
}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.reports.menu.onusecases
scope {* * {Analysis SystemDesign ObjectDesign} system}
objSpec {
hintText "Generates a report on use cases."
label "On Use Cases..."
mnemonic s
activated {
set box .main.reportOptions
TemplateDialog new $box \
-modal yes \
-title "Report Options" \
-cancelPressed {.main.reportOptions delete} \
-okPressed {
set opts ""
if [.main.reportOptions.top.properties state] {
append opts "properties"
}
if [.main.reportOptions.top.decompositions state] {
append opts " decompositions"
}
if {"$opts" != ""} {
set opts "-o $opts"
}
startReportInMtool "usecases.tcl $opts" "On Use Cases"
.main.reportOptions delete
}
interface DlgColumn $box.top {
CheckButton properties {
label "Show Use Case Properties"
}
CheckButton decompositions {
label "Show Decomposition Information"
}
}
$box delHelpButton
$box popUp
}
}
}
registerObject {
name .utilities.menu.cmintegrations
type CustCascadeButton
visible {1 1 0 0 0}
objSpec {
label "CM Integrations"
mnemonic I
hintText {Installation of CM integrations}
}
}
registerObject {
name .utilities.menu.cmintegrations.menu
type CustMenu
visible {1 1 0 0 0}
}
registerObject {
name .utilities.menu.cmintegrations.menu.clearcase
type CustMenuPushButton
visible {1 1 0 0 0}
objSpec {
label ClearCase...
mnemonic C
hintText {Starts the ClearCase installation program}
activated {
wmtkmessage {Starting ClearCase integration setup...}
set otk "[quoteIf [m4_path_name bin otk$EXE_EXT]]"
set script "[quoteIf [m4_path_name tcl install_cc.tcl]]"
system "$otk $script &"
wmtkmessage ""
}
}
}
registerObject {
name .utilities.menu.cmintegrations.menu.continuus
type CustMenuPushButton
visible {1 1 0 0 0}
objSpec {
label Continuus...
mnemonic o
hintText {Starts the Continuus installation program}
activated {
wmtkmessage {Starting Continuus integration setup...}
set otk "[quoteIf [m4_path_name bin otk$EXE_EXT]]"
set script "[quoteIf [m4_path_name tcl install_cont.tcl]]"
system "$otk $script &"
wmtkmessage ""
}
}
}
registerObject {
type CustMenuSeparator
name .utilities.menu.separator10
scope {* * Implementation}
}
registerObject {
type CustMenuPushButton
name .utilities.menu.configuredelphienvironment
scope {* * {ObjectDesign Implementation}}
objSpec {
label "Configure Delphi Environment"
mnemonic E
checkOn levelChange
enableScript {
set phaseV [[ClientContext::global] currentPhase]
if {"[$phaseV getInfo Status]" != "working"} {
%this sensitive 0
return
}
%this sensitive 1
}
activated { startConfigureInXtool config_dp.tcl "Configure Delphi Environment" }
}
}
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
activated {
set currentObj [[.main currentObj] browsUiObj]
if {! [$currentObj isA PSysVDbObj]} {
set currentObj [$currentObj getParent PSysVDbObj]
}
$currentObj updateUserEnv
}
}
}
registerObject {
type CustMenuBarButton
name .help
objSpec {
label Help
mnemonic H
helpButton 1
}
}
registerObject {
type CustMenu
name .help.menu
objSpec {
pinnable 1
}
}
registerObject {
type CustMenuPushButton
name .help.menu.whatsthis
objSpec {
hintText "Shows context sensitive help."
label "What's This?"
mnemonic W
activated {.main helpOnContext}
}
}
registerObject {
type CustMenuPushButton
name .help.menu.helptopics
objSpec {
hintText "Shows help topics."
label "Help Topics"
mnemonic T
activated {showHelpTopics}
}
}
registerObject {
name .help.menu.productdocumentation
type CustMenuPushButton
objSpec {
label {Product Documentation}
hintText {Starts online documentation.}
activated {
#CTGENMessage
wmtkmessage {Start online documentation ...}
#CTGENBusyCursorOn
.main busy TRUE
#CTGENCommandScript
startOnlineDoc
#CTGENEndCommandScript
#CTGENRemoveMessage
wmtkmessage ""
#CTGENBusyCursorOff
.main busy FALSE
}
}
}
registerObject {
type CustMenuPushButton
name .help.menu.aboutbrowser
objSpec {
hintText "Shows version information."
label "About Browser"
mnemonic A
activated {showVersionDialog [%this label]}
}
}