Examples of eUnset()


Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

      {
        ((EList<?>)container.eGet(feature)).remove(eObject);
      }
      else
      {
        container.eUnset(feature);
      }
    }

    Resource resource = internalEObject.eDirectResource();
    if (resource != null)
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

            List<PictogramElement> pictogramElements = GraphitiUi.getLinkService().getPictogramElements(
                diagramEditor.getDiagramTypeProvider().getDiagram(), baseElement);
            if (eGet instanceof EList) {
              ((EList) eGet).remove(baseElement);
            } else {
              container.eUnset(baseElement.eContainingFeature());
            }

            for (PictogramElement pictogramElement : pictogramElements) {
              // TODO: check if we need to update the diagram manually or will the autoupdate do
              // it
View Full Code Here

Examples of org.eclipse.emf.ecore.EObject.eUnset()

    for (int i = 0, size = eClass.getFeatureCount(); i < size; ++i)
    {
      EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(i);
      if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived() && !((Property)eStructuralFeature).isReadOnly())
      {
        eDataObject.eUnset(eStructuralFeature);
      }
    }
  }
 
  public static DataObject createDataObject(DataObject dataObject, Property property, Type type)
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.