Changeset 3530 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2010-09-15T08:21:16+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
r3217 r3530 44 44 * The "surviving" node will be the one with the lowest positive id. 45 45 * (I.e. it was uploaded to the server and is the oldest one.) 46 * 46 * 47 47 * However we use the location of the node that was selected *last*. 48 48 * The "surviving" node will be moved to that location if it is … … 94 94 return targetNode; 95 95 } 96 96 97 97 /** 98 98 * Find which node to merge into (i.e. which one will be left) … … 119 119 return targetNode; 120 120 } 121 121 122 122 123 123 /** … … 193 193 return mergeNodes(layer, nodes, targetNode, targetNode); 194 194 } 195 195 196 196 /** 197 197 * Merges the nodes in <code>nodes</code> onto one of the nodes. Uses the dataset -
trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
r3501 r3530 137 137 } 138 138 msg.append("</ul>"); 139 139 140 140 HelpAwareOptionPane.showMessageDialogInEDT( 141 141 Main.parent, … … 179 179 public void run() { 180 180 JOptionPane.showMessageDialog(Main.parent, tr( 181 "<html>Cannot open directory ''{0}''.<br>Please select a file.</html>", 181 "<html>Cannot open directory ''{0}''.<br>Please select a file.</html>", 182 182 f.getAbsolutePath()), tr("Open file"), JOptionPane.ERROR_MESSAGE); 183 183 } 184 184 }); 185 // TODO when changing to Java 6: Don't cancel the 185 // TODO when changing to Java 6: Don't cancel the 186 186 // task here but use different modality. (Currently 2 dialogs 187 187 // would block each other.) -
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r3083 r3530 188 188 * Replies true if <code>node</code> is a required node which can't be removed 189 189 * in order to simplify the way. 190 * 190 * 191 191 * @param way the way to be simplified 192 192 * @param node the node to check … … 210 210 /** 211 211 * Simplifies a way 212 * 212 * 213 213 * @param w the way to simplify 214 214 */ … … 255 255 * Builds the simplified list of nodes for a way segment given by a lower index <code>from</code> 256 256 * and an upper index <code>to</code> 257 * 257 * 258 258 * @param wnew the way to simplify 259 259 * @param from the lower index -
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r2990 r3530 120 120 * Makes sure primitives in <code>apiData</code> don't participate in conflicts and 121 121 * runs the installed {@see UploadHook}s. 122 * 122 * 123 123 * @param layer the source layer of the data to be uploaded 124 124 * @param apiData the data to be uploaded … … 143 143 /** 144 144 * Uploads data to the OSM API. 145 * 145 * 146 146 * @param layer the source layer for the data to upload 147 147 * @param apiData the primitives to be added, updated, or deleted -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r3262 r3530 164 164 double xoff = en3.east() - base.east(); 165 165 double yoff = en3.north() - base.north(); 166 166 167 167 newN1en = new EastNorth(en1.getX() + xoff, en1.getY() + yoff); 168 168 newN2en = new EastNorth(en2.getX() + xoff, en2.getY() + yoff);
Note:
See TracChangeset
for help on using the changeset viewer.