equal
deleted
inserted
replaced
460 |
460 |
461 #( |
461 #( |
462 #(#MenuItem |
462 #(#MenuItem |
463 #'label:' 'Tab Item' |
463 #'label:' 'Tab Item' |
464 #'value:' #doCreateTab |
464 #'value:' #doCreateTab |
465 #'labelImage:' #(#ResourceRetriever nil #newLabelIcon 'Tab Item') |
465 #'labelImage:' #(#ResourceRetriever nil #newTabItemIcon 'Tab Item') |
466 ) |
466 ) |
467 ) nil |
467 ) nil |
468 nil |
468 nil |
469 ) |
469 ) |
470 ) |
470 ) |
583 #(#MenuItem |
583 #(#MenuItem |
584 #'label:' 'Add Tab Item' |
584 #'label:' 'Add Tab Item' |
585 #'isButton:' true |
585 #'isButton:' true |
586 #'value:' #doCreateTab |
586 #'value:' #doCreateTab |
587 #'enabled:' #isNotModified |
587 #'enabled:' #isNotModified |
588 #'labelImage:' #(#ResourceRetriever #MenuEditor #menuItemImage) |
588 #'labelImage:' #(#ResourceRetriever nil #newTabItemIcon) |
589 ) |
589 ) |
590 #(#MenuItem |
590 #(#MenuItem |
591 #'label:' '' |
591 #'label:' '' |
592 ) |
592 ) |
593 #(#MenuItem |
593 #(#MenuItem |
611 ) |
611 ) |
612 ! ! |
612 ! ! |
613 |
613 |
614 !TabItemEditor class methodsFor:'resources'! |
614 !TabItemEditor class methodsFor:'resources'! |
615 |
615 |
616 newLabelIcon |
616 newTabItemIcon |
617 "Generated by the Image Editor" |
617 "Generated by the Image Editor" |
618 " |
618 " |
619 ImageEditor openOnClass:self andSelector:#newLabelIcon |
619 ImageEditor openOnClass:self andSelector:#newTabItemIcon |
620 " |
620 " |
621 |
621 |
622 <resource: #image> |
622 <resource: #image> |
623 |
623 |
624 ^Icon |
624 ^Icon |
625 constantNamed:#'TabItemEditor newLabelIcon' |
625 constantNamed:#'TabItemEditor newTabItemIcon' |
626 ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'DQDP@@@@@@@@DQDQDQ@QDQDQDR@QDQDQDAH"H"H"LADQDQDPD"@BHBH0DQDQDQ@R@"HB@#@QDQDQDAHBH HBLADQDQDPD"@BHBH0DQDPDQ@RH"H"H#@QDQDQDAHBH HBLADQDQDPD H"@ H0DQDQDQ@R@"HB@#@QDQDQDAH@@ @BLADQDQDPD"H"H"H0DQDQDQ@RH"H"H#@QDQDQDAHB@ HBLADQDQDPD @B@@H0DQDQDQ@R@ H@@#@QDQDQDAHB@ HBLADQDQDPD"H"H"H0DQDQDQ@RH"H"H#@QDQDQDBL3L3L3LADQDQDP@@@@@@@@DQDb'); colorMap:((OrderedCollection new add:(Color black); add:(Color white); add:(Color grey:66.9978); add:(Color grey:49.9962); add:(Color red:100.0 green:0.0 blue:0.0); add:(Color red:0.0 green:100.0 blue:0.0); add:(Color red:0.0 green:0.0 blue:100.0); add:(Color red:0.0 green:100.0 blue:100.0); add:(Color red:100.0 green:100.0 blue:0.0); add:(Color red:100.0 green:0.0 blue:100.0); add:(Color red:49.9977 green:0.0 blue:0.0); add:(Color red:0.0 green:49.9977 blue:0.0); add:(Color red:0.0 green:0.0 blue:49.9977); add:(Color red:0.0 green:49.9977 blue:49.9977); add:(Color red:49.9977 green:49.9977 blue:0.0); add:(Color red:49.9977 green:0.0 blue:49.9977); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??@A??@A??@A??@A??@A??@A??@A??@A??CA??@A??@A??@A??@A??CA??AA??@A??CA??@A??CA??@A??@A??A'); yourself); yourself]! ! |
626 ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'U@@@@EUPUEUUVEUPUF**+EUPUF**+EUPUF**+EUP@F**+@@@EV***UV@F*****+@F KNC*+NF(("H*+@F((BC +EF(("H*+@F(("C*+MF*****+@F"@ H*K@F"""(LK@F"" ("K@F"""(*K@F"" H*K@F*****+HK??????@@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'G?<@G?<@G?<@G?<@G?<@???<???<???<???????<???<???<???<???????=???<???????<???????<???<???='); yourself); yourself]! ! |
627 |
627 |
628 !TabItemEditor methodsFor:'accessing'! |
628 !TabItemEditor methodsFor:'accessing'! |
629 |
629 |
630 className |
630 className |
631 ^ className |
631 ^ className |