File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,19 @@ Extension { #name : 'IceTipRepositoriesBrowser' }
2
2
3
3
{ #category : ' *Iceberg-Plugin-Metacello' }
4
4
IceTipRepositoriesBrowser class >> metacelloCommandsWith: presenter forRootGroup: aCommandGroup [
5
-
6
5
< extensionCommands>
7
6
| newGroup |
8
- newGroup := CmCommandGroup forSpec
7
+
8
+ newGroup := SpDynamicActionGroup new
9
9
name: ' Metacello' ;
10
10
description: ' Metacello install operations' ;
11
+ with: [ :aGroup |
12
+ presenter selectedItem ifNotNil: [
13
+ IceTipMetacelloInstallCommandBuilder new
14
+ addCommandsFor: presenter selectedItem
15
+ intoGroup: aGroup
16
+ context: presenter ] ];
11
17
yourself .
12
18
13
- (aCommandGroup commandOrGroupNamed: ' Selection' ) register: newGroup.
14
-
15
- presenter selectedItem ifNotNil: [
16
- IceTipMetacelloInstallCommandBuilder new
17
- addCommandsFor: presenter selectedItem intoGroup: newGroup context: presenter ]
18
-
19
+ (aCommandGroup commandOrGroupNamed: ' Selection' ) register: newGroup
19
20
]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Extension { #name : 'IceTipWorkingCopyBrowser' }
4
4
IceTipWorkingCopyBrowser class >> metacelloCommandsWith: presenter forRootGroup: aCommandGroup [
5
5
< extensionCommands>
6
6
| newGroup |
7
-
7
+
8
8
newGroup := CmCommandGroup forSpec
9
9
name: ' Metacello' ;
10
10
description: ' Metacello install operations' ;
You can’t perform that action at this time.
0 commit comments