ActionGroup () { DefaultActionGroup result = new DefaultActionGroup(); List<AnAction> sorters = getSortActions(); if (!sorters.isEmpty()) { result.addAll(sorters); result.addSeparator(); } addGroupByActions(result); result.addAll(getFilterActions()); if (showScrollToFromSourceActions()) { result.addSeparator(); result.addAll(addNavigationActions()); } return result; }