equal
deleted
inserted
replaced
2611 buildFromMenuItem:anItem |
2611 buildFromMenuItem:anItem |
2612 "read the attributes of anItem into my values" |
2612 "read the attributes of anItem into my values" |
2613 |
2613 |
2614 |rtv| |
2614 |rtv| |
2615 |
2615 |
2616 self label:(anItem label). |
2616 self label:(anItem rawLabel). |
2617 activeHelpKey := anItem activeHelpKey. |
2617 activeHelpKey := anItem activeHelpKey. |
2618 |
2618 |
2619 (enabled := anItem enabled) isSymbol ifFalse:[ |
2619 (enabled := anItem enabled) isSymbol ifFalse:[ |
2620 enabled := nil |
2620 enabled := nil |
2621 ]. |
2621 ]. |
2650 (iconAndLabel := rtv labelText notNil) ifTrue:[ |
2650 (iconAndLabel := rtv labelText notNil) ifTrue:[ |
2651 label := rtv labelText. |
2651 label := rtv labelText. |
2652 ] |
2652 ] |
2653 ] |
2653 ] |
2654 |
2654 |
2655 "Modified: / 14.8.1998 / 15:37:20 / cg" |
2655 "Modified: / 29.9.1998 / 11:18:25 / cg" |
2656 ! ! |
2656 ! ! |
2657 |
2657 |
2658 !MenuEditor::Item methodsFor:'conversion'! |
2658 !MenuEditor::Item methodsFor:'conversion'! |
2659 |
2659 |
2660 asMenuItem |
2660 asMenuItem |