@@ -31,30 +31,30 @@ CmMenuPresenterBuilder >> menuPresenter: anObject [
31
31
]
32
32
33
33
{ #category : #visiting }
34
- CmMenuPresenterBuilder >> visitLtCommand: aLtCommand [
35
- aLtCommand canBeRun " If can not be run, do not add to the menu."
34
+ CmMenuPresenterBuilder >> visitLtCommand: aCmCommand [
35
+ aCmCommand canBeRun " If can not be run, do not add to the menu."
36
36
ifFalse: [ ^ self ].
37
37
38
38
stack top addItem: [ :item |
39
39
item
40
- name: aLtCommand name;
41
- description: aLtCommand description;
42
- iconName: aLtCommand iconName;
43
- action: [ aLtCommand execute ];
40
+ name: aCmCommand name;
41
+ description: aCmCommand description;
42
+ iconName: aCmCommand iconName;
43
+ action: [ aCmCommand execute ];
44
44
in: [ :i |
45
- aLtCommand hasShortcut
46
- ifTrue: [ i shortcut: aLtCommand shortcutKey ] ] ]
45
+ aCmCommand hasShortcut
46
+ ifTrue: [ i shortcut: aCmCommand shortcutKey ] ] ]
47
47
]
48
48
49
49
{ #category : #visiting }
50
- CmMenuPresenterBuilder >> visitLtCommandsGroup: aLtCommandsGroup [
51
- aLtCommandsGroup isRoot
50
+ CmMenuPresenterBuilder >> visitLtCommandsGroup: aCmCommandsGroup [
51
+ aCmCommandsGroup isRoot
52
52
ifTrue: [
53
- super visitLtCommandsGroup: aLtCommandsGroup .
53
+ super visitLtCommandsGroup: aCmCommandsGroup .
54
54
^ self ].
55
55
56
- aLtCommandsGroup displayIn: stack top do: [ :specGroupOrSubMenu |
56
+ aCmCommandsGroup displayIn: stack top do: [ :specGroupOrSubMenu |
57
57
stack push: specGroupOrSubMenu.
58
- super visitLtCommandsGroup: aLtCommandsGroup .
58
+ super visitLtCommandsGroup: aCmCommandsGroup .
59
59
stack pop ]
60
60
]
0 commit comments