List<ErrorInfo> () { List<RadComponent> selection = myDesigner.getSurfaceArea().getSelection(); if (selection.size() == 1) { return RadComponent.getError(selection.get(0)); } return Collections.emptyList(); }