# HG changeset patch # User tz # Date 889139006 -3600 # Node ID 5d0a14bdcc15da9e80f6ab386d6b6d4a3d2f9592 # Parent c9de7a9bc4165743dd3645938dd0741b8cb2b973 docu call changed diff -r c9de7a9bc416 -r 5d0a14bdcc15 MenuEditor.st --- a/MenuEditor.st Thu Mar 05 23:59:14 1998 +0100 +++ b/MenuEditor.st Fri Mar 06 00:03:26 1998 +0100 @@ -240,6 +240,7 @@ 'Selector returning an image.' ) + ! ! !MenuEditor class methodsFor:'interface specs'! @@ -260,119 +261,119 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1160 870) - #'bounds:' #(#Rectangle 73 152 340 471) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 429 0 338 0 695 0 656 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1160 870) + #bounds: #(#Rectangle 429 338 696 657) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'nameKeyLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'label:' 'Name Key:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'nameKeyLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #label: 'Name Key:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'nameKeyField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #basicsNameKey - #'tabable:' true - #'model:' #nameKey - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'nameKeyField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #basicsNameKey + #tabable: true + #model: #nameKey + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'labelLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) - #'label:' 'Label:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'labelLabel' + #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) + #label: 'Label:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'labelField' - #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) - #'activeHelpKey:' #basicsLabel - #'tabable:' true - #'model:' #label - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'labelField' + #layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) + #activeHelpKey: #basicsLabel + #tabable: true + #model: #label + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'valueLabel' - #'layout:' #(#AlignmentOrigin 107 0 90 0 1 0.5) - #'label:' 'Action:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'valueLabel' + #layout: #(#AlignmentOrigin 107 0 90 0 1 0.5) + #label: 'Action:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'valueField' - #'layout:' #(#LayoutFrame 110 0 79 0 -5 1.0 101 0) - #'activeHelpKey:' #basicsAction - #'tabable:' true - #'model:' #value - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'valueField' + #layout: #(#LayoutFrame 110 0 79 0 -5 1.0 101 0) + #activeHelpKey: #basicsAction + #tabable: true + #model: #value + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'argumentLabel' - #'layout:' #(#AlignmentOrigin 107 0 115 0 1 0.5) - #'label:' 'Argument:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'argumentLabel' + #layout: #(#AlignmentOrigin 107 0 115 0 1 0.5) + #label: 'Argument:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'argumentField' - #'layout:' #(#LayoutFrame 110 0 104 0 -5 1.0 126 0) - #'activeHelpKey:' #basicsArgument - #'tabable:' true - #'model:' #argument - #'type:' #string - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'argumentField' + #layout: #(#LayoutFrame 110 0 104 0 -5 1.0 126 0) + #activeHelpKey: #basicsArgument + #tabable: true + #model: #argument + #type: #string + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'indicationLabel' - #'layout:' #(#AlignmentOrigin 107 0 155 0 1 0.5) - #'label:' 'Indication:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'indicationLabel' + #layout: #(#AlignmentOrigin 107 0 155 0 1 0.5) + #label: 'Indication:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'indicationField' - #'layout:' #(#LayoutFrame 110 0 144 0 -5 1.0 166 0) - #'activeHelpKey:' #basicsIndication - #'tabable:' true - #'model:' #indication - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'indicationField' + #layout: #(#LayoutFrame 110 0 144 0 -5 1.0 166 0) + #activeHelpKey: #basicsIndication + #tabable: true + #model: #indication + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#CheckBoxSpec - #'name:' 'translateLabelCheckBox' - #'layout:' #(#Point 20 192) - #'activeHelpKey:' #basicsTranslateLabel - #'tabable:' true - #'model:' #translateLabel - #'label:' 'Translate Label' + #name: 'translateLabelCheckBox' + #layout: #(#Point 20 192) + #activeHelpKey: #basicsTranslateLabel + #tabable: true + #model: #translateLabel + #label: 'Translate Label' ) #(#CheckBoxSpec - #'name:' 'isButtonCheckBox' - #'layout:' #(#Point 20 221) - #'activeHelpKey:' #basicsIsButton - #'tabable:' true - #'model:' #isButton - #'label:' 'Is Button' + #name: 'isButtonCheckBox' + #layout: #(#Point 20 221) + #activeHelpKey: #basicsIsButton + #tabable: true + #model: #isButton + #label: 'Is Button' ) ) ) @@ -395,91 +396,91 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 73 152 340 471) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 478 0 279 0 744 0 597 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 478 279 745 598) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'nameKeyLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'activeHelpKey:' #nameKey - #'label:' 'Name Key:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'nameKeyLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #activeHelpKey: #nameKey + #label: 'Name Key:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'nameKeyField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #basicsNameKey - #'tabable:' true - #'model:' #nameKey - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'nameKeyField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #basicsNameKey + #tabable: true + #model: #nameKey + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'labelLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) - #'label:' 'Label:' - #'resizeForLabel:' true + #name: 'labelLabel' + #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) + #label: 'Label:' + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'labelField' - #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) - #'activeHelpKey:' #basicsLabel - #'tabable:' true - #'model:' #label - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'labelField' + #layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) + #activeHelpKey: #basicsLabel + #tabable: true + #model: #label + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'menuLabel' - #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5) - #'label:' 'Menu:' - #'resizeForLabel:' true + #name: 'menuLabel' + #layout: #(#AlignmentOrigin 107 0 76 0 1 0.5) + #label: 'Menu:' + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'menuField' - #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) - #'activeHelpKey:' #basicsMenu - #'tabable:' true - #'model:' #submenuChannel - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'menuField' + #layout: #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) + #activeHelpKey: #basicsMenu + #tabable: true + #model: #submenuChannel + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'ArgumentLabel' - #'layout:' #(#AlignmentOrigin 107 0 100 0 1 0.5) - #'label:' 'Argument:' - #'resizeForLabel:' true + #name: 'ArgumentLabel' + #layout: #(#AlignmentOrigin 107 0 100 0 1 0.5) + #label: 'Argument:' + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'argumentField' - #'layout:' #(#LayoutFrame 110 0 90 0 -5 1.0 112 0) - #'activeHelpKey:' #basicsMenuArgument - #'tabable:' true - #'model:' #argument - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'argumentField' + #layout: #(#LayoutFrame 110 0 90 0 -5 1.0 112 0) + #activeHelpKey: #basicsMenuArgument + #tabable: true + #model: #argument + #acceptOnReturn: false + #acceptOnTab: false ) #(#CheckBoxSpec - #'name:' 'translateLabelCheckBox' - #'layout:' #(#Point 20 128) - #'activeHelpKey:' #basicsTranslateLabel - #'tabable:' true - #'model:' #translateLabel - #'label:' 'Translate Label' + #name: 'translateLabelCheckBox' + #layout: #(#Point 20 128) + #activeHelpKey: #basicsTranslateLabel + #tabable: true + #model: #translateLabel + #label: 'Translate Label' ) ) ) @@ -502,60 +503,60 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 73 152 340 471) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 484 0 274 0 750 0 592 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 484 274 751 593) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'nameKeyLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'label:' 'Name Key:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'nameKeyLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #label: 'Name Key:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'nameKeyField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #basicsNameKey - #'tabable:' true - #'model:' #nameKey - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'nameKeyField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #basicsNameKey + #tabable: true + #model: #nameKey + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'labelLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) - #'label:' 'Label:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'labelLabel' + #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) + #label: 'Label:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'labelField' - #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) - #'activeHelpKey:' #basicsLabel - #'tabable:' true - #'model:' #label - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'labelField' + #layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) + #activeHelpKey: #basicsLabel + #tabable: true + #model: #label + #acceptOnReturn: false + #acceptOnTab: false ) #(#CheckBoxSpec - #'name:' 'translateLabelCheckBox' - #'layout:' #(#Point 20 100) - #'activeHelpKey:' #basicsTranslateLabel - #'tabable:' true - #'model:' #translateLabel - #'label:' 'Translate Label' + #name: 'translateLabelCheckBox' + #layout: #(#Point 20 100) + #activeHelpKey: #basicsTranslateLabel + #tabable: true + #model: #translateLabel + #label: 'Translate Label' ) ) ) @@ -578,35 +579,35 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 73 0 152 0 339 0 470 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 73 152 340 471) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 448 0 290 0 714 0 608 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 448 290 715 609) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'selectorLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'label:' 'Selector:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'selectorLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #label: 'Selector:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'selectorField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #basicsSelector - #'tabable:' true - #'model:' #label - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'selectorField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #basicsSelector + #tabable: true + #model: #label + #acceptOnReturn: false + #acceptOnTab: false ) ) ) @@ -629,51 +630,51 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 219 0 193 0 485 0 511 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1160 870) - #'bounds:' #(#Rectangle 219 193 486 512) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 467 0 304 0 733 0 622 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1160 870) + #bounds: #(#Rectangle 467 304 734 623) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'separatorLabel' - #'layout:' #(#AlignmentOrigin 127 0 26 0 1 0.5) - #'label:' 'Separator Type:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'separatorLabel' + #layout: #(#AlignmentOrigin 127 0 26 0 1 0.5) + #label: 'Separator Type:' + #adjust: #right + #resizeForLabel: true ) #(#ComboListSpec - #'name:' 'seperatorList' - #'layout:' #(#LayoutFrame 132 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #basicsSeparatorType - #'tabable:' true - #'model:' #seperatorSelection - #'useIndex:' true + #name: 'seperatorList' + #layout: #(#LayoutFrame 132 0 15 0 -5 1.0 37 0) + #activeHelpKey: #basicsSeparatorType + #tabable: true + #model: #seperatorSelection + #useIndex: true ) #(#LabelSpec - #'name:' 'visibilityLabel' - #'layout:' #(#AlignmentOrigin 127 0 76 0 1 0.5) - #'label:' 'Visibility:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'visibilityLabel' + #layout: #(#AlignmentOrigin 127 0 76 0 1 0.5) + #label: 'Visibility:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'isVisibleInputField' - #'layout:' #(#LayoutFrame 132 0 65 0 -5 1.0 87 0) - #'activeHelpKey:' #detailsVisibility - #'tabable:' true - #'model:' #isVisible - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'isVisibleInputField' + #layout: #(#LayoutFrame 132 0 65 0 -5 1.0 87 0) + #activeHelpKey: #detailsVisibility + #tabable: true + #model: #isVisible + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) ) ) @@ -696,105 +697,105 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 73 0 152 0 331 0 439 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 73 152 332 440) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 449 0 329 0 707 0 616 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 449 329 708 617) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'shortcutKeyLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'label:' 'Accelerator:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'shortcutKeyLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #label: 'Accelerator:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'shortcutKeyField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #detailsAccelerator - #'tabable:' true - #'model:' #shortcutKey - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'shortcutKeyField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #detailsAccelerator + #tabable: true + #model: #shortcutKey + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'enabledLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) - #'label:' 'Enabled:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'enabledLabel' + #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) + #label: 'Enabled:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'enabledField' - #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) - #'activeHelpKey:' #detailsEnabled - #'tabable:' true - #'model:' #enabled - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'enabledField' + #layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) + #activeHelpKey: #detailsEnabled + #tabable: true + #model: #enabled + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'visibilityLabel' - #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5) - #'label:' 'Visibility:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'visibilityLabel' + #layout: #(#AlignmentOrigin 107 0 76 0 1 0.5) + #label: 'Visibility:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'isVisibleInputField' - #'layout:' #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) - #'activeHelpKey:' #detailsVisibility - #'tabable:' true - #'model:' #isVisible - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'isVisibleInputField' + #layout: #(#LayoutFrame 110 0 65 0 -5 1.0 87 0) + #activeHelpKey: #detailsVisibility + #tabable: true + #model: #isVisible + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'StartGroupLabel' - #'layout:' #(#AlignmentOrigin 107 0 111 0 1 0.5) - #'label:' 'Start Group:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'StartGroupLabel' + #layout: #(#AlignmentOrigin 107 0 111 0 1 0.5) + #label: 'Start Group:' + #adjust: #right + #resizeForLabel: true ) #(#PopUpListSpec - #'name:' 'StartGroupPopUp' - #'layout:' #(#LayoutFrame 110 0 100 0 -5 1.0 122 0) - #'label:' 'PopUpList' - #'model:' #startGroup - #'menu:' + #name: 'StartGroupPopUp' + #layout: #(#LayoutFrame 110 0 100 0 -5 1.0 122 0) + #label: 'PopUpList' + #model: #startGroup + #menu: #(nil #right ) - #'useIndex:' false + #useIndex: false ) #(#LabelSpec - #'name:' 'accessCharLabel' - #'layout:' #(#AlignmentOrigin 217 0 142 0 1 0.5) - #'label:' 'Access Character Position:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'accessCharLabel' + #layout: #(#AlignmentOrigin 217 0 142 0 1 0.5) + #label: 'Access Character Position:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'accessCharField' - #'layout:' #(#LayoutFrame 220 0 131 0 -5 1.0 153 0) - #'activeHelpKey:' #detailsAccessCharaterPosition - #'tabable:' true - #'model:' #accessCharacterPos - #'type:' #numberOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'accessCharField' + #layout: #(#LayoutFrame 220 0 131 0 -5 1.0 153 0) + #activeHelpKey: #detailsAccessCharaterPosition + #tabable: true + #model: #accessCharacterPos + #type: #numberOrNil + #acceptOnReturn: false + #acceptOnTab: false ) ) ) @@ -815,78 +816,75 @@ ^ - + #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'unnamed canvas' - #'layout:' #(#LayoutFrame 238 0 321 0 482 0 462 0) - #'label:' 'unnamed canvas' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 238 321 483 463) - #'usePreferredExtent:' false + #name: 'unnamed canvas' + #layout: #(#LayoutFrame 462 0 313 0 706 0 454 0) + #label: 'unnamed canvas' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 462 313 707 455) + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#LabelSpec - #'name:' 'retrieverLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) - #'label:' 'Retriever:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'retrieverLabel' + #layout: #(#AlignmentOrigin 107 0 26 0 1 0.5) + #label: 'Retriever:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'retrieverField' - #'layout:' #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) - #'activeHelpKey:' #imageRetriever - #'tabable:' true - #'model:' #retriever - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'retrieverField' + #layout: #(#LayoutFrame 110 0 15 0 -5 1.0 37 0) + #activeHelpKey: #imageRetriever + #tabable: true + #model: #retriever + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#LabelSpec - #'name:' 'iconLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) - #'label:' 'Selector:' - #'adjust:' #right - #'resizeForLabel:' true + #name: 'iconLabel' + #layout: #(#AlignmentOrigin 107 0 51 0 1 0.5) + #label: 'Selector:' + #adjust: #right + #resizeForLabel: true ) #(#InputFieldSpec - #'name:' 'iconField' - #'layout:' #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) - #'activeHelpKey:' #imageSelector - #'tabable:' true - #'model:' #icon - #'type:' #symbolOrNil - #'acceptOnReturn:' false - #'acceptOnTab:' false + #name: 'iconField' + #layout: #(#LayoutFrame 110 0 40 0 -5 1.0 62 0) + #activeHelpKey: #imageSelector + #tabable: true + #model: #icon + #type: #symbolOrNil + #acceptOnReturn: false + #acceptOnTab: false ) #(#ActionButtonSpec - #'name:' 'imageEditorButton' - #'layout:' #(#LayoutFrame 110 0 66 0 -5 1 90 0) - #'activeHelpKey:' #imageImageEditor - #'label:' 'Image Editor' - #'tabable:' true - #'model:' #doEditImage + #name: 'imageEditorButton' + #layout: #(#LayoutFrame 110 0 66 0 -5 1 90 0) + #activeHelpKey: #imageImageEditor + #label: 'Image Editor' + #tabable: true + #model: #doEditImage ) #(#CheckBoxSpec - #'name:' 'iconAndLabel' - #'layout:' #(#LayoutOrigin 20 0 104 0) - #'activeHelpKey:' #imageImageAndLabel - #'tabable:' true - #'model:' #iconAndLabel - #'label:' 'Image & Label' + #name: 'iconAndLabel' + #layout: #(#LayoutOrigin 20 0 104 0) + #activeHelpKey: #imageImageAndLabel + #tabable: true + #model: #iconAndLabel + #label: 'Image & Label' ) ) ) ) - - - ! windowSpec @@ -906,76 +904,76 @@ ^ #(#FullSpec - #'window:' + #window: #(#WindowSpec - #'name:' 'Menu Builder' - #'layout:' #(#LayoutFrame 324 0 233 0 903 0 616 0) - #'label:' 'Menu Builder' - #'min:' #(#Point 10 10) - #'max:' #(#Point 1152 900) - #'bounds:' #(#Rectangle 324 233 904 617) - #'menu:' #menu - #'usePreferredExtent:' false + #name: 'Menu Builder' + #layout: #(#LayoutFrame 75 0 372 0 654 0 755 0) + #label: 'Menu Builder' + #min: #(#Point 10 10) + #max: #(#Point 1152 900) + #bounds: #(#Rectangle 75 372 655 756) + #menu: #menu + #usePreferredExtent: false ) - #'component:' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#MenuPanelSpec - #'name:' 'menuToolbarView' - #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0) - #'menu:' #menuToolbar - #'showSeparatingLines:' true + #name: 'menuToolbarView' + #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0) + #menu: #menuToolbar + #showSeparatingLines: true ) #(#VariableHorizontalPanelSpec - #'name:' 'variableHorizontalPanel1' - #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) - #'component:' + #name: 'variableHorizontalPanel1' + #layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#ArbitraryComponentSpec - #'name:' 'painterView' - #'menu:' #menuEdit - #'hasHorizontalScrollBar:' true - #'hasVerticalScrollBar:' true - #'component:' #treeView - #'hasBorder:' false + #name: 'painterView' + #menu: #menuEdit + #hasHorizontalScrollBar: true + #hasVerticalScrollBar: true + #component: #treeView + #hasBorder: false ) #(#ViewSpec - #'name:' 'view1' - #'component:' + #name: 'view1' + #component: #(#SpecCollection - #'collection:' + #collection: #( #(#NoteBookViewSpec - #'name:' 'specificationView' - #'layout:' #(#LayoutFrame 1 0.0 0 0.0 1 1.0 -26 1.0) - #'tabable:' true - #'model:' #tabModel - #'menu:' #tabList - #'useIndex:' true - #'canvas:' #noteBookView + #name: 'specificationView' + #layout: #(#LayoutFrame 1 0.0 0 0.0 1 1.0 -26 1.0) + #tabable: true + #model: #tabModel + #menu: #tabList + #useIndex: true + #canvas: #noteBookView ) #(#UISubSpecification - #'name:' 'SubSpecification' - #'layout:' #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) - #'majorKey:' #ToolApplicationModel - #'minorKey:' #windowSpecForCommit + #name: 'SubSpecification' + #layout: #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) + #majorKey: #ToolApplicationModel + #minorKey: #windowSpecForCommit ) ) ) - #'level:' -1 + #level: -1 ) ) ) - #'handles:' #(#Any 0.384483 1.0) + #handles: #(#Any 0.384483 1.0) ) #(#UISubSpecification - #'name:' 'infoBarSubSpec' - #'layout:' #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) - #'majorKey:' #ToolApplicationModel - #'minorKey:' #windowSpecForInfoBar + #name: 'infoBarSubSpec' + #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) + #majorKey: #ToolApplicationModel + #minorKey: #windowSpecForInfoBar ) ) ) @@ -1125,31 +1123,31 @@ #( #(#MenuItem - #'label:' 'Menu Item' - #'value:' #doCreateItem - #'activeHelpKey:' #addMenuItem - #'labelImage:' #(#ResourceRetriever #MenuEditor #menuItemImage 'Menu Item') + #label: 'Menu Item' + #value: #doCreateItem + #activeHelpKey: #addMenuItem + #labelImage: #(#ResourceRetriever #MenuEditor #menuItemImage 'Menu Item') ) #(#MenuItem - #'label:' 'Menu Separator' - #'value:' #doCreateSep - #'activeHelpKey:' #addMenuSeparator - #'labelImage:' #(#ResourceRetriever #MenuEditor #menuSeparatorImage 'Menu Separator') + #label: 'Menu Separator' + #value: #doCreateSep + #activeHelpKey: #addMenuSeparator + #labelImage: #(#ResourceRetriever #MenuEditor #menuSeparatorImage 'Menu Separator') ) #(#MenuItem - #'label:' '-' + #label: '-' ) #(#MenuItem - #'label:' 'Submenu' - #'value:' #doCreateMenu - #'activeHelpKey:' #addSubMenu - #'labelImage:' #(#ResourceRetriever #MenuEditor #submenuImage 'Submenu') + #label: 'Submenu' + #value: #doCreateMenu + #activeHelpKey: #addSubMenu + #labelImage: #(#ResourceRetriever #MenuEditor #submenuImage 'Submenu') ) #(#MenuItem - #'label:' 'Submenu Link' - #'value:' #doCreateLink - #'activeHelpKey:' #addSubMenuLink - #'labelImage:' #(#ResourceRetriever #MenuEditor #linkSubmenuImage 'Submenu Link') + #label: 'Submenu Link' + #value: #doCreateLink + #activeHelpKey: #addSubMenuLink + #labelImage: #(#ResourceRetriever #MenuEditor #linkSubmenuImage 'Submenu Link') ) ) nil nil @@ -1640,9 +1638,9 @@ !MenuEditor methodsFor:'help'! -openTutorial - - self openTutorial: 'tools/MenuEditor/TOP.html'. +openDocumentation + + self openHTMLDocument: 'tools/MenuEditor/TOP.html'. ! !