Changeset 13123 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-11-14T21:20:31+01:00 (6 years ago)
Author:
Don-vip
Message:

javadoc

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/MapRectifierWMSmenuAction.java

    r12716 r13123  
    5353
    5454        /**
     55         * Constructs a new {@code RectifierService}.
    5556         * @param name Name of the rectifing service
    5657         * @param url URL to the service where users can register, upload, etc.
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r13107 r13123  
    438438     */
    439439    private static class WayData {
    440         public final List<Node> wayNodes;       // The assigned way
    441         public final int nSeg;                  // Number of Segments of the Way
    442         public final int nNode;                 // Number of Nodes of the Way
    443         public final Direction[] segDirections; // Direction of the segments
     440        /** The assigned way */
     441        public final List<Node> wayNodes;
     442        /** Number of Segments of the Way */
     443        public final int nSeg;
     444        /** Number of Nodes of the Way */
     445        public final int nNode;
     446        /** Direction of the segments */
     447        public final Direction[] segDirections;
    444448        // segment i goes from node i to node (i+1)
    445         public EastNorth segSum;          // (Vector-)sum of all horizontal segments plus the sum of all vertical
     449        /** (Vector-)sum of all horizontal segments plus the sum of all vertical */
     450        public EastNorth segSum;
    446451        // segments turned by 90 degrees
    447         public double heading;            // heading of segSum == approximate heading of the way
     452        /** heading of segSum == approximate heading of the way */
     453        public double heading;
    448454
    449455        WayData(List<Node> wayNodes) {
  • trunk/src/org/openstreetmap/josm/actions/ReverseWayAction.java

    r12846 r13123  
    142142
    143143    /**
     144     * Reverses a given way.
    144145     * @param w the way
    145146     * @return the reverse command and the tag correction commands
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r12901 r13123  
    6464
    6565        /**
     66         * Constructs a new {@code SplitWayResult}.
    6667         * @param command The command to be performed to split the way (which is saved for later retrieval with {@link #getCommand})
    6768         * @param newSelection The new list of selected primitives ids (which is saved for later retrieval with {@link #getNewSelection})
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r13028 r13123  
    139139    }
    140140
    141     /**
    142      * Refreshes the enabled state
    143      *
    144      */
    145141    @Override
    146142    protected void updateEnabledState() {
     
    149145    }
    150146
     147    /**
     148     * Check whether the preconditions are met to upload data from a given layer, if applicable.
     149     * @param layer layer to check
     150     * @return {@code true} if the preconditions are met, or not applicable
     151     * @see #checkPreUploadConditions(AbstractModifiableLayer, APIDataSet)
     152     */
    151153    public static boolean checkPreUploadConditions(AbstractModifiableLayer layer) {
    152154        return checkPreUploadConditions(layer,
Note: See TracChangeset for help on using the changeset viewer.