Examples of eSetDeliver()


Examples of org.eclipse.emf.common.notify.Notifier.eSetDeliver()

            Iterator allIter = getProjectRegistry().eResource().getResourceSet().getAllContents();
            while (allIter.hasNext()) {
                Object tmp = allIter.next();
                Notifier obj = (Notifier) tmp;
                if (obj != null) {
                    obj.eSetDeliver(false);
                }
            }
        }

        /**
 
View Full Code Here

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

    if (disableNotify)
    {
      for (Iterator<?> i = EcoreUtil.getAllContents(xmlResource.getContents(), false); i.hasNext(); )
      {
        EObject eObject = (EObject)i.next();
        eObject.eSetDeliver(true);
      }
    }

    if (extendedMetaData != null)
    {
View Full Code Here

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

      newObject = helper.createObject(factory, typeName);

      if (newObject != null)
      {
        if (disableNotify)
          newObject.eSetDeliver(false);

        handleObjectAttribs(newObject);
      }
    }
View Full Code Here

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

    EObject newObject = helper.createObject(eFactory, type);
    if (newObject != null && !documentRoot)
    {
      if (disableNotify)
      {
        newObject.eSetDeliver(false);
      }
      handleObjectAttribs(newObject);
    }
    return newObject;
  }
View Full Code Here

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

        //
        EFeatureInternal eInternal = eInternal(eStructure, eObject);
        //
        // Disable notifications
        //
        eObject.eSetDeliver(false);
        //
        // Ensure that any changes are written to given transaction
        //
        eInternal.enter(transaction);
        //
View Full Code Here

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

            //
            eInternal.leave();
            //
            // Restore notification delivery state
            //
            eObject.eSetDeliver(eDeliver);
            //
            // Notify if changed
            //
            eNotify(eObject, eData);
        }
View Full Code Here

Examples of org.locationtech.udig.project.internal.Layer.eSetDeliver()

            layer=(Layer)ilayer;
        }
        int events=0;
        try{
            if( layer!=null ){
                layer.eSetDeliver(false);
                events=layer.getFeatureChanges().size();
            }
        fs.removeFeatures(filter);
       
        IEditManager editManager = getMap().getEditManager();
View Full Code Here

Examples of org.locationtech.udig.project.internal.Map.eSetDeliver()

           
      List<IProjectElement> elements = project.getElements();
          for (IProjectElement element : elements) {
        if( element instanceof Map){
          Map map=(Map) element;
          map.eSetDeliver(false);
          map.sendCommandSync(new NullCommand());
          map.eSetDeliver(true);
        }
      }
           
View Full Code Here

Examples of org.locationtech.udig.project.internal.Map.eSetDeliver()

          for (IProjectElement element : elements) {
        if( element instanceof Map){
          Map map=(Map) element;
          map.eSetDeliver(false);
          map.sendCommandSync(new NullCommand());
          map.eSetDeliver(true);
        }
      }
           
            project.getElementsInternal().clear();
          // Map commands could have put another command on the project stack so
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.ViewportModel.eSetDeliver()

            double d = env.getHeight() / 2;
            double e = env.getWidth() / 2;
           
            ViewportModel viewportModel = getMap().getViewportModelInternal();
      viewportModel.eSetDeliver(false);
            try {
        viewportModel.setBounds(
            env.getMinX() - e, env.getMaxX() + e,
            env.getMinY() - d, env.getMaxY() + d);
        return true;
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.