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 09: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.

Re: Adding Image [message #727184 is a reply to message #727132] Tue, 20 September 2011 11:21 Go to previous message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 935
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: Fri Jul 25 05:12:29 EDT 2014

Powered by FUDForum. Page generated in 0.01341 seconds