131415161718192021
@Override public void update(AnActionEvent e) { if (getChildrenCount() == 0) { add(new CreateReviewAction(false, null)); add(new CreateReviewAction(true, null)); } }