@Override
protected Command getReconnectTargetCommand(ReconnectRequest request) {
DiagramNodeModel newTarget = (DiagramNodeModel) getHost().getModel();
DiagramConnectionEditPart editPart = (DiagramConnectionEditPart)request.getConnectionEditPart();
ReconnectConnectionCommand cmd = new ReconnectConnectionCommand(editPart.getCastedModel());
cmd.setNewTarget(newTarget);
return cmd;
}