home *** CD-ROM | disk | FTP | other *** search
- registerObject {
- name .options.menu.font.menu.bold
- type CustMenuPushButton
- visible {1 1 1 1 1}
- objSpec {
- hintText "Changes the bold font."
- label Bold...
- mnemonic B
- activated {
- #CTGENCommandScript
- [.main options] boldFont
- #CTGENEndCommandScript
- }
- }
- }
-
- registerObject {
- name .options.menu.syntax
- type CustMenuPushButton
- visible {1 1 1 1 1}
- objSpec {
- hintText "Changes the syntax specification for labels."
- label Syntax...
- mnemonic y
- activated {
- #CTGENCommandScript
- [.main options] syntax
- #CTGENEndCommandScript
- }
- }
- }
-
- registerObject {
- name .utilities.menu.reports.menu.onactors
- type CustMenuPushButton
- visible {1 1 1 1 1}
- objSpec {
- hintText "Generates a report on actors."
- label {On Actors...}
- mnemonic A
- activated {
- #CTGENCommandScript
- 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"
- }
- set msg "On Actors"
- .main startReport "actors.tcl $opts" $msg
- .main.reportOptions delete
- }
- interface DlgColumn $box.top {
- CheckButton freeText {
- label "Show Free Text"
- }
- }
- $box delHelpButton
- $box popUp
- #CTGENEndCommandScript
- }
- operations diagram
- }
- }
-
- registerObject {
- name .utilities.menu.reports.menu.onusecases
- type CustMenuPushButton
- visible {1 1 1 1 1}
- objSpec {
- hintText "Generates a report on use cases."
- label {On Use Cases...}
- mnemonic U
- activated {
- #CTGENCommandScript
- 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.decomp state] {
- append opts " decompositions"
- }
- if {"$opts" != ""} {
- set opts "-o $opts"
- }
- set msg "On Use Cases"
- .main startReport "usecases.tcl $opts" $msg
- .main.reportOptions delete
- }
- interface DlgColumn $box.top {
- CheckButton properties {
- label "Show Use Case Properties"
- }
- CheckButton decomp {
- label "Show Decomposition Information"
- }
- }
- $box delHelpButton
- $box popUp
- #CTGENEndCommandScript
- }
- operations diagram
- }
- }
-
- registerObject {
- name .help.menu.aboutucdeditor
- type CustMenuPushButton
- objSpec {
- hintText "Shows version information."
- label {About UCD Editor}
- mnemonic A
- activated {
- #CTGENCommandScript
- showVersionDialog [%this label]
- #CTGENEndCommandScript
- }
- }
- }
-
-