Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TreeItem with 2 or more Images
TreeItem with 2 or more Images [message #129235] Tue, 21 April 2009 14:14 Go to next message
Eclipse UserFriend
Originally posted by: m.schnelle.msit-solutions.com

Hello,

i'm using the treeviewer to display some structured data.
this works fine. ;-)

Now, i have to draw one or more images on the right side of the treeitem.
example: Image + Text + Image + Image

I found on eclipse.org/swt/snippets an example, but the
SWT version of RAP seems to be a little bit flatten.

So, is there an alternative method to draw the images?

thanks and greetings, Markus
Re: TreeItem with 2 or more Images [message #129440 is a reply to message #129235] Wed, 22 April 2009 14:32 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Markus,

> i'm using the treeviewer to display some structured data.
> this works fine. ;-)
>
> Now, i have to draw one or more images on the right side of the treeitem.
> example: Image + Text + Image + Image
>
> I found on eclipse.org/swt/snippets an example, but the
> SWT version of RAP seems to be a little bit flatten.

Which snippet do you try to run? Which API are you missing?
Does this snippet use the GC to draw on the TreeItem? This is not
possible with RAP.

> So, is there an alternative method to draw the images?

Would it be an option to set images on following columns?

Best reagrds, Ralf
Previous Topic:Problem with RWTLifeCycle / disposed context and Jaas Example implemetation
Next Topic:upload widget
Goto Forum:
  


Current Time: Fri Apr 19 19:51:06 GMT 2024

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

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

Back to the top