void (final List<? extends RadComponent> selection, final Property property, final GuiEditor editor) { try { if (!editor.ensureEditable()) return; final PropertyInspector propertyInspector = DesignerToolWindowManager.getInstance(editor).getPropertyInspector(); if (propertyInspector.isEditing()) { propertyInspector.stopEditing(); } for(RadComponent component: selection) { //noinspection unchecked if (property.isModified(component)) { //noinspection unchecked property.resetValue(component); component.getDelegee().invalidate(); } } editor.refreshAndSave(false); propertyInspector.repaint(); } catch (Exception e1) { LOG.error(e1); } }