List<AnAction> () { List<AnAction> group = new ArrayList<>(); if (!isReadOnly()) { group.add(new ApplySelectedChangesAction()); group.add(new IgnoreSelectedChangesAction()); } group.add(Separator.getInstance()); group.addAll(TextDiffViewerUtil.createEditorPopupActions()); return group; }