@Override
    public void update(@NotNull final AnActionEvent e) {
      e.getPresentation().setEnabled(!getSelectedScope(e.getData(PlatformCoreDataKeys.SELECTED_ITEMS)).isEmpty());
    }
@Override
    public void update(@NotNull final AnActionEvent e)