@Override
  public void applicationDeactivated(@NotNull IdeFrame ideFrame) {
    if (!ApplicationManager.getApplication().isDisposed()) {
      myCachedClipboardValue = ClipboardUtil.getTextInClipboard();
    }
  }
@Override
  public void applicationDeactivated(@NotNull IdeFrame ideFrame)