@Override
  public void update(@NotNull AnActionEvent e){
    Presentation presentation = e.getPresentation();
    Project project = e.getProject();
    if (project == null) {
      presentation.setEnabled(false);
      return;
    }
    ToolWindowManager windowManager = ToolWindowManager.getInstance(project);
    String id = windowManager.getActiveToolWindowId();
    boolean value=ToolWindowId.COMMANDER.equals(id);
    presentation.setEnabled(value);
  }
@Override
  public void update(@NotNull AnActionEvent e)