Changeset 12658 in josm


Ignore:
Timestamp:
2017-08-26T00:50:25+02:00 (7 years ago)
Author:
michael2402
Message:

See #14794: Add javadoc for gui/dialogs/relation/sort package.

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  
    1212import org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionType.Direction;
    1313
     14/**
     15 * Utility classes for the {@link RelationSorter}.
     16 */
    1417final class RelationSortUtils {
    1518
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSorter.java

    r12537 r12658  
    1919import org.openstreetmap.josm.tools.Utils;
    2020
     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 */
    2126public class RelationSorter {
    2227
     
    170175    }
    171176
     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     */
    172182    public static List<RelationMember> sortMembersByConnectivity(List<RelationMember> defaultMembers) {
    173183
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionType.java

    r10248 r12658  
    55import static org.openstreetmap.josm.tools.I18n.tr;
    66
     7/**
     8 * A class used by the {@link RelationSorter} to store if two ways are already connected
     9 */
    710public class WayConnectionType {
    811
     
    1013    private final boolean invalid;
    1114
    12     /** True, if linked to the previous / next member.  */
     15    /** True, if linked to the previous member.  */
    1316    public boolean linkPrev;
     17    /** True, if linked to the next member.  */
    1418    public boolean linkNext;
    1519
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculator.java

    r11886 r12658  
    1616import org.openstreetmap.josm.tools.bugreport.BugReport;
    1717
     18/**
     19 * This class calculates the {@link WayConnectionType} for a given list of members
     20 */
    1821public class WayConnectionTypeCalculator {
    1922
Note: See TracChangeset for help on using the changeset viewer.