Package org.objectstyle.wolips.eomodeler.actions

Examples of org.objectstyle.wolips.eomodeler.actions.NewOneToManyRelationshipOperation


        if (_createInverseFK) {
          inverseFKName = _inverseFKNameText.getText();
          inverseFKColumnName = _inverseFKColumnNameText.getText();
        }

        NewOneToManyRelationshipOperation operation = new NewOneToManyRelationshipOperation(_relationship, _sourceEntity, name, createRelationship, toMany, _createFK, fkName, fkColumnName, _destinationEntity, inverseName, createInverseRelationship, inverseToMany, _createInverseFK, inverseFKName, inverseFKColumnName);
        operation.addContext(EOModelUtils.getUndoContext(_sourceEntity));
        IOperationHistory operationHistory = PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();
        operationHistory.execute(operation, null, null);
      }
      super.okPressed();
    } catch (Throwable t) {
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.actions.NewOneToManyRelationshipOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.