boolean (@NotNull DataContext dataContext) { if (myDesigner.getInplaceEditingLayer().isEditing()) { return false; } List<RadComponent> selection = getArea(dataContext).getSelection(); if (selection.isEmpty()) { return false; } return true; }