coolBarManager.setLockLayout(false);
int toolBarStyle = SWT.FLAT | SWT.WRAP;
/* Create "File" group */
ToolBarManager toolBarManager = new ToolBarManager(toolBarStyle);
ToolBarContributionItem toolItem = new ToolBarContributionItem(toolBarManager);
ActionContributionItem newFileItem = new ActionContributionItem(events.newFileAct);
ActionContributionItem openFileItem = new ActionContributionItem(events.openProblemAct);
ActionContributionItem saveFileItem = new ActionContributionItem(events.saveProblemAct);
toolBarManager.add(newFileItem);
toolBarManager.add(openFileItem);
toolBarManager.add(saveFileItem);
coolBarManager.add(toolItem);
/* Create "Solution" group */
toolBarManager = new ToolBarManager(toolBarStyle);
toolItem = new ToolBarContributionItem(toolBarManager);
ActionContributionItem solveItem = new ActionContributionItem(events.solveProblemAct);
toolBarManager.add(solveItem);
coolBarManager.add(toolItem);