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

Jue Wu wrote:
Hi all:

I'm in trouble with the overriding problem of extension "org.eclipse.ui.navigator.navigatorContent" which its id is "org.eclipse.datatools.connectivity.db.sqlModelContent" in plug-in "org.eclipse.datatools.connectivity.sqm.server.ui". And its triggerPoints contains SQLObject and IVirtualNode.

When i expand the SQLObject/Virtual Node of a specific databases, this navigatorContent in connectivity would be triggered always and the getChildren() method would return empty array first and then the children would be fetched and added by another job named LoadingJob. I want to intercept the children fetched by suppressed extension when i override this navigatorContent extension, but I can only get empty children because the children was added by another job.

Should a non-loading node mechanism be provided? Should the trigger policy be reconsidered? Or there is another solution.
Thanks.


I believe we've used the IPipelinedTreeContentProvider interface in the past to inject items into the tree at various times. You might look for uses of that interface (http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/jface/viewers/ITreeContentProvider.html)

Sorry I can't be more help.
--Fitz