|XWT + DataBinding +DataContext +Replace [message #566757]
||Mon, 28 December 2009 14:21
| Walter Mising name
Registered: July 2009
In my java code, I have the following
oC = (Control) XWT.load(parent, url, loadModel("SG.xml"));
System.out.println ( XWT.getDataContext(oC)) ;
I would like to refresh the TableViewer with the contents of SGNew.xml in
Since I didn't see setDataContext such as
I tried setting the input of TableViewer with the result of
loadModel("SGNew.xml"), obviously it threw the following error
"org.eclipse.core.runtime.AssertionFailedException: assertion failed: This
content provider only works with input of type IObservableList"
What is the best way to proceed ?
Walter G. Prabhakar.
Powered by FUDForum
. Page generated in 0.02224 seconds