Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » JFace Databinding(Snippet032 TableViewerColumnEditing)
JFace Databinding [message #1251884] Thu, 20 February 2014 18:03
Guenther Mahr is currently offline Guenther MahrFriend
Messages: 25
Registered: September 2011
Junior Member

I was wondering why Snippet032 in org.eclipse.jface.examples.databinding.snippets didn't work as I expected: It shows a table with name and firstName which allows editing but when I actually changed a name in it, then as soon as I left the table cell, my changes were replaced with the original text and where not propagated to the model.

After a few hours... I finally found the reason in the following line:

IValueProperty cellEditorControlText =

Replace WidgetProperties.text() with WidgetProperties.text(SWT.Modify) and everything works as expected!

Kind Regards,
Previous Topic:Custom filename validation after copy paste into same directory
Next Topic:How to add the functionnality of creating an XMl within an RCP ?
Goto Forum:

Current Time: Wed Apr 25 03:18:55 GMT 2018

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

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