Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Adding Image(Adding image to Handlers)
Adding Image [message #727132] Tue, 20 September 2011 13:27 Go to next message
Kamesh Sampath is currently offline Kamesh Sampath
Messages: 213
Registered: July 2009
Senior Member
Is it possible to add Image to the Handlers created via the Handler Factory ? I see from the documentation and methods exposed via the Handler it allows to set the Label but setImage method is supressed or not visible to subclasses.

Is there any other way to set it ? Actions does have image option but i want to achieve the traditional way of doing just like windows menu where we have icons/menus attached to the sub-menus.

~Kamesh
Re: Adding Image [message #727184 is a reply to message #727132] Tue, 20 September 2011 15:21 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 942
Registered: July 2009
Senior Member
There is no setImage method, but there is addImage as you can associate different size of images with the same action handler and the appropriate size will be used depending on the presentation/platform.

- Konstantin
Previous Topic:Adjusting Widths of Property Editors
Next Topic:Additional Actions
Goto Forum:
  


Current Time: Sat Oct 25 09:45:51 GMT 2014

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

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