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 07:24 Go to next message
Baruch Youssin is currently offline Baruch YoussinFriend
Messages: 29
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 22:09 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
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: Wed Nov 26 00:56:08 GMT 2014

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

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