Changeset 12597 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-08-13T14:04:51+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/SourceButton.java
r8840 r12597 22 22 import org.openstreetmap.josm.tools.ImageProvider; 23 23 24 /** 25 * Button that allows to choose the imagery source used for slippy map background. 26 * @since 1390 27 */ 24 28 public class SourceButton extends JComponent { 25 29 … … 45 49 private final SlippyMapBBoxChooser slippyMapBBoxChooser; 46 50 51 /** 52 * Constructs a new {@code SourceButton}. 53 * @param slippyMapBBoxChooser parent slippy map 54 * @param sources list of imagery sources to display 55 */ 47 56 public SourceButton(SlippyMapBBoxChooser slippyMapBBoxChooser, Collection<TileSource> sources) { 48 57 this.slippyMapBBoxChooser = slippyMapBBoxChooser; … … 124 133 } 125 134 135 /** 136 * Toggle the visibility of imagery source list. 137 */ 126 138 public void toggle() { 127 139 this.isEnlarged = !this.isEnlarged; … … 131 143 } 132 144 145 /** 146 * Changes the current imagery source used for slippy map background. 147 * @param tileSource the new imagery source to use 148 */ 133 149 public void setCurrentMap(TileSource tileSource) { 134 150 for (int i = 0; i < sources.length; i++) { -
trunk/src/org/openstreetmap/josm/gui/download/DownloadSelection.java
r10378 r12597 4 4 import org.openstreetmap.josm.data.Bounds; 5 5 6 /** 7 * A mean to select a download area in the download dialog. 8 * Currently each selector implementation is accessible through its dedicated tab. 9 * @since 2344 10 */ 6 11 public interface DownloadSelection { 7 12 -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/ColorfulImageProcessor.java
r12594 r12597 6 6 import java.util.Map; 7 7 8 import org.openstreetmap.josm.Main; 8 9 import org.openstreetmap.josm.gui.layer.ImageProcessor; 9 10 import org.openstreetmap.josm.io.session.SessionAwareReadApply; … … 62 63 setColorfulness(Double.parseDouble(cStr)); 63 64 } catch (NumberFormatException e) { 64 // nothing 65 if (Main.isTraceEnabled()) { 66 Main.trace(e); 67 } 65 68 } 66 69 } -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/GammaImageProcessor.java
r12594 r12597 73 73 setGamma(Double.parseDouble(cStr)); 74 74 } catch (NumberFormatException e) { 75 // nothing 75 if (Main.isTraceEnabled()) { 76 Main.trace(e); 77 } 76 78 } 77 79 } -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/SharpenImageProcessor.java
r12594 r12597 8 8 import java.util.Map; 9 9 10 import org.openstreetmap.josm.Main; 10 11 import org.openstreetmap.josm.gui.layer.ImageProcessor; 11 12 import org.openstreetmap.josm.io.session.SessionAwareReadApply; … … 99 100 setSharpenLevel(Float.parseFloat(vStr)); 100 101 } catch (NumberFormatException e) { 101 // nothing 102 if (Main.isTraceEnabled()) { 103 Main.trace(e); 104 } 102 105 } 103 106 }
Note:
See TracChangeset
for help on using the changeset viewer.