void (ListSelectionEvent e) { ActionGroup group = myGroupList.getSelectedValue(); if (group == null) { myActionList.setListData(AnAction.EMPTY_ARRAY); } else { AnAction[] actions = group.getChildren(null); // filter out actions that don't have IDs - they can't be used for anchoring in plugin.xml List<AnAction> realActions = new ArrayList<>(); for(AnAction action: actions) { if (actionManager.getId(action) != null) { realActions.add(action); } } myActionList.setListData(realActions.toArray(AnAction.EMPTY_ARRAY)); } }