Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/gui/layer
- Timestamp:
- 2009-11-24T10:45:04+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java
r2450 r2512 103 103 volatile Image scaledImage; 104 104 105 106 105 public Entry(File file, int width, int height, int maxSize, ImageLoadedListener listener) { 107 106 this.file = file; … … 222 221 } 223 222 } 224 225 223 226 224 public synchronized boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) { … … 322 320 gpxSubTask.finishTask(); 323 321 } 324 325 322 326 323 if (gps.isEmpty()) -
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r2450 r2512 665 665 } // end for trk 666 666 } // end if lines 667 668 667 669 668 /**************************************************************** -
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r2450 r2512 66 66 /** 67 67 * The visibility state of the layer. 68 * 68 * 69 69 */ 70 70 private boolean visible = true; … … 72 72 /** 73 73 * The layer should be handled as a background layer in automatic handling 74 * 74 * 75 75 */ 76 76 private boolean background = false; … … 78 78 /** 79 79 * The name of this layer. 80 * 80 * 81 81 */ 82 82 private String name; … … 145 145 public void setAssociatedFile(File file) { associatedFile = file; } 146 146 147 148 147 /** 149 148 * Replies the name of the layer 150 * 149 * 151 150 * @return the name of the layer 152 151 */ … … 174 173 /** 175 174 * Replies true if this layer is a background layer 176 * 175 * 177 176 * @return true if this layer is a background layer 178 177 */ … … 183 182 /** 184 183 * Sets whether this layer is a background layer 185 * 184 * 186 185 * @param background true, if this layer is a background layer 187 186 */ … … 193 192 * Sets the visibility of this layer. Emits property change event for 194 193 * property {@see #VISIBLE_PROP}. 195 * 194 * 196 195 * @param visible true, if the layer is visible; false, otherwise. 197 196 */ … … 221 220 /** 222 221 * Adds a {@see PropertyChangeListener} 223 * 222 * 224 223 * @param listener the listener 225 224 */ … … 230 229 /** 231 230 * Removes a {@see PropertyChangeListener} 232 * 231 * 233 232 * @param listener the listener 234 233 */ … … 239 238 /** 240 239 * fires a property change for the property {@see #VISIBLE_PROP} 241 * 240 * 242 241 * @param oldValue the old value 243 242 * @param newValue the new value … … 249 248 /** 250 249 * The action to save a layer 251 * 250 * 252 251 */ 253 252 public static class LayerSaveAction extends AbstractAction { -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r2500 r2512 324 324 /** 325 325 * Warns the user about the number of detected conflicts 326 * 326 * 327 327 * @param numNewConflicts the number of detected conflicts 328 328 * @param numPurgedPrimitives the number of automatically purged objects … … 389 389 * from the local dataset because they've been deleted on the 390 390 * server. 391 * 391 * 392 392 * @return the purge command. <code>null</code> if no primitives have to 393 393 * be purged … … 665 665 * Replies true if the data managed by this layer needs to be uploaded to 666 666 * the server because it contains at least one modified primitive. 667 * 667 * 668 668 * @return true if the data managed by this layer needs to be uploaded to 669 669 * the server because it contains at least one modified primitive; false, … … 679 679 * if the data managed by this layer has been modified since the last 680 680 * save operation to the file. 681 * 681 * 682 682 * @return true if the data managed by this layer needs to be saved to 683 683 * a file … … 689 689 /** 690 690 * Initializes the layer after a successful load of OSM data from a file 691 * 691 * 692 692 */ 693 693 public void onPostLoadFromFile() { … … 703 703 /** 704 704 * Initializes the layer after a successful save of OSM data to a file 705 * 705 * 706 706 */ 707 707 public void onPostSaveToFile() { … … 712 712 /** 713 713 * Initializes the layer after a successful upload to the server 714 * 714 * 715 715 */ 716 716 public void onPostUploadToServer() { -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java
r2450 r2512 446 446 } 447 447 448 449 448 public final class ShowHideMarkerText extends AbstractAction { 450 449 private final Layer layer;
Note:
See TracChangeset
for help on using the changeset viewer.