command.setTargetTerminal(getLogicEditPart().mapConnectionAnchorToTerminal(ctor));
return command;
}
protected Command getConnectionCreateCommand(CreateConnectionRequest request) {
ConnectionCommand command = new ConnectionCommand();
command.setWire(new Wire());
command.setSource(getLogicSubpart());
ConnectionAnchor ctor = getLogicEditPart().getSourceConnectionAnchor(request);
command.setSourceTerminal(getLogicEditPart().mapConnectionAnchorToTerminal(ctor));
request.setStartCommand(command);
return command;
}