@Override
  protected boolean shouldBeVisible(AnAction action) {
    boolean isSetValueModeAction = action instanceof XDebuggerTreePopup.SetValue ||
                                   action instanceof XDebuggerTreePopup.CancelSetValue;
    return isSetValueModeAction && mySetValueModeEnabled || !isSetValueModeAction && !mySetValueModeEnabled;
  }
@Override
  protected boolean shouldBeVisible(AnAction action)