@NotNull
  @Override
  protected List<ErrorInfo> getErrorInfos() {
    List<RadComponent> selection = myArea.getSelection();
    if (selection.size() == 1) {
      return RadComponent.getError(selection.get(0));
    }
    return Collections.emptyList();
  }
@NotNull
  @Override
  protected List<ErrorInfo> getErrorInfos()