boolean (final List<RadComponent> selection) { if (selection.size() > 1) { // possible "enabled" state may be different for(RadComponent c: selection) { if (c.isCustomCreateRequired()) { return false; } } } return true; }