Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
- Timestamp:
- 2009-11-24T10:45:04+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
r2414 r2512 40 40 /** 41 41 * Merges a collection of nodes into one node. 42 * 42 * 43 43 */ 44 44 public class MergeNodesAction extends JosmAction { … … 77 77 * The last selected node will become the target node the remaining 78 78 * nodes are merged to. 79 * 79 * 80 80 * @param candidates the collection of candidate nodes 81 81 * @return the selected target node … … 92 92 * Merges the nodes in <code>node</code> onto one of the nodes. Uses the dataset 93 93 * managed by <code>layer</code> as reference. 94 * 94 * 95 95 * @param layer the reference data layer. Must not be null. 96 96 * @param nodes the collection of nodes. Ignored if null. … … 98 98 * @throws IllegalArgumentException thrown if layer is null 99 99 * @throws IllegalArgumentException thrown if targetNode is null 100 * 100 * 101 101 */ 102 102 public static Command mergeNodes(OsmDataLayer layer, Collection<Node> nodes, Node targetNode) throws IllegalArgumentException{ … … 115 115 /** 116 116 * Fixes the parent ways referring to one of the nodes. 117 * 117 * 118 118 * Replies null, if the ways could not be fixed, i.e. because a way would have to be deleted 119 119 * which is referred to by a relation. 120 * 120 * 121 121 * @param backreferences the backreference data set 122 122 * @param nodesToDelete the collection of nodes to be deleted
Note:
See TracChangeset
for help on using the changeset viewer.
