void (DefaultActionGroup group) { super.fillToolbarActions(group); if (myToImplement) return; ToggleAction sortByOverridingAction = new MySortByOverridingAction(); if (mySortedByOverriding) { changeSortComparator(PsiMethodWithOverridingPercentMember.COMPARATOR); } group.add(sortByOverridingAction, Constraints.FIRST); myMergeAction = new MyMergeAction(); group.add(myMergeAction); }