DefaultActionGroup () { DefaultActionGroup result = new DefaultActionGroup(IdeBundle.message("group.view.options"), null, AllIcons.Actions.GroupBy); result.setPopup(true); result.addSeparator(StructureViewBundle.message("structureview.subgroup.sort")); result.addAll(sortActionsByName(getSortActions())); result.addSeparator(StructureViewBundle.message("structureview.subgroup.filter")); result.addAll(sortActionsByName(getFilterActions())); result.addSeparator(StructureViewBundle.message("structureview.subgroup.group")); addGroupByActions(result); return result; }