@RequiresEdt
  private void update(T action) {
    if (myListPopup instanceof ListPopupImpl listPopup) {
      myProcessor.setup(myListPopup, listPopup.getOriginalSelectedIndex());
      myProcessor.updatePopup(action);
    }
  }
@RequiresEdt
  private void update(T action)