eclipse - Menu contribution with icon and text -
it possible create menu item in eclipse icon , text? menu items on main menu displayed icon only. need, however, display short text next icon.
e.g. in attached screenshot "r2" short text next "run" icon (i don't want enhance "run" menu, example).
for command contributed through org.eclipse.ui.menus
can add mode attribute. see extension point description (you can pde editor>extensions tab).
<extension point="org.eclipse.ui.menus"> <menucontribution locationuri="toolbar:org.eclipse.ui.workbench.file"> <command commandid="org.eclipse.ui.edit.copy" mode="force_text"/> </menucontribution> </extension>
Comments
Post a Comment