boolean (final GuiEditor editor, final List<? extends RadComponent> selectedComponents) { final RadRootContainer rootContainer = editor.getRootContainer(); IButtonGroup group = FormEditingUtil.findGroupForComponent(rootContainer, selectedComponents.get(0)); if (group == null) { return false; } for(int i=1; i<selectedComponents.size(); i++) { if (FormEditingUtil.findGroupForComponent(rootContainer, selectedComponents.get(i)) != group) { return false; } } return true; }