[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Custom widgets and TableViewer

Greetings,

1. At some point of time T1, an event is generated by a custom widget:

	var req = org.eclipse.swt.Request.getInstance();
	req.addParameter( this._id + ".addedItems", s );
	req.send();

2. Then it comes to LCA:

String addedItems= WidgetLCAUtil.readPropertyValue(widget, "addedItems");
if (null != addedItems && addedItems.length()>0)
{
widget.onItemsReceived(addedItems);
}


3. I want to add the received items to TableViewer:

    protected void onItemsReceived(String items)
    {
        String[] input = items.split(',');
        tableViewer.setInput(input);
    }

4. I can't see the items I wanted to be displayed by tableViewer. However I checked with Firebug and discovered that the tableViewer contains empty DIV's, as many as there are items.

What can I do to make tableViewer resolving the items?

Cheers,
Dmitry