home *** CD-ROM | disk | FTP | other *** search
- registerObject {
- name .file
- type CustMenuBarButton
- objSpec {
- label File
- mnemonic F
- }
- }
-
- registerObject {
- name .file.menu
- type CustMenu
- visible {1 1 1 1 1}
- }
-
- registerObject {
- name .view
- type CustMenuBarButton
- objSpec {
- label View
- mnemonic V
- }
- }
-
- registerObject {
- name .view.menu
- type CustMenu
- }
-
- registerObject {
- name .options
- type CustMenuBarButton
- objSpec {
- label Options
- mnemonic O
- }
- }
-
- registerObject {
- name .options.menu
- type CustMenu
- }
-
- registerObject {
- name .help
- type CustMenuBarButton
- objSpec {
- label Help
- mnemonic H
- helpButton 1
- }
- }
-
- registerObject {
- name .help.menu
- type CustMenu
- visible {1 1 1 1 1}
- objSpec {
- pinnable 1
- }
- }
-
- registerObject {
- name .file.menu.open
- type CustMenuPushButton
- objSpec {
- label Open
- mnemonic o
- hintText {Starts the selected tool.}
- accelerator Ctrl+O
- activated {
- #CTGENCommandScript
- busy { .main fileOpen }
- #CTGENEndCommandScript
- }
- selIsATypes {}
- selCount 1
- checkOn selectionChange
- }
- }
-
- registerObject {
- name .file.menu.user_1
- type CustMenuSeparator
- objSpec {
- }
- }
-
- registerObject {
- name .file.menu.exit
- type CustMenuPushButton
- objSpec {
- hintText {Exits the Repository Tool.}
- label Exit
- mnemonic x
- activated {busy { .main fileExit }}
- }
- }
-
- registerObject {
- name .view.menu.messagearea
- type CustMenuCheckButton
- objSpec {
- hintText "Shows or hides the message area."
- label "Message Area"
- mnemonic M
- state 1
- stateChanged {
- #CTGENCommandScript
- .main messageAreaPresent [[.main menuBar].view.menu.messagearea state]
- #CTGENEndCommandScript
- }
- }
- }
-
- registerObject {
- name .options.menu.font
- type CustMenuPushButton
- objSpec {
- label {Font...}
- hintText "Changes the font used by the tool icons."
- mnemonic F
- activated {busy { .main optionsFont }}
- selIsATypes {}
- }
- }
-
- registerObject {
- name .help.menu.whatsthis
- type CustMenuPushButton
- objSpec {
- hintText {Shows help about the selected component.}
- label "What's This?"
- mnemonic W
- activated {
- #CTGENCommandScript
- .main helpOnContext
- #CTGENEndCommandScript
- }
- }
- }
-
-
- registerObject {
- name .help.menu.helptopics
- type CustMenuPushButton
- 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.aboutrepositorytool
- objSpec {
- hintText "Shows version information."
- label "About Repository Tool"
- mnemonic A
- activated {showVersionDialog}
- }
- }
-