Skip to content

Commit 852b9ae

Browse files
committed
Adds AddPredeclaredClassModuleCommand to Code Explorer context menu
1 parent 35afc8d commit 852b9ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Rubberduck.Core/UI/CodeExplorer/CodeExplorerControl.xaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@
193193
<Image Height="16" Source="{StaticResource AddUserFormImage}" />
194194
</MenuItem.Icon>
195195
</MenuItem>
196+
<Separator />
197+
<MenuItem Header="{Resx ResxName=Rubberduck.Resources.CodeExplorer.CodeExplorerUI, Key=CodeExplorer_AddPredeclaredClassModuleText}"
198+
Command="{Binding AddPredeclaredClassModuleCommand}"
199+
CommandParameter="{Binding SelectedItem}">
200+
<MenuItem.Icon>
201+
<Image Height="16" Source="{StaticResource AddClassModuleImage}" />
202+
</MenuItem.Icon>
203+
</MenuItem>
196204
</MenuItem>
197205
<MenuItem Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=Find}">
198206
<MenuItem.Icon>

0 commit comments

Comments
 (0)