Package org.objectstyle.wolips.eomodeler.core.utils

Examples of org.objectstyle.wolips.eomodeler.core.utils.NamingConvention


  }

  public void syncToModel() {
    NamingConvention.Case attributeCase = (NamingConvention.Case) ((IStructuredSelection) _attributeCase.getSelection()).getFirstElement();
    NamingConvention.Separator attributeSeparator = (NamingConvention.Separator) ((IStructuredSelection) _attributeSeparator.getSelection()).getFirstElement();
    _model.setAttributeNamingConvention(new NamingConvention(attributeCase, attributeSeparator, _attributePrefix.getText(), _attributeSuffix.getText()));

    NamingConvention.Case entityCase = (NamingConvention.Case) ((IStructuredSelection) _entityCase.getSelection()).getFirstElement();
    NamingConvention.Separator entitySeparator = (NamingConvention.Separator) ((IStructuredSelection) _entitySeparator.getSelection()).getFirstElement();
    _model.setEntityNamingConvention(new NamingConvention(entityCase, entitySeparator, _entityPrefix.getText(), _entitySuffix.getText()));
   
    _model.setReverseEngineered(_reverseEngineered.getSelection());
  }
View Full Code Here


  public void _setModelGroup(EOModelGroup _modelGroup) {
    myModelGroup = _modelGroup;
  }

  public void setEntityNamingConvention(NamingConvention entityNamingConvention) {
    NamingConvention oldEntityNamingConvention = _entityNamingConvention;
    _entityNamingConvention = entityNamingConvention;
    firePropertyChange(EOModel.ENTITY_NAMING_CONVENTION, oldEntityNamingConvention, _entityNamingConvention);
  }
View Full Code Here

  public NamingConvention getEntityNamingConvention() {
    return _entityNamingConvention;
  }

  public void setAttributeNamingConvention(NamingConvention attributeNamingConvention) {
    NamingConvention oldAttributeNamingConvention = _attributeNamingConvention;
    _attributeNamingConvention = attributeNamingConvention;
    firePropertyChange(EOModel.ATTRIBUTE_NAMING_CONVENTION, oldAttributeNamingConvention, _attributeNamingConvention);
  }
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.core.utils.NamingConvention

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.