Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT + DataBinding +DataContext +Replace
XWT + DataBinding +DataContext +Replace [message #566757] Mon, 28 December 2009 14:21
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
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
the runtime.

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 ?

Best Regards,
Walter G. Prabhakar.
Previous Topic:XWT + TableViewer + Retrieve Table Data
Next Topic:XWT + DataBinding +DataContext +Replace
Goto Forum:

Current Time: Thu Jun 04 22:00:58 GMT 2020

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

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

Back to the top