Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Icons in menue
Icons in menue [message #10565] Wed, 21 March 2007 12:18 Go to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
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 17:19 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
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 17:39 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Hi R
Re: Icons in menue [message #10792 is a reply to message #10790] Wed, 21 March 2007 18:28 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
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 19:32 Go to previous message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
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: Sat Dec 21 16:50:15 GMT 2024

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

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

Back to the top