Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Rebroadcast selection after TableViewer row changed (TableViewer selection)
Rebroadcast selection after TableViewer row changed [message #742612] Thu, 20 October 2011 16:52
Richard Koop is currently offline Richard KoopFriend
Messages: 15
Registered: July 2009
Junior Member
I have a TableViewer widget in my RCP app. A background thread changes the content of a row (eg. a search changes from Running to Completed). I have various toolbar option enabled based on a property tester on this value. Is there a way to rebroadcast the current selection so that available toolbar options are correct? Only way I found to do this was to submit a null selection and the set the selection again.

ISelection selection = tableViewer.getSelection();

This works perfect but seems like a hack.
Previous Topic:selection in CheckboxTableViewer doesnt work in win7/64
Next Topic:[Databinding/EMF] Double entries in TreeViewer ->MapChangeEvent result set incorrect.
Goto Forum:

Current Time: Mon Jun 18 19:42:16 GMT 2018

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

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

Back to the top