Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Model to Treeviewer databinding problem
Model to Treeviewer databinding problem [message #865768] Mon, 30 April 2012 11:06
Ted Mosby is currently offline Ted Mosby
Messages: 9
Registered: April 2012
Junior Member
Hey

I'm new to Eclipse RCP and i have problem to bind my datamodel to a treeviewer. i want the treeviewer to update itself when a property of my datamodel changes its value.

i used "ViewerSupport.bind" to bind the datamodel an the viewer, but i only get a "org.eclipse.core.runtime.AssertionFailedException: assertion failed:" exception.

What's wrong?

Here is the binding code snippet:
ViewerSupport.bind(_tree, _input, BeanProperties.value("name"));
Previous Topic:Operation on Collapsed Tree Item
Next Topic:TreeViewer - set a default selection
Goto Forum:
  


Current Time: Sat Aug 30 12:26:21 EDT 2014

Powered by FUDForum. Page generated in 0.09503 seconds