Package org.locationtech.udig.project.internal.render

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


        viewportModel.setBounds(
            env.getMinX() - e, env.getMaxX() + e,
            env.getMinY() - d, env.getMaxY() + d);
        return true;
      }finally{
              viewportModel.eSetDeliver(true);
            }
        } else {
          return false;
        }
      
View Full Code Here

                                if (found == null) {
                                    return;
                                }

                                ViewportModel model = (ViewportModel) map.getViewportModel();
                                model.eSetDeliver(false);
                                try {
                                    model.setCRS(found);
                                    codes.addAll(CRSUtil.extractAuthorityCodes(found));
                                } finally {
                                    model.eSetDeliver(true);
View Full Code Here

                                model.eSetDeliver(false);
                                try {
                                    model.setCRS(found);
                                    codes.addAll(CRSUtil.extractAuthorityCodes(found));
                                } finally {
                                    model.eSetDeliver(true);
                                }
                            }

                        });
                    } catch (InvocationTargetException e) {
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.