DropTargetEvent aDropTargetEvent, Object aTarget) {
if (aTarget != null && aTarget instanceof EndpointNode) {
EndpointNode node = (EndpointNode)aTarget;
Object data = aDropTargetEvent.data;
if (isSupported(data)) {
DropHandler dh = node.createDropHandler(aDropTargetEvent);
dh.drop(aDropTargetEvent);
return Status.OK_STATUS;
}
}
return Status.CANCEL_STATUS;
}