Ignore:
Timestamp:
2012-06-09T20:03:41+02:00 (12 years ago)
Author:
bastiK
Message:

doc improvements

File:
1 edited

Legend:

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

    r5266 r5275  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others
    2 // Author: David Earl
    32package org.openstreetmap.josm.actions;
    43
     
    2928import org.openstreetmap.josm.tools.Shortcut;
    3029
     30/**
     31 * Action, to paste all tags from one primitive to another.
     32 *
     33 * It will take the primitive from the copy-paste buffer an apply all its tags
     34 * to the selected primitive(s).
     35 *
     36 * @author David Earl
     37 */
    3138public final class PasteTagsAction extends JosmAction implements PasteBufferChangedListener {
    3239
     
    5461         * Replies true if the source for tag pasting is heterogeneous, i.e. if it doesn't consist of
    5562         * {@link OsmPrimitive}s of exactly one type
    56          *
    57          * @return
    5863         */
    5964        protected boolean isHeteogeneousSource() {
     
    130135
    131136        /**
    132          * Pastes the tags from a homogeneous source (i.e. the {@link Main#pasteBuffer}s selection consisting
    133          * of one type of {@link OsmPrimitive}s only.
     137         * Pastes the tags from a homogeneous source (the {@link Main#pasteBuffer}s selection consisting
     138         * of one type of {@link OsmPrimitive}s only).
    134139         *
    135140         * Tags from a homogeneous source can be pasted to a heterogeneous target. All target primitives,
    136141         * regardless of their type, receive the same tags.
    137          *
    138          * @param targets the collection of target primitives
    139142         */
    140143        protected void pasteFromHomogeneousSource() {
     
    166169
    167170        /**
    168          * Replies true if there is at least one primitive of type <code>type</code> in the collection
    169          * <code>selection</code>
    170          *
    171          * @param <T>
    172          * @param selection  the collection of primitives
     171         * Replies true if there is at least one primitive of type <code>type</code>
     172         * is in the target collection
     173         *
     174         * @param <T>
    173175         * @param type  the type to look for
    174176         * @return true if there is at least one primitive of type <code>type</code> in the collection
     
    199201         * Pastes the tags in the current selection of the paste buffer to a set of target
    200202         * primitives.
    201          *
    202          * @param targets the collection of target primitives
    203203         */
    204204        protected void pasteFromHeterogeneousSource() {
Note: See TracChangeset for help on using the changeset viewer.