There are 1 code examples for org.eclipse.ui.progress.IWorkbenchSiteProgressService.
The API names are highlighted below.
You can use
button
to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.
Project Name: rssowl.ui Package: org.rssowl.ui.internal.views.explorer
Source Code: BookMarkExplorer.java (Click to view .java file)
Method Code:
@Override public void createPartControl(Composite parent){
GridLayout layout=new GridLayout(1,false);
layout.marginWidth=0;
layout.marginHeight=0;
layout.verticalSpacing=0;
parent.setLayout(layout);
parent.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
createViewer(parent);
restoreExpandedElements();
if (fLastSelectedFolderChild > 0 && !fLinkingEnabled) fViewer.setSelection(new StructuredSelection(new BookMarkReference(fLastSelectedFolderChild)),true);
fViewer.addSelectionChangedListener(new StatusLineUpdater(getViewSite().getActionBars().getStatusLineManager()));
hookGlobalActions();
hookContextualMenu();
hookToolBar();
hookViewMenu();
registerListeners();
fViewSite.setSelectionProvider(fViewer);
createSearchBar(parent);
IWorkbenchSiteProgressService service=(IWorkbenchSiteProgressService)fViewSite.getAdapter(IWorkbenchSiteProgressService.class);
service.showBusyForFamily(Controller.getDefault().getReloadFamily());
}