Examples of EAttribute


Examples of org.eclipse.emf.ecore.EAttribute

    for (EObject value : values)
    {
      ArrayList<Object> key = new ArrayList<Object>();
      for (int i = 0, size = eAttributes.length; i < size; ++i)
      {
        EAttribute eAttribute = eAttributes[i];
        if (eAttribute == null)
        {
          break;
        }
        else
View Full Code Here

Examples of org.eclipse.emf.ecore.EAttribute

      {
        EAttribute [] eAttributes = (EAttribute[])((BasicEList<?>)eKeys).data();
        result.append('[');
        for (int i = 0, size = eAttributes.length; i < size; ++i)
        {
          EAttribute eAttribute = eAttributes[i];
          if (eAttribute == null)
          {
            break;
          }
          else
          {
            if (i != 0)
            {
              result.append(',');
            }
            result.append(eAttribute.getName());
            result.append('=');
            EDataType eDataType = eAttribute.getEAttributeType();
            EFactory eFactory = eDataType.getEPackage().getEFactoryInstance();
            if (eAttribute.isMany())
            {
              List<?> values = (List<?>)eObject.eGet(eAttribute);
              result.append('[');
              if (!values.isEmpty())
              {
View Full Code Here

Examples of sun.font.EAttribute

        if (map instanceof AttributeMap &&
            ((AttributeMap) map).getValues() != null) {
            merge(((AttributeMap)map).getValues(), mask);
        } else if (map != null && !map.isEmpty()) {
            for (Map.Entry<? extends Attribute, ?> e: map.entrySet()) {
                EAttribute ea = EAttribute.forAttribute(e.getKey());
                if (ea!= null && (mask & ea.mask) != 0) {
                    set(ea, e.getValue());
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.