void (@NotNull AnActionEvent e) { if (ImageEditorActionUtil.setEnabled(e)) { ImageComponentDecorator decorator = ImageEditorActionUtil.getImageComponentDecorator(e); ImageZoomModel zoomModel = decorator.getZoomModel(); e.getPresentation().setEnabled(zoomModel.canZoomOut()); } }