Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 SampathFriend
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 15:21 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
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: Sun Dec 04 10:09:06 GMT 2022

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

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

Back to the top