Changeset 5707 in josm for trunk/src/org
- Timestamp:
- 2013-02-12T16:59:01+01:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java
r5706 r5707 130 130 // set the default Dimensions and show the dialog 131 131 setPreferredSize(new Dimension(400,tablePanel.getPreferredSize().height+100)); 132 showDialog();133 132 } 134 133 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java
r5445 r5707 25 25 */ 26 26 static final int protocolMajorVersion = 1; 27 static final int protocolMinorVersion = 4;27 static final int protocolMinorVersion = 5; 28 28 29 29 /** -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddNodeHandler.java
r5680 r5707 69 69 Main.map.mapView.repaint(); 70 70 } 71 // parse parameter addtags=tag1=value1|tag2=vlaue2 72 LoadAndZoomHandler.addTags(args); 71 73 } 72 74 … … 79 81 throw new RequestHandlerBadRequestException("NumberFormatException ("+e.getMessage()+")"); 80 82 } 83 if (!Main.main.hasEditLayer()) { 84 throw new RequestHandlerBadRequestException(tr("There is no layer opened to add node")); 85 } 81 86 } 82 87 } -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
r5680 r5707 54 54 Main.map.mapView.repaint(); 55 55 } 56 // parse parameter addtags=tag1=value1|tag2=vlaue2 57 LoadAndZoomHandler.addTags(args); 56 58 } 57 59 … … 88 90 throw new RequestHandlerBadRequestException(tr("One node ways")); 89 91 } 92 if (!Main.main.hasEditLayer()) { 93 throw new RequestHandlerBadRequestException(tr("There is no layer opened to add way")); 94 } 90 95 } 91 96 } -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r5706 r5707 225 225 } 226 226 227 new AddTagsDialog(keyValue) ;227 new AddTagsDialog(keyValue).showDialog(); 228 228 } 229 229 }
Note:
See TracChangeset
for help on using the changeset viewer.