}
private void initProgressMonitor() {
IWorkbenchPage page = Activator.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
IViewReference[] ref = page.getViewReferences();
IViewReference view = null;
for(int i=0;i<ref.length;i++) {
if(ref[i].getId().equals("eu.admire.workbench.cv.plugin.views.CVView"));
view = ref[i];
}
if(view != null) {
IActionBars bars = view.getView(true).getViewSite().getActionBars();
IStatusLineManager statusLine = bars.getStatusLineManager();
pm = statusLine.getProgressMonitor();
}