@Override
  public FileEditorLocation getCurrentLocation() {
    return new FileEditorLocation() {
      @Override
      public @NotNull FileEditor getEditor() {
        return PerspectiveFileEditor.this;
      }

      @Override
      public int compareTo(@NotNull FileEditorLocation fileEditorLocation) {
        return 0;
      }
    };
  }
@Override
  public FileEditorLocation getCurrentLocation()