JComponent () { final CommonActionsManager actionsManager = CommonActionsManager.getInstance(); DefaultActionGroup group = new DefaultActionGroup(); group.add(new RerunAction(this)); final TreeExpander treeExpander = new DefaultTreeExpander(myTree); group.add(actionsManager.createExpandAllAction(treeExpander, myTree)); group.add(actionsManager.createCollapseAllAction(treeExpander, myTree)); group.add(actionsManager.createPrevOccurenceAction(myTree.getOccurenceNavigator())); group.add(actionsManager.createNextOccurenceAction(myTree.getOccurenceNavigator())); group.add(ActionManager.getInstance().getAction("EditInspectionSettings")); return createToolbar(group); }