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).

menu icon , text

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

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -