Search in sources :

Example 1 with DeferredTreeContentManager

use of org.eclipse.ui.progress.DeferredTreeContentManager in project xtext-eclipse by eclipse.

the class HierarchyTreeContentProvider method inputChanged.

@Override
public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) {
    if ((viewer instanceof AbstractTreeViewer)) {
        IWorkbenchPartSite _site = this.viewPart.getSite();
        DeferredTreeContentManager _deferredTreeContentManager = new DeferredTreeContentManager(((AbstractTreeViewer) viewer), _site);
        this.deferredTreeContentManager = _deferredTreeContentManager;
    }
}
Also used : IWorkbenchPartSite(org.eclipse.ui.IWorkbenchPartSite) DeferredTreeContentManager(org.eclipse.ui.progress.DeferredTreeContentManager) AbstractTreeViewer(org.eclipse.jface.viewers.AbstractTreeViewer)

Aggregations

AbstractTreeViewer (org.eclipse.jface.viewers.AbstractTreeViewer)1 IWorkbenchPartSite (org.eclipse.ui.IWorkbenchPartSite)1 DeferredTreeContentManager (org.eclipse.ui.progress.DeferredTreeContentManager)1