@Nullable
  static ServiceView getSelectedView(@NotNull AnActionEvent e) {
    return getSelectedView(e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT));
  }
@Nullable
  static ServiceView getSelectedView(@NotNull AnActionEvent e)