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: 21
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: Tue Oct 13 12:22:41 GMT 2015

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

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