use of org.jkiss.dbeaver.erd.ui.command.AssociationCreateCommand in project dbeaver by serge-rider.
the class EntityConnectionEditPolicy method getConnectionCreateCommand.
@Override
protected Command getConnectionCreateCommand(CreateConnectionRequest request) {
AssociationCreateCommand cmd = makeCreateCommand();
NodePart part = (NodePart) getHost();
cmd.setSourceEntity(part.getElement());
request.setStartCommand(cmd);
return cmd;
}
Aggregations