@Override
    public boolean canDeleteElement(final @NotNull DataContext dataContext) {
      return
        !DesignerToolWindowManager.getInstance(GuiEditor.this).getPropertyInspector().isEditing() &&
        !myInplaceEditingLayer.isEditing() &&
        FormEditingUtil.canDeleteSelection(GuiEditor.this);
    }
@Override
    public boolean canDeleteElement(final @NotNull DataContext dataContext)