- Timestamp:
- 2018-03-25T19:22:01+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r13434 r13568 1470 1470 newRel.addMember(new RelationMember("inner", w)); 1471 1471 } 1472 cmds.add(layer != null ? new AddCommand(layer. data, newRel) :1472 cmds.add(layer != null ? new AddCommand(layer.getDataSet(), newRel) : 1473 1473 new AddCommand(inner.iterator().next().getDataSet(), newRel)); 1474 1474 addedRelations.add(newRel); -
trunk/src/org/openstreetmap/josm/actions/MergeSelectionAction.java
r13434 r13568 57 57 return; 58 58 } 59 MergeSourceBuildingVisitor builder = new MergeSourceBuildingVisitor(editLayer. data);59 MergeSourceBuildingVisitor builder = new MergeSourceBuildingVisitor(editLayer.getDataSet()); 60 60 ((OsmDataLayer) targetLayer).mergeFrom(builder.build()); 61 61 } -
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r13133 r13568 158 158 public static boolean checkPreUploadConditions(AbstractModifiableLayer layer) { 159 159 return checkPreUploadConditions(layer, 160 layer instanceof OsmDataLayer ? new APIDataSet(((OsmDataLayer) layer). data) : null);160 layer instanceof OsmDataLayer ? new APIDataSet(((OsmDataLayer) layer).getDataSet()) : null); 161 161 } 162 162 … … 243 243 244 244 final UploadDialog dialog = UploadDialog.getUploadDialog(); 245 dialog.setChangesetTags(layer. data);245 dialog.setChangesetTags(layer.getDataSet()); 246 246 dialog.setUploadedPrimitives(apiData); 247 247 dialog.setVisible(true); -
trunk/src/org/openstreetmap/josm/actions/UploadSelectionAction.java
r13497 r13568 99 99 } 100 100 Collection<OsmPrimitive> modifiedCandidates = getModifiedPrimitives(editLayer.data.getAllSelected()); 101 Collection<OsmPrimitive> deletedCandidates = getDeletedPrimitives(editLayer. data);101 Collection<OsmPrimitive> deletedCandidates = getDeletedPrimitives(editLayer.getDataSet()); 102 102 if (modifiedCandidates.isEmpty() && deletedCandidates.isEmpty()) { 103 103 JOptionPane.showMessageDialog(
Note:
See TracChangeset
for help on using the changeset viewer.