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

fixed majority of javadoc warnings by replacing "{@see" by "{@link"

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

Legend:

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

    r4982 r5266  
    1818import org.openstreetmap.josm.tools.Shortcut;
    1919/**
    20  * This action toggles the visibility of the {@see ChangesetCacheManager} dialog.
     20 * This action toggles the visibility of the {@link ChangesetCacheManager} dialog.
    2121 *
    2222 */
  • trunk/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java

    r5131 r5266  
    9393
    9494    /**
    95      * Updates the {@see AllFormatsImporter} that is contained in the importers list. If
     95     * Updates the {@link AllFormatsImporter} that is contained in the importers list. If
    9696     * you do not use the importers variable directly, you don’t need to call this.
    9797     *
     
    109109
    110110    /**
    111      * Replies an ordered list of {@see ExtensionFileFilter}s for importing.
    112      * The list is ordered according to their description, an {@see AllFormatsImporter}
     111     * Replies an ordered list of {@link ExtensionFileFilter}s for importing.
     112     * The list is ordered according to their description, an {@link AllFormatsImporter}
    113113     * is append at the end.
    114114     *
    115      * @return an ordered list of {@see ExtensionFileFilter}s for importing.
     115     * @return an ordered list of {@link ExtensionFileFilter}s for importing.
    116116     */
    117117    public static List<ExtensionFileFilter> getImportExtensionFileFilters() {
     
    126126
    127127    /**
    128      * Replies an ordered list of {@see ExtensionFileFilter}s for exporting.
    129      * The list is ordered according to their description, an {@see AllFormatsImporter}
     128     * Replies an ordered list of {@link ExtensionFileFilter}s for exporting.
     129     * The list is ordered according to their description, an {@link AllFormatsImporter}
    130130     * is append at the end.
    131131     *
    132      * @return an ordered list of {@see ExtensionFileFilter}s for exporting.
     132     * @return an ordered list of {@link ExtensionFileFilter}s for exporting.
    133133     */
    134134    public static List<ExtensionFileFilter> getExportExtensionFileFilters() {
     
    145145
    146146    /**
    147      * Replies the default {@see ExtensionFileFilter} for a given extension
     147     * Replies the default {@link ExtensionFileFilter} for a given extension
    148148     *
    149149     * @param extension the extension
    150      * @return the default {@see ExtensionFileFilter} for a given extension
     150     * @return the default {@link ExtensionFileFilter} for a given extension
    151151     */
    152152    public static ExtensionFileFilter getDefaultImportExtensionFileFilter(String extension) {
     
    160160
    161161    /**
    162      * Replies the default {@see ExtensionFileFilter} for a given extension
     162     * Replies the default {@link ExtensionFileFilter} for a given extension
    163163     *
    164164     * @param extension the extension
    165      * @return the default {@see ExtensionFileFilter} for a given extension
     165     * @return the default {@link ExtensionFileFilter} for a given extension
    166166     */
    167167    public static ExtensionFileFilter getDefaultExportExtensionFileFilter(String extension) {
     
    175175
    176176    /**
    177      * Applies the choosable {@see FileFilter} to a {@see JFileChooser} before using the
     177     * Applies the choosable {@link FileFilter} to a {@link JFileChooser} before using the
    178178     * file chooser for selecting a file for reading.
    179179     *
     
    189189
    190190    /**
    191      * Applies the choosable {@see FileFilter} to a {@see JFileChooser} before using the
     191     * Applies the choosable {@link FileFilter} to a {@link JFileChooser} before using the
    192192     * file chooser for selecting a file for writing.
    193193     *
  • trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java

    r4982 r5266  
    6161     *
    6262     * <code>layer</code> must not be null. <code>layer</code> must be an instance of
    63      * {@see OsmDataLayer} or {@see GpxLayer}.
     63     * {@link OsmDataLayer} or {@link GpxLayer}.
    6464     *
    6565     * @param layer the layer
    6666     * @exception IllegalArgumentException thrown if layer is null
    67      * @exception IllegalArgumentException thrown if layer is neither an instance of {@see OsmDataLayer}
    68      *  nor of {@see GpxLayer}
     67     * @exception IllegalArgumentException thrown if layer is neither an instance of {@link OsmDataLayer}
     68     *  nor of {@link GpxLayer}
    6969     */
    7070    public void export(Layer layer) {
  • trunk/src/org/openstreetmap/josm/actions/JosmAction.java

    r5110 r5266  
    2424 * Base class helper for all Actions in JOSM. Just to make the life easier.
    2525 *
    26  * A JosmAction is a {@see LayerChangeListener} and a {@see SelectionChangedListener}. Upon
    27  * a layer change event or a selection change event it invokes {@see #updateEnabled()}.
    28  * Subclasses can override {@see #updateEnabled()} in order to update the {@see #isEnabled()}-state
    29  * of a JosmAction depending on the {@see #getCurrentDataSet()} and the current layers
    30  * (see also {@see #getEditLayer()}).
     26 * A JosmAction is a {@link LayerChangeListener} and a {@link SelectionChangedListener}. Upon
     27 * a layer change event or a selection change event it invokes {@link #updateEnabled()}.
     28 * Subclasses can override {@link #updateEnabled()} in order to update the {@link #isEnabled()}-state
     29 * of a JosmAction depending on the {@link #getCurrentDataSet()} and the current layers
     30 * (see also {@link #getEditLayer()}).
    3131 *
    3232 * destroy() from interface Destroyable is called e.g. for MapModes, when the last layer has
     
    179179    /**
    180180     * Override in subclasses to init the enabled state of an action when it is
    181      * created. Default behaviour is to call {@see #updateEnabledState()}
     181     * created. Default behaviour is to call {@link #updateEnabledState()}
    182182     *
    183183     * @see #updateEnabledState()
     
    192192     * something in the JOSM state changes, i.e. when a layer is removed or added.
    193193     *
    194      * See {@see #updateEnabledState(Collection)} to respond to changes in the collection
     194     * See {@link #updateEnabledState(Collection)} to respond to changes in the collection
    195195     * of selected primitives.
    196196     *
  • trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java

    r4982 r5266  
    5353        /**
    5454         * Replies true if the source for tag pasting is heterogeneous, i.e. if it doesn't consist of
    55          * {@see OsmPrimitive}s of exactly one type
     55         * {@link OsmPrimitive}s of exactly one type
    5656         *
    5757         * @return
     
    130130
    131131        /**
    132          * Pastes the tags from a homogeneous source (i.e. the {@see Main#pasteBuffer}s selection consisting
    133          * of one type of {@see OsmPrimitive}s only.
     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.
    134134         *
    135135         * Tags from a homogeneous source can be pasted to a heterogeneous target. All target primitives,
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r5041 r5266  
    468468    /**
    469469     * Splits the way {@code way} at the nodes in {@code atNodes} and replies
    470      * the result of this process in an instance of {@see SplitWayResult}.
     470     * the result of this process in an instance of {@link SplitWayResult}.
    471471     *
    472472     * Note that changes are not applied to the data yet. You have to
    473      * submit the command in {@see SplitWayResult#getCommand()} first,
     473     * submit the command in {@link SplitWayResult#getCommand()} first,
    474474     * i.e. {@code Main.main.undoredo.add(result.getCommand())}.
    475475     *
  • trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java

    r4982 r5266  
    4747
    4848    /**
    49      * Updates the data for for the {@see OsmPrimitive}s in <code>selection</code>
     49     * Updates the data for for the {@link OsmPrimitive}s in <code>selection</code>
    5050     * with the data currently kept on the server.
    5151     *
    52      * @param selection a collection of {@see OsmPrimitive}s to update
     52     * @param selection a collection of {@link OsmPrimitive}s to update
    5353     *
    5454     */
     
    5959
    6060    /**
    61      * Updates the data for  the {@see OsmPrimitive}s with id <code>id</code>
     61     * Updates the data for  the {@link OsmPrimitive}s with id <code>id</code>
    6262     * with the data currently kept on the server.
    6363     *
    64      * @param id  the id of a primitive in the {@see DataSet} of the current edit layer. Must not be null.
     64     * @param id  the id of a primitive in the {@link DataSet} of the current edit layer. Must not be null.
    6565     * @throws IllegalArgumentException thrown if id is null
    6666     * @exception IllegalStateException thrown if there is no primitive with <code>id</code> in
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r5233 r5266  
    136136     * Check whether the preconditions are met to upload data in <code>apiData</code>.
    137137     * Makes sure upload is allowed, primitives in <code>apiData</code> don't participate in conflicts and
    138      * runs the installed {@see UploadHook}s.
     138     * runs the installed {@link UploadHook}s.
    139139     *
    140140     * @param layer the source layer of the data to be uploaded
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadTask.java

    r4521 r5266  
    1313     *
    1414     * Set <code>progressMonitor</code> to null, if the task should create, open, and close a progress monitor.
    15      * Set progressMonitor to {@see NullProgressMonitor#INSTANCE} if progress information is to
     15     * Set progressMonitor to {@link NullProgressMonitor#INSTANCE} if progress information is to
    1616     * be discarded.
    1717     *
    1818     * You can wait for the asynchronous download task to finish by synchronizing on the returned
    19      * {@see Future}, but make sure not to freeze up JOSM. Example:
     19     * {@link Future}, but make sure not to freeze up JOSM. Example:
    2020     * <pre>
    2121     *    Future<?> future = task.download(...);
     
    5353     *
    5454     * Set progressMonitor to null, if the task should create, open, and close a progress monitor.
    55      * Set progressMonitor to {@see NullProgressMonitor#INSTANCE} if progress information is to
     55     * Set progressMonitor to {@link NullProgressMonitor#INSTANCE} if progress information is to
    5656     * be discarded.
    5757
     
    7676     * Replies the error objects of the task. Empty list, if no error messages are available.
    7777     *
    78      * Error objects are either {@see String}s with error messages or {@see Exception}s.
     78     * Error objects are either {@link String}s with error messages or {@link Exception}s.
    7979     *
    8080     * @return the list of error objects
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r5102 r5266  
    331331    /**
    332332     * Deletes the relation in the context of the given layer. Also notifies
    333      * {@see RelationDialogManager} and {@see OsmDataLayer#fireDataChange()} events.
     333     * {@link RelationDialogManager} and {@link OsmDataLayer#fireDataChange()} events.
    334334     *
    335335     * @param layer the layer in whose context the relation is deleted. Must not be null.
Note: See TracChangeset for help on using the changeset viewer.