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