Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Adding images to a Text widget (decorator)
Adding images to a Text widget (decorator) [message #453815] Mon, 11 April 2005 07:39 Go to next message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
How can I decorate a Text widget with an image?

I would like to add my own decorators to a Text widget - like the little
light bulb when using content assistance (eg. to visualize the result of
user input verification).

Unfortuantely, I was unable to find any articles or other reference
material and the Eclipse UI Guidelines only discuss input verification
for wizards, but in my case the Text widgets are located in an ordinary
View.

Any hints and/or pointers to resources are very welcome!

Michael Pellaton
Re: Adding images to a Text widget (decorator) [message #453855 is a reply to message #453815] Tue, 12 April 2005 13:23 Go to previous message
Andy Arhelger is currently offline Andy ArhelgerFriend
Messages: 62
Registered: July 2009
Member
Try http://www.eclipse.org/articles/index.html

Look for the article

http://www.eclipse.org/articles/Article-Writing%20Your%20Own %20Widget/Writing%20Your%20Own%20Widget.htm

Creating your own widget using SWT.

Andy Arhelger


Michael Pellaton wrote:
> How can I decorate a Text widget with an image?
>
> I would like to add my own decorators to a Text widget - like the little
> light bulb when using content assistance (eg. to visualize the result of
> user input verification).
>
> Unfortuantely, I was unable to find any articles or other reference
> material and the Eclipse UI Guidelines only discuss input verification
> for wizards, but in my case the Text widgets are located in an ordinary
> View.
>
> Any hints and/or pointers to resources are very welcome!
>
> Michael Pellaton
>
Previous Topic:Programmatically activating a single item in editable table
Next Topic:SWT_AWT eclipse view problem
Goto Forum:
  


Current Time: Fri Apr 26 05:34:21 GMT 2024

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

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

Back to the top