if (_manyToMany) {
String joinEntityName = _joinEntityNameText.getText();
boolean flatten = _flattenButton.getSelection();
NewManyToManyRelationshipOperation operation = new NewManyToManyRelationshipOperation(_sourceEntity, _destinationEntity, createRelationship, name, createInverseRelationship, inverseName, joinEntityName, flatten);
operation.addContext(EOModelUtils.getUndoContext(_sourceEntity));
IOperationHistory operationHistory = PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();
operationHistory.execute(operation, null, null);
// _sourceEntity.joinInManyToManyWith(_destinationEntity,
// createRelationship, name, createInverseRelationship,
// inverseName, joinEntityName, flatten);