@Override
      public void update(@NotNull final AnActionEvent e) {
        final Presentation presentation = e.getPresentation();
        final int idx = myWorkingCopiesList.getSelectedIndex();
        presentation.setEnabled(idx != -1);
      }
@Override
      public void update(@NotNull final AnActionEvent e)