610 |
610 |
611 #(#FullSpec |
611 #(#FullSpec |
612 #'window:' |
612 #'window:' |
613 #(#WindowSpec |
613 #(#WindowSpec |
614 #'name:' 'Menu Builder' |
614 #'name:' 'Menu Builder' |
615 #'layout:' #(#LayoutFrame 284 0 261 0 863 0 644 0) |
615 #'layout:' #(#LayoutFrame 171 0 270 0 750 0 653 0) |
616 #'label:' 'Menu Builder' |
616 #'label:' 'Menu Builder' |
617 #'min:' #(#Point 10 10) |
617 #'min:' #(#Point 10 10) |
618 #'max:' #(#Point 1152 900) |
618 #'max:' #(#Point 1152 900) |
619 #'bounds:' #(#Rectangle 284 261 864 645) |
619 #'bounds:' #(#Rectangle 171 270 751 654) |
620 #'menu:' #menu |
620 #'menu:' #menu |
621 #'usePreferredExtent:' false |
621 #'usePreferredExtent:' false |
622 ) |
622 ) |
623 #'component:' |
623 #'component:' |
624 #(#SpecCollection |
624 #(#SpecCollection |
625 #'collection:' |
625 #'collection:' |
626 #( |
626 #( |
627 #(#MenuPanelSpec |
627 #(#MenuPanelSpec |
628 #'name:' 'menuToolbarView' |
628 #'name:' 'menuToolbarView' |
629 #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 34 0) |
629 #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0) |
630 #'menu:' #menuToolbar |
630 #'menu:' #menuToolbar |
631 #'showSeparatingLines:' true |
631 #'showSeparatingLines:' true |
632 ) |
632 ) |
633 #(#VariableHorizontalPanelSpec |
633 #(#VariableHorizontalPanelSpec |
634 #'name:' 'variableHorizontalPanel1' |
634 #'name:' 'variableHorizontalPanel1' |
635 #'layout:' #(#LayoutFrame 0 0.0 36 0.0 0 1.0 -22 1.0) |
635 #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0) |
636 #'component:' |
636 #'component:' |
637 #(#SpecCollection |
637 #(#SpecCollection |
638 #'collection:' |
638 #'collection:' |
639 #( |
639 #( |
640 #(#ArbitraryComponentSpec |
640 #(#ArbitraryComponentSpec |
1834 holder addDependent:self. |
1840 holder addDependent:self. |
1835 ! |
1841 ! |
1836 |
1842 |
1837 loadFromMessage: aMessage |
1843 loadFromMessage: aMessage |
1838 |
1844 |
1839 ((aMessage size > 0) and: [self checkModified]) |
1845 (((aMessage size > 0) and: [self checkMenuItemModified]) and: [self checkModified]) |
1840 ifTrue: |
1846 ifTrue: |
1841 [ |
1847 [ |
1842 |readStream aClass aSelector| |
1848 |readStream aClass aSelector| |
1843 readStream := aMessage readStream. |
1849 readStream := aMessage readStream. |
1844 aClass := Smalltalk at: (readStream upTo: $ ) asSymbol. |
1850 aClass := Smalltalk at: (readStream upTo: $ ) asSymbol. |