Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Icons in menue
Icons in menue [message #10565] Wed, 21 March 2007 08:18 Go to next message
Eclipse UserFriend
Hello,

how can I enable icons in the menues?

Best regards,

Markus
Re: Icons in menue [message #10696 is a reply to message #10565] Wed, 21 March 2007 13:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Markus,

have a look at the class ShellTab in the demo plug-in. I just committed
code that sets an image on the 'new' menu item. Search for 'newItem' to
find the place.

Cheers,
Rüdiger

Markus Krüger wrote:
> Hello,
>
> how can I enable icons in the menues?
>
> Best regards,
>
> Markus
>
>
Re: Icons in menue [message #10790 is a reply to message #10696] Wed, 21 March 2007 13:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi R
Re: Icons in menue [message #10792 is a reply to message #10790] Wed, 21 March 2007 14:28 Go to previous messageGo to next message
Eclipse UserFriend
ah, I got it. Images for Actions are currently only displayed for
ToolItems. In general the code around action-images is *very* basic.
I changed it (see CVS HEAD) to set the image for every widget that
inherits from Item, so the menus now show images as well.

Cheers,
Rüdiger


Markus Krüger wrote:
> Hi Rüdiger,
>
> maybe I need to add some information. In the method fillMenu of Your
> DemoActionBarAdvisor you add an ExtiAction with an image to the file menu.
> But within the file menu there is
> just the text of the ExitAction, not its image.
>
> Best regards,
>
> Markus
>
> "Ruediger Herrmmann" <ruediger.herrmann@gmx.de> schrieb im Newsbeitrag
> news:etrpf4$g7k$1@utils.eclipse.org...
>> Hi Markus,
>>
>> have a look at the class ShellTab in the demo plug-in. I just committed
>> code that sets an image on the 'new' menu item. Search for 'newItem' to
>> find the place.
>>
>> Cheers,
>> Rüdiger
>>
>> Markus Krüger wrote:
>>> Hello,
>>>
>>> how can I enable icons in the menues?
>>>
>>> Best regards,
>>>
>>> Markus
>
>
Re: Icons in menue [message #11241 is a reply to message #10792] Wed, 21 March 2007 15:32 Go to previous message
Eclipse UserFriend
Thank you very much.

"Ruediger Herrmmann" <ruediger.herrmann@gmx.de> schrieb im Newsbeitrag
news:etrth7$cdd$1@utils.eclipse.org...
> ah, I got it. Images for Actions are currently only displayed for
> ToolItems. In general the code around action-images is *very* basic.
> I changed it (see CVS HEAD) to set the image for every widget that
> inherits from Item, so the menus now show images as well.
>
> Cheers,
> R
Previous Topic:OracleDriver
Next Topic:Coolbar cuts off text
Goto Forum:
  


Current Time: Mon May 12 12:47:15 EDT 2025

Powered by FUDForum. Page generated in 0.03515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top