Changeset 12641 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-08-25T03:01:22+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java
r12636 r12641 258 258 String key = (String) tm.getValueAt(i, 1); 259 259 Object value = tm.getValueAt(i, 2); 260 Main .main.undoRedo.add(new ChangePropertyCommand(sel,260 MainApplication.undoRedo.add(new ChangePropertyCommand(sel, 261 261 key, value instanceof String ? (String) value : "")); 262 262 } … … 312 312 if (MainApplication.getLayerManager().getEditDataSet() != null) { 313 313 for (String[] row : keyValue) { 314 Main .main.undoRedo.add(new ChangePropertyCommand(primitives, row[0], row[1]));314 MainApplication.undoRedo.add(new ChangePropertyCommand(primitives, row[0], row[1])); 315 315 } 316 316 } -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddNodeHandler.java
r12636 r12641 99 99 node = new Node(ll); 100 100 // Now execute the commands to add this node. 101 Main .main.undoRedo.add(new AddCommand(node));101 MainApplication.undoRedo.add(new AddCommand(node)); 102 102 } 103 103 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
r12636 r12641 167 167 allCoordinates.clear(); 168 168 commands.add(new AddCommand(way)); 169 Main .main.undoRedo.add(new SequenceCommand(tr("Add way"), commands));169 MainApplication.undoRedo.add(new SequenceCommand(tr("Add way"), commands)); 170 170 MainApplication.getLayerManager().getEditDataSet().setSelected(way); 171 171 if (PermissionPrefWithDefault.CHANGE_VIEWPORT.isAllowed()) {
Note:
See TracChangeset
for help on using the changeset viewer.