[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dtp] Re: About navigatorContent in connectivity

Hi Brian:

I do use the IPipelinedTreeContentProvider. But, there is a UI thread to add children in the loading node mechanism.

The loading node mechanism is returning an EmptyArray immediately and adding a loading node to be place holder.Then the children would be fetched by a thread -- "LoadingJob". After that, the place holder would be removed and the children would be added by another thread -- "ClearPlaceHolderJob".

I want to group the children. Yes, i group children successfully by the method getPipelinedChildren(Object aParent, Set theCurrentChildren) of IPipelinedTreeContentProvider. But i can't intercept the UI thread "ClearPlaceHolderJob" which add children to treeviewer separately. The behavior is that there are grouped children by getPipelinedChildren() and duplicated children added by the UI thread -- "ClearPlaceHolderJob".