Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to set native SWT images in CheckBoxPainter?
How to set native SWT images in CheckBoxPainter? [message #1768971] Tue, 25 July 2017 09:49 Go to next message
Bel Razom is currently offline Bel RazomFriend
Messages: 10
Registered: May 2017
Junior Member
Hello,

does anybody know, where to find native SWT images to set them in CheckBoxPainter and DisabledCheckboxPainter?
index.php/fa/30115/0/

Is there any plugin, that can be refered in a way like this:
checkedImg = AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, imagePath).getImage();
...
CheckBoxPainter(checkedImage, uncheckedImage);
DisabledCheckboxPainter(checkedImage, uncheckedImage);

Can you share your experience of setting SWT style?
Re: How to set native SWT images in CheckBoxPainter? [message #1768977 is a reply to message #1768971] Tue, 25 July 2017 10:48 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
The checkboxes displayed by SWT are rendered by the OS. IIRC there are no images for them available anywhere. A quite old post suggests to make a screenshot from the widget in different states and keep the images in RAM to use them in the table. This would be the only way to be OS independent.
Previous Topic:Simple filter without row
Next Topic:Not able to select Row Header when only one column is present
Goto Forum:
  


Current Time: Wed Sep 19 06:54:58 GMT 2018

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

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

Back to the top