Skip to content

Commit 475515e

Browse files
committed
Add menu item.
1 parent 349d044 commit 475515e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

edu.cuny.hunter.streamrefactoring.ui/plugin.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,17 @@
2525
</activeWhen>
2626
</handler>
2727
</extension>
28+
<extension point="org.eclipse.ui.menus">
29+
<menuContribution locationURI="menu:org.eclipse.jdt.ui.refactoring.menu?after=additions">
30+
<!-- [rk] Doesn't seem to be working -->
31+
<command commandId="edu.cuny.hunter.optimize.stream.command" mnemonic="%command.mnemonic" id="edu.cuny.hunter.optimize.stream.menus.command">
32+
<visibleWhen checkEnabled="true"></visibleWhen>
33+
</command>
34+
</menuContribution>
35+
<menuContribution locationURI="popup:org.eclipse.jdt.ui.refactoring.menu?after=additions">
36+
<command commandId="edu.cuny.hunter.optimize.stream.command" style="push">
37+
<visibleWhen checkEnabled="true"></visibleWhen>
38+
</command>
39+
</menuContribution>
40+
</extension>
2841
</plugin>

0 commit comments

Comments
 (0)