void (@NotNull AnActionEvent e, boolean state) { ImageComponentDecorator decorator = e.getData(ImageComponentDecorator.DATA_KEY); if (decorator != null && decorator.isEnabledForActionPlace(e.getPlace())) { decorator.setFileSizeVisible(state); OptionsManager.getInstance().getOptions().getEditorOptions().setFileSizeVisible(state); } }