layoutItem.remove(movable);
layoutItem.remove(formItem);
}
if (dropContainer instanceof FBForm) {
FBForm formDisplay = (FBForm) dropContainer;
formDisplay.replacePhantom(formItem);
} else {
LayoutFormItem layoutItem = (LayoutFormItem) ((Widget) dropContainer).getParent();
layoutItem.replacePhantom(formItem);
}
bus.fireEvent(new FormItemAddedEvent(formItem, (Widget) dropContainer));