@Override
  public void contentRemoved(final @NotNull ContentManagerEvent event) {
    final Content content = event.getContent();
    if (content == myContent && !Content.TEMPORARY_REMOVED_KEY.get(content, false)) {
      Disposer.dispose(this);
    }
  }
@Override
  public void contentRemoved(final @NotNull ContentManagerEvent event)