| [news.eclipse.platform.swt] Re: DataBindings on Trees |
What type must my variable in the Pojo have?
Tom Schindl wrote:So your binding is:
IObservableValue uiObs = ViewerObservables.observeSelection(treeViewer); IObservableValue modelObs = BeanObservables.observeValue(....); ctx.bindvalue(uiObs,modelObs,null,null);
Is it possible that your POJO doesn't fully follow the beanspec e.g. you are not implementing PropertyChangeSupport appropiately.
The Pojo does not implement the PropertyChangeSupport, because the syncronisation is only on Request. Is that Support neccesary?
Although it is not working yet, i do not get an error. But in my Pojovariable there is always standing "null".
What type must my variable in the Pojo have?
The object type you are selecting.
Could you by chance provide a small snippet then I can fix it for you?
Tom
-- B e s t S o l u t i o n . at -------------------------------------------------------------------- Tom Schindl JFace-Committer --------------------------------------------------------------------