Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Tracking manual changes made by user in SWT Table
Tracking manual changes made by user in SWT Table [message #1844684] Tue, 21 September 2021 12:41 Go to next message
Pavel Bondarev is currently offline Pavel BondarevFriend
Messages: 2
Registered: September 2021
Junior Member
I have the existing legacy code creates TableViewer.
The TableViewer creates a SWT Table instance.

TableViewer. uses also empty/stub array content provider.

I need to change table grid background when any editable cell is changed by user.

Which event is fired in SWT when table content changes?

Should I implement own content provider to implement this feature?

How can I implement it?
Re: Tracking manual changes made by user in SWT Table [message #1844719 is a reply to message #1844684] Thu, 23 September 2021 04:46 Go to previous messageGo to next message
Martin J is currently offline Martin JFriend
Messages: 50
Registered: August 2015
Member
I think you need to handle from cell editor . You need to extend TableEditor and implement desired effect from it.
Re: Tracking manual changes made by user in SWT Table [message #1844724 is a reply to message #1844719] Thu, 23 September 2021 05:59 Go to previous message
Pavel Bondarev is currently offline Pavel BondarevFriend
Messages: 2
Registered: September 2021
Junior Member
Martin J wrote on Thu, 23 September 2021 04:46
I think you need to handle from cell editor . You need to extend TableEditor and implement desired effect from it.


I solved the problem successfully by adding new functionality to the existing specializied "column" edititing support class (setValue method)

[Updated on: Thu, 23 September 2021 06:07]

Report message to a moderator

Previous Topic:Outlook open Mail with standard signature
Next Topic:U2F hardware support in SWT Browser
Goto Forum:
  


Current Time: Thu Nov 14 02:36:45 GMT 2024

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

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

Back to the top