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