boolean (RadContainer selectionParent, List<? extends RadComponent> selection) { if (!selectionParent.getLayoutManager().isGrid()) { return false; } Rectangle rc = FormEditingUtil.getSelectionBounds(selection); for(RadComponent c: selectionParent.getComponents()) { if (!selection.contains(c) && constraintsIntersect(true, c.getConstraints(), rc) && constraintsIntersect(false, c.getConstraints(), rc)) { return false; } } return true; }