Changeset 5266 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2012-06-03T16:41:25+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ChangesetManagerToggleAction.java
r4982 r5266 18 18 import org.openstreetmap.josm.tools.Shortcut; 19 19 /** 20 * This action toggles the visibility of the {@ seeChangesetCacheManager} dialog.20 * This action toggles the visibility of the {@link ChangesetCacheManager} dialog. 21 21 * 22 22 */ -
trunk/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java
r5131 r5266 93 93 94 94 /** 95 * Updates the {@ seeAllFormatsImporter} that is contained in the importers list. If95 * Updates the {@link AllFormatsImporter} that is contained in the importers list. If 96 96 * you do not use the importers variable directly, you don’t need to call this. 97 97 * … … 109 109 110 110 /** 111 * Replies an ordered list of {@ seeExtensionFileFilter}s for importing.112 * The list is ordered according to their description, an {@ seeAllFormatsImporter}111 * Replies an ordered list of {@link ExtensionFileFilter}s for importing. 112 * The list is ordered according to their description, an {@link AllFormatsImporter} 113 113 * is append at the end. 114 114 * 115 * @return an ordered list of {@ seeExtensionFileFilter}s for importing.115 * @return an ordered list of {@link ExtensionFileFilter}s for importing. 116 116 */ 117 117 public static List<ExtensionFileFilter> getImportExtensionFileFilters() { … … 126 126 127 127 /** 128 * Replies an ordered list of {@ seeExtensionFileFilter}s for exporting.129 * The list is ordered according to their description, an {@ seeAllFormatsImporter}128 * Replies an ordered list of {@link ExtensionFileFilter}s for exporting. 129 * The list is ordered according to their description, an {@link AllFormatsImporter} 130 130 * is append at the end. 131 131 * 132 * @return an ordered list of {@ seeExtensionFileFilter}s for exporting.132 * @return an ordered list of {@link ExtensionFileFilter}s for exporting. 133 133 */ 134 134 public static List<ExtensionFileFilter> getExportExtensionFileFilters() { … … 145 145 146 146 /** 147 * Replies the default {@ seeExtensionFileFilter} for a given extension147 * Replies the default {@link ExtensionFileFilter} for a given extension 148 148 * 149 149 * @param extension the extension 150 * @return the default {@ seeExtensionFileFilter} for a given extension150 * @return the default {@link ExtensionFileFilter} for a given extension 151 151 */ 152 152 public static ExtensionFileFilter getDefaultImportExtensionFileFilter(String extension) { … … 160 160 161 161 /** 162 * Replies the default {@ seeExtensionFileFilter} for a given extension162 * Replies the default {@link ExtensionFileFilter} for a given extension 163 163 * 164 164 * @param extension the extension 165 * @return the default {@ seeExtensionFileFilter} for a given extension165 * @return the default {@link ExtensionFileFilter} for a given extension 166 166 */ 167 167 public static ExtensionFileFilter getDefaultExportExtensionFileFilter(String extension) { … … 175 175 176 176 /** 177 * Applies the choosable {@ see FileFilter} to a {@seeJFileChooser} before using the177 * Applies the choosable {@link FileFilter} to a {@link JFileChooser} before using the 178 178 * file chooser for selecting a file for reading. 179 179 * … … 189 189 190 190 /** 191 * Applies the choosable {@ see FileFilter} to a {@seeJFileChooser} before using the191 * Applies the choosable {@link FileFilter} to a {@link JFileChooser} before using the 192 192 * file chooser for selecting a file for writing. 193 193 * -
trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java
r4982 r5266 61 61 * 62 62 * <code>layer</code> must not be null. <code>layer</code> must be an instance of 63 * {@ see OsmDataLayer} or {@seeGpxLayer}.63 * {@link OsmDataLayer} or {@link GpxLayer}. 64 64 * 65 65 * @param layer the layer 66 66 * @exception IllegalArgumentException thrown if layer is null 67 * @exception IllegalArgumentException thrown if layer is neither an instance of {@ seeOsmDataLayer}68 * nor of {@ seeGpxLayer}67 * @exception IllegalArgumentException thrown if layer is neither an instance of {@link OsmDataLayer} 68 * nor of {@link GpxLayer} 69 69 */ 70 70 public void export(Layer layer) { -
trunk/src/org/openstreetmap/josm/actions/JosmAction.java
r5110 r5266 24 24 * Base class helper for all Actions in JOSM. Just to make the life easier. 25 25 * 26 * A JosmAction is a {@ see LayerChangeListener} and a {@seeSelectionChangedListener}. Upon27 * 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()}-state29 * of a JosmAction depending on the {@ see#getCurrentDataSet()} and the current layers30 * (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()}). 31 31 * 32 32 * destroy() from interface Destroyable is called e.g. for MapModes, when the last layer has … … 179 179 /** 180 180 * 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()} 182 182 * 183 183 * @see #updateEnabledState() … … 192 192 * something in the JOSM state changes, i.e. when a layer is removed or added. 193 193 * 194 * See {@ see#updateEnabledState(Collection)} to respond to changes in the collection194 * See {@link #updateEnabledState(Collection)} to respond to changes in the collection 195 195 * of selected primitives. 196 196 * -
trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java
r4982 r5266 53 53 /** 54 54 * Replies true if the source for tag pasting is heterogeneous, i.e. if it doesn't consist of 55 * {@ seeOsmPrimitive}s of exactly one type55 * {@link OsmPrimitive}s of exactly one type 56 56 * 57 57 * @return … … 130 130 131 131 /** 132 * Pastes the tags from a homogeneous source (i.e. the {@ seeMain#pasteBuffer}s selection consisting133 * of one type of {@ seeOsmPrimitive}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. 134 134 * 135 135 * 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 468 468 /** 469 469 * Splits the way {@code way} at the nodes in {@code atNodes} and replies 470 * the result of this process in an instance of {@ seeSplitWayResult}.470 * the result of this process in an instance of {@link SplitWayResult}. 471 471 * 472 472 * Note that changes are not applied to the data yet. You have to 473 * submit the command in {@ seeSplitWayResult#getCommand()} first,473 * submit the command in {@link SplitWayResult#getCommand()} first, 474 474 * i.e. {@code Main.main.undoredo.add(result.getCommand())}. 475 475 * -
trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java
r4982 r5266 47 47 48 48 /** 49 * Updates the data for for the {@ seeOsmPrimitive}s in <code>selection</code>49 * Updates the data for for the {@link OsmPrimitive}s in <code>selection</code> 50 50 * with the data currently kept on the server. 51 51 * 52 * @param selection a collection of {@ seeOsmPrimitive}s to update52 * @param selection a collection of {@link OsmPrimitive}s to update 53 53 * 54 54 */ … … 59 59 60 60 /** 61 * Updates the data for the {@ seeOsmPrimitive}s with id <code>id</code>61 * Updates the data for the {@link OsmPrimitive}s with id <code>id</code> 62 62 * with the data currently kept on the server. 63 63 * 64 * @param id the id of a primitive in the {@ seeDataSet} 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. 65 65 * @throws IllegalArgumentException thrown if id is null 66 66 * @exception IllegalStateException thrown if there is no primitive with <code>id</code> in -
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r5233 r5266 136 136 * Check whether the preconditions are met to upload data in <code>apiData</code>. 137 137 * Makes sure upload is allowed, primitives in <code>apiData</code> don't participate in conflicts and 138 * runs the installed {@ seeUploadHook}s.138 * runs the installed {@link UploadHook}s. 139 139 * 140 140 * @param layer the source layer of the data to be uploaded -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadTask.java
r4521 r5266 13 13 * 14 14 * Set <code>progressMonitor</code> to null, if the task should create, open, and close a progress monitor. 15 * Set progressMonitor to {@ seeNullProgressMonitor#INSTANCE} if progress information is to15 * Set progressMonitor to {@link NullProgressMonitor#INSTANCE} if progress information is to 16 16 * be discarded. 17 17 * 18 18 * You can wait for the asynchronous download task to finish by synchronizing on the returned 19 * {@ seeFuture}, but make sure not to freeze up JOSM. Example:19 * {@link Future}, but make sure not to freeze up JOSM. Example: 20 20 * <pre> 21 21 * Future<?> future = task.download(...); … … 53 53 * 54 54 * Set progressMonitor to null, if the task should create, open, and close a progress monitor. 55 * Set progressMonitor to {@ seeNullProgressMonitor#INSTANCE} if progress information is to55 * Set progressMonitor to {@link NullProgressMonitor#INSTANCE} if progress information is to 56 56 * be discarded. 57 57 … … 76 76 * Replies the error objects of the task. Empty list, if no error messages are available. 77 77 * 78 * Error objects are either {@ see String}s with error messages or {@seeException}s.78 * Error objects are either {@link String}s with error messages or {@link Exception}s. 79 79 * 80 80 * @return the list of error objects -
trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
r5102 r5266 331 331 /** 332 332 * Deletes the relation in the context of the given layer. Also notifies 333 * {@ see RelationDialogManager} and {@seeOsmDataLayer#fireDataChange()} events.333 * {@link RelationDialogManager} and {@link OsmDataLayer#fireDataChange()} events. 334 334 * 335 335 * @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.