kb.registerAction(refreshAction);
getViewSite().getActionBars().setGlobalActionHandler(ActionFactory.REFRESH.getId(), refreshAction);
}
protected void configureToolbar() {
IToolBarManager tbm = getViewSite().getActionBars().getToolBarManager();
tbm.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
tbm.add(new Separator());
tbm.add(relaunchSessionAction);
tbm.add(new Separator());
tbm.add(removeActiveSessionAction);
tbm.add(removeAllSessionsAction);
tbm.add(mergeSessionsAction);
tbm.add(selectSessionAction);
tbm.add(new Separator());
tbm.add(new SelectEntryModeAction(ViewSettings.ENTRYMODE_PROJECTS, settings, this));
tbm.add(new SelectEntryModeAction(ViewSettings.ENTRYMODE_PACKAGEROOTS, settings, this));
tbm.add(new SelectEntryModeAction(ViewSettings.ENTRYMODE_PACKAGES, settings, this));
tbm.add(new SelectEntryModeAction(ViewSettings.ENTRYMODE_TYPES, settings, this));
IMenuManager mm = getViewSite().getActionBars().getMenuManager();
mm.add(new SelectCounterModeAction(0, settings, this));
mm.add(new SelectCounterModeAction(1, settings, this));
mm.add(new SelectCounterModeAction(2, settings, this));