Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Binding to the selection property of CDateTime(Is there a way to get WindowBuilder do it?)
Binding to the selection property of CDateTime [message #1239845] Wed, 05 February 2014 02:24 Go to next message
Baruch Youssin is currently offline Baruch Youssin
Messages: 25
Registered: April 2013
Junior Member
WindowBuilder does not list the selection property of CDateTime (the custom DateTime widget of Nebula) among the properties to be bound.

I have been able to bind to this property by writing in the code
IObservableValue MyWidgetObservableValue = new CDateTimeObservableValue(MyCDateTimeWidget);

Here the class CDateTimeObservableValue is contained in the library
org.eclipse.nebula.jface.cdatetime_0.14.0.201401291008.jar
which needs to be added to the build path.

WindowBuilder parsed this code without complaint but did not list this binding in its list of Bound Properties in the Bindings tab.

Is there any way to get WindowBuilder create such binding?

Many thanks for any tip.
Re: Binding to the selection property of CDateTime [message #1240180 is a reply to message #1239845] Wed, 05 February 2014 17:09 Go to previous message
Eric Clayberg is currently offline Eric Clayberg
Messages: 857
Registered: July 2009
Location: Boston, MA
Senior Member
Unlike JavaBean properties that can be determined via reflection, knowledge of various Data Binding capabilities needs to be built into the tool itself. WB knows about the standard Data Binding interfaces for the standard SWT widgets. It does not know anything about any special Data Binding interfaces provided by Nebula. Either the WB Nebula or Data Binding plugin (or both?) would need to be updated with this knowledge.
Previous Topic:Using Nebula CDateTime in WindowBuilder
Next Topic:Installing Nebula widgets in palette manager
Goto Forum:
  


Current Time: Sat Aug 30 16:32:58 EDT 2014

Powered by FUDForum. Page generated in 0.07003 seconds