void (@NotNull final FileEditorState state) { FormEditingUtil.clearSelection(myEditor.getRootContainer()); final String[] ids = ((MyEditorState)state).getSelectedComponentIds(); for (final String id : ids) { final RadComponent component = (RadComponent)FormEditingUtil.findComponent(myEditor.getRootContainer(), id); if (component != null) { component.setSelected(true); } } }