@Override
  @NotNull
  public FileEditorState getState(@NotNull FileEditorStateLevel level) {
    ImageZoomModel zoomModel = imageEditor.getZoomModel();
    return new ImageFileEditorState(
      imageEditor.isTransparencyChessboardVisible(),
      imageEditor.isGridVisible(),
      zoomModel.getZoomFactor(),
      zoomModel.isZoomLevelChanged());
  }
@Override
  @NotNull
  public FileEditorState getState(@NotNull FileEditorStateLevel level)