Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Thumbnails viewed vertically in ViewPart
Thumbnails viewed vertically in ViewPart [message #187684] Thu, 14 July 2005 15:52 Go to next message
Eclipse UserFriend
Originally posted by: cheato.gmail.com

I've looked around for examples and such but have yet to find anything
related to what I want to do: create a view (extending ViewPart) that has
thumbnails listed vertically, so that they are selectable--much like in
Acrobot or PowerPoint. What would be the best way to do this? I checked
out the overview code from the logic designer, but it only has one
thumbnail being set to the contents of the canvas. How the thumbnails are
created is not of priority right now. I just want to know how to
accomplish this with ease. Thanks!
Re: Thumbnails viewed vertically in ViewPart [message #187699 is a reply to message #187684] Thu, 14 July 2005 17:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You want to display a list of Images? You could use an SWT Table and call
TableItem.setImage(thumbnailImage)

"Mark Cheatham" <cheato@gmail.com> wrote in message
news:8a0d129568772973bdc4b198326117b4$1@www.eclipse.org...
> I've looked around for examples and such but have yet to find anything
> related to what I want to do: create a view (extending ViewPart) that has
> thumbnails listed vertically, so that they are selectable--much like in
> Acrobot or PowerPoint. What would be the best way to do this? I checked
> out the overview code from the logic designer, but it only has one
> thumbnail being set to the contents of the canvas. How the thumbnails are
> created is not of priority right now. I just want to know how to
> accomplish this with ease. Thanks!
>
Re: Thumbnails viewed vertically in ViewPart [message #187736 is a reply to message #187699] Thu, 14 July 2005 19:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cheato.gmail.com

Thanks Randy, that seems to have it. The problem I'm having now is setting
the thumbnail. TableItem.setImage only takes an Image, not a draw2d
Thumbnail. Any way of easily getting an image from the thumbnail?
Re: Thumbnails viewed vertically in ViewPart [message #187743 is a reply to message #187736] Fri, 15 July 2005 02:40 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I was ignoring that part since you said "how the thumbnails are created is
not a priority right now". Painting to an image has been discussed before.
You can look at the thumbnail implementation for an idea.

"Mark Cheatham" <cheato@gmail.com> wrote in message
news:92f0d2bf6dfb91e338aa414b145f6bd0$1@www.eclipse.org...
> Thanks Randy, that seems to have it. The problem I'm having now is setting
> the thumbnail. TableItem.setImage only takes an Image, not a draw2d
> Thumbnail. Any way of easily getting an image from the thumbnail?
>
Previous Topic:hiding connections...
Next Topic:updating state-dependent figure
Goto Forum:
  


Current Time: Thu Dec 12 20:18:52 GMT 2024

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

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

Back to the top