void () { if (myEditor.getRootContainer().getComponentCount() == 1) { final RadComponent component = myEditor.getRootContainer().getComponent(0); if (component.getBinding() == null) { if (component == myInsertedComponent || (component instanceof RadContainer && ((RadContainer)component).getComponentCount() == 1 && component == myInsertedComponent.getParent())) { doCreateBindingWhenDrop(myEditor, component); } } } }