@Override
protected Command getConnectionCreateCommand(CreateConnectionRequest request) {
DiagramNodeModel source = (DiagramNodeModel) getHost().getModel();
Object def = request.getNewObjectType();
CreateConnectionCommand cmd = new CreateConnectionCommand(source, (IDiagramConnectionDef)def);
request.setStartCommand(cmd);
return cmd;
}