* @return true if should insert element
*/
public boolean checkInsertElement(LocalDropRequest request,
EditPart[] host, Map results, DesignPosition[] dpHolder,
IDOMPosition[] position) {
DesignPosition designPosition = EditPartPositionHelper
.findEditPartPosition(host[0], request.getLocation(),
new DnDPositionValidator(new ActionData(
ActionData.DATABINDING_DND, request)));
dpHolder[0] = designPosition;
if (designPosition == null) {
return false;
}
host[0] = designPosition.getContainerPart();
position[0] = DOMPositionHelper.toDOMPosition(designPosition);
ILocalDropHandler[] handlers = RegistryReader.getAllHandlers();
Object localData = request.getLocalObject();
for (int i = 0; i < handlers.length; i++) {
FeedBackInfo feedback = handlers[i].supportInsertElements(