// If there is no active workbench page, then there can be no Repository view
IWorkbenchPage page = activeWindow.getActivePage();
if (page == null) {
return;
}
RepositoryView view = (RepositoryView)page.findView(IGuvnorConstants.REPVIEW_ID);
if (view != null) {
view.refresh();
}
}