@Override
  public @NotNull FileEditorState getState(final @NotNull FileEditorStateLevel ignored) {
    final Document document = FileDocumentManager.getInstance().getCachedDocument(file);
    long modificationStamp = document != null ? document.getModificationStamp() : file.getModificationStamp();
    final ArrayList<RadComponent> selection = FormEditingUtil.getSelectedComponents(editor);
    final String[] ids = new String[selection.size()];
    for (int i = ids.length - 1; i >= 0; i--) {
      ids[i] = selection.get(i).getId();
    }
    return new MyEditorState(modificationStamp, ids);
  }
@Override
  public @NotNull FileEditorState getState(final @NotNull FileEditorStateLevel ignored)