Package org.openstreetmap.josm.actions

Examples of org.openstreetmap.josm.actions.SaveAction.doSave()


          Boolean savefailed = false;
          for (final Layer l : map.mapView.getAllLayers()) {
            if (l instanceof OsmDataLayer
                && ((OsmDataLayer) l).isModified()) {
              SaveAction save = new SaveAction(l);
              if (!save.doSave())
                savefailed = true;
            }
          }
          return savefailed;
        } else if (result != 2) // Cancel exiting unless the 2nd button
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.