Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Get imagefilename for a column of a tableviewer
Get imagefilename for a column of a tableviewer [message #490578] Fri, 09 October 2009 09:21
Michelle Davidson is currently offline Michelle DavidsonFriend
Messages: 41
Registered: August 2009

A have a Tableviewer.

In one column, I show 2 images, one if the value is true and another if the value is false.

In another methode I need the name of the image, which will shown for a object (row) in this column. Is there a chance to get the name of the image.

I generate the image with the following code

Image locked= Activator.getImageDescriptor("icons/locked.gif").createImage();
Image unlocked= Activator.getImageDescriptor("icons/unlocked.gif").createImage();

Now I want know, if for a chosen row, the image locked.gif or unlocked.gif is set.

Previous Topic:TitleAreaDialog: Widgets disposed after click on the OK-Button
Next Topic:[BUG?] Performance problem with TreeViewers under Windows XP
Goto Forum:

Current Time: Thu Nov 26 19:50:44 GMT 2015

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

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