Changeset 12658 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-08-26T00:50:25+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java
r11608 r12658 12 12 import org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionType.Direction; 13 13 14 /** 15 * Utility classes for the {@link RelationSorter}. 16 */ 14 17 final class RelationSortUtils { 15 18 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSorter.java
r12537 r12658 19 19 import org.openstreetmap.josm.tools.Utils; 20 20 21 /** 22 * This class sorts the relation members by connectivity. 23 * <p> 24 * Multiple {@link AdditionalSorter}s are implemented to handle special relation types. 25 */ 21 26 public class RelationSorter { 22 27 … … 170 175 } 171 176 177 /** 178 * Sorts a list of members by connectivity 179 * @param defaultMembers The members to sort 180 * @return A sorted list of the same members 181 */ 172 182 public static List<RelationMember> sortMembersByConnectivity(List<RelationMember> defaultMembers) { 173 183 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionType.java
r10248 r12658 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 /** 8 * A class used by the {@link RelationSorter} to store if two ways are already connected 9 */ 7 10 public class WayConnectionType { 8 11 … … 10 13 private final boolean invalid; 11 14 12 /** True, if linked to the previous / nextmember. */15 /** True, if linked to the previous member. */ 13 16 public boolean linkPrev; 17 /** True, if linked to the next member. */ 14 18 public boolean linkNext; 15 19 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java
r11886 r12658 16 16 import org.openstreetmap.josm.tools.bugreport.BugReport; 17 17 18 /** 19 * This class calculates the {@link WayConnectionType} for a given list of members 20 */ 18 21 public class WayConnectionTypeCalculator { 19 22
Note:
See TracChangeset
for help on using the changeset viewer.