Changeset 8540 in josm for trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
- Timestamp:
- 2015-06-27T21:43:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r8510 r8540 58 58 59 59 /** 60 * @param command The command to be performed to split the way (which is saved for later retrieval by the {@link #getCommand} method)61 * @param newSelection The new list of selected primitives ids (which is saved for later retrieval by the {@link #getNewSelection} method)62 * @param originalWay The original way being split (which is saved for later retrieval by the {@link #getOriginalWay} method)63 * @param newWays The resulting new ways (which is saved for later retrieval by the {@link #getOriginalWay} method)60 * @param command The command to be performed to split the way (which is saved for later retrieval with {@link #getCommand}) 61 * @param newSelection The new list of selected primitives ids (which is saved for later retrieval with {@link #getNewSelection}) 62 * @param originalWay The original way being split (which is saved for later retrieval with {@link #getOriginalWay}) 63 * @param newWays The resulting new ways (which is saved for later retrieval with {@link #getOriginalWay}) 64 64 */ 65 65 public SplitWayResult(Command command, List<? extends PrimitiveId> newSelection, Way originalWay, List<Way> newWays) { … … 342 342 * @return the result from the split operation 343 343 */ 344 public static SplitWayResult splitWay(OsmDataLayer layer, Way way, List<List<Node>> wayChunks, Collection<? extends OsmPrimitive> selection) { 344 public static SplitWayResult splitWay(OsmDataLayer layer, Way way, List<List<Node>> wayChunks, 345 Collection<? extends OsmPrimitive> selection) { 345 346 // build a list of commands, and also a new selection list 346 347 Collection<Command> commandList = new ArrayList<>(wayChunks.size());
Note:
See TracChangeset
for help on using the changeset viewer.