home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
cad.mnu
< prev
next >
Wrap
Text File
|
1997-04-28
|
4KB
|
198 lines
registerObject {
name .edit.menu.corporate_1
type CustMenuSeparator
visible {1 1 1 1 1}
objSpec {
}
}
registerObject {
name .edit.menu.fold
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Folds the selected classes."
label Fold
mnemonic F
accelerator Ctrl+L
activated {
#CTGENCommandScript
[.main editorArea] changeClassesFoldState 1
#CTGENEndCommandScript
}
operations {item save}
}
}
registerObject {
name .edit.menu.unfold
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Unfolds the selected classes."
label Unfold
mnemonic n
accelerator Ctrl+U
activated {
#CTGENCommandScript
[.main editorArea] changeClassesFoldState 0
#CTGENEndCommandScript
}
operations {item save}
}
}
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 .options.menu.initialfold
type CustMenuCheckButton
visible {1 1 1 1 1}
objSpec {
hintText "Changes the fold mode for new class symbols."
label {Initial Fold}
mnemonic l
stateChanged {
#CTGENCommandScript
[.main options] initialFold
#CTGENEndCommandScript
}
}
}
registerObject {
name .check.menu.localmodel
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Checks the local model of this diagram."
label {Local Model}
mnemonic L
activated {
#CTGENCommandScript
.main checkLocalModel
#CTGENEndCommandScript
}
operations check
}
}
registerObject {
name .utilities.menu.reports.menu.onclasses
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Generates a report on classes."
label {On Classes}
mnemonic l
activated {
#CTGENCommandScript
set prefix ""
if {[m4_var get M4_target_lang] == "st"} {
set prefix st
}
.main startReport ${prefix}classes.tcl [%this label]
#CTGENEndCommandScript
}
operations diagram
}
}
registerObject {
name .utilities.menu.reports.menu.onclassgeneralizations
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Generates a report on generalizations."
label {On Class Generalizations}
mnemonic e
activated {
#CTGENCommandScript
.main startReport class_gens.tcl [%this label]
#CTGENEndCommandScript
}
operations diagram
}
}
registerObject {
name .utilities.menu.reports.menu.onmissingoperations
type CustMenuPushButton
visible {1 1 1 1 1}
objSpec {
hintText "Generates a report on missing operations."
label {On Missing Operations}
mnemonic r
activated {
#CTGENCommandScript
set opts "-o"
set area [.main editorArea]
foreach comp [$area getSelectedComponents] {
if {[$comp type] != "cad_class" &&
[$comp type] != "cad_container"} {
continue
}
set nameItem [$comp nameItem]
if {$nameItem != ""} {
append opts " [$nameItem name]"
}
}
if {$opts == "-o"} {
wmtkerror "No Class(es) having a name selected"
} else {
.main startReport \
"oper_missing.tcl $opts" [%this label]
}
$area releaseSelectedComponents
#CTGENEndCommandScript
}
operations {diagram item}
}
}
registerObject {
name .help.menu.aboutcadeditor
type CustMenuPushButton
objSpec {
hintText "Shows version information."
label {About CAD Editor}
mnemonic A
activated {
#CTGENCommandScript
showVersionDialog [%this label]
#CTGENEndCommandScript
}
}
}