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