Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/gui/io/SaveLayerInfo.java
- Timestamp:
- 2009-11-24T10:45:04+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/SaveLayerInfo.java
r2181 r2512 10 10 * SaveLayerInfo represents the information, user preferences and save/upload states of 11 11 * a layer which might be uploaded/saved. 12 * 12 * 13 13 */ 14 14 class SaveLayerInfo implements Comparable<SaveLayerInfo> { … … 23 23 24 24 /** 25 * 25 * 26 26 * @param layer the layer. Must not be null. 27 27 * @throws IllegalArgumentException thrown if layer is null … … 38 38 /** 39 39 * Replies the layer this info objects holds information for 40 * 40 * 41 41 * @return the layer this info objects holds information for 42 42 */ … … 47 47 /** 48 48 * Replies true if this layer should be saved to a file; false, otherwise 49 * 49 * 50 50 * @return true if this layers should be saved to a file; false, otherwise 51 51 */ … … 56 56 /** 57 57 * Sets whether this layer should be saved to a file 58 * 58 * 59 59 * @param doSaveToFile true to save; false, to skip saving 60 60 */ … … 65 65 /** 66 66 * Replies true if this layer should be uploaded to the server; false, otherwise 67 * 67 * 68 68 * @return true if this layer should be uploaded to the server; false, otherwise 69 69 */ … … 74 74 /** 75 75 * Sets whether this layer should be uploaded to a file 76 * 76 * 77 77 * @param doSaveToFile true to upload; false, to skip uploading 78 78 */ … … 84 84 /** 85 85 * Replies true if this layer should be uploaded to the server and saved to file. 86 * 86 * 87 87 * @return true if this layer should be uploaded to the server and saved to file 88 88 */ … … 93 93 /** 94 94 * Replies the name of the layer 95 * 95 * 96 96 * @return the name of the layer 97 97 */ … … 102 102 /** 103 103 * Replies the file this layer should be saved to, if {@see #isDoSaveToFile()} is true 104 * 104 * 105 105 * @return the file this layer should be saved to, if {@see #isDoSaveToFile()} is true 106 106 */ … … 111 111 /** 112 112 * Sets the file this layer should be saved to, if {@see #isDoSaveToFile()} is true 113 * 113 * 114 114 * @param file the file 115 115 */ … … 147 147 * <li>{@see UploadOrSaveState#FAILED} if uploading {@see #getLayer() has failed</li> 148 148 * </ul> 149 * 149 * 150 150 * @return the upload state 151 151 */ … … 156 156 /** 157 157 * Sets the upload state for {@see #getLayer()} 158 * 158 * 159 159 * @param uploadState the upload state 160 160 */ … … 170 170 * <li>{@see UploadOrSaveState#FAILED} if saving {@see #getLayer() has failed</li> 171 171 * </ul> 172 * 172 * 173 173 * @return the save state 174 174 */ … … 179 179 /** 180 180 * Sets the save state for {@see #getLayer()} 181 * 181 * 182 182 * @param saveState save the upload state 183 183 */ … … 188 188 /** 189 189 * Resets the upload and save state 190 * 190 * 191 191 * @see #setUploadState(UploadOrSaveState) 192 192 * @see #setSaveState(UploadOrSaveState)
Note:
See TracChangeset
for help on using the changeset viewer.