Changeset 5122 in josm for trunk/src/org
- Timestamp:
- 2012-03-26T01:38:24+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r5062 r5122 37 37 import org.openstreetmap.josm.data.projection.Projection; 38 38 import org.openstreetmap.josm.data.projection.ProjectionChangeListener; 39 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 39 40 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager; 40 41 import org.openstreetmap.josm.tools.FilteredCollection; … … 1166 1167 */ 1167 1168 public void mergeFrom(DataSet from) { 1169 mergeFrom(from, null); 1170 } 1171 1172 /** 1173 * Moves all primitives and datasources from DataSet "from" to this DataSet 1174 * @param from The source DataSet 1175 */ 1176 public void mergeFrom(DataSet from, ProgressMonitor progressMonitor) { 1168 1177 if (from != null) { 1169 new DataSetMerger(this, from).merge( );1178 new DataSetMerger(this, from).merge(progressMonitor); 1170 1179 dataSources.addAll(from.dataSources); 1171 1180 from.dataSources.clear();
Note:
See TracChangeset
for help on using the changeset viewer.