Changeset 12707 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-09-01T02:08:49+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/DownloadSourceSizingPolicy.java
r12705 r12707 16 16 * @return The height the component should have. 17 17 */ 18 publicint getComponentHeight();18 int getComponentHeight(); 19 19 20 20 /** … … 22 22 * @return <code>true</code> if the height should be adjustable 23 23 */ 24 publicboolean isHeightAdjustable();24 boolean isHeightAdjustable(); 25 25 26 26 /** … … 28 28 * @param height the height in pixel 29 29 */ 30 publicdefault void storeHeight(int height) {30 default void storeHeight(int height) { 31 31 throw new UnsupportedOperationException( 32 32 "Setting the height is not supported for " + this.getClass().getCanonicalName()); … … 37 37 * @author Michael Zangl 38 38 */ 39 publicclass FixedDownloadSourceSizePolicy implements DownloadSourceSizingPolicy {39 class FixedDownloadSourceSizePolicy implements DownloadSourceSizingPolicy { 40 40 private final Component base; 41 41 … … 64 64 * Mind that using a preferred component size is not possible in this case, since the preference entry needs to have a onstant default value. 65 65 */ 66 publicclass AdjustableDownloadSizePolicy implements DownloadSourceSizingPolicy {66 class AdjustableDownloadSizePolicy implements DownloadSourceSizingPolicy { 67 67 68 68 private final AbstractProperty<Integer> preference; -
trunk/src/org/openstreetmap/josm/gui/download/OverpassDownloadSource.java
r12705 r12707 47 47 */ 48 48 public class OverpassDownloadSource implements DownloadSource<OverpassDownloadSource.OverpassDownloadData> { 49 50 49 51 50 @Override -
trunk/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java
r12703 r12707 177 177 if (installCertificate != null && uninstallCertificate != null) { 178 178 // Install certificate button is enabled if HTTPS is also enabled 179 installCertificate.setEnabled(enableRemoteControl.isSelected() && enableHttpsSupport.isSelected() && RemoteControl.supportsHttps()); 179 installCertificate.setEnabled(enableRemoteControl.isSelected() 180 && enableHttpsSupport.isSelected() && RemoteControl.supportsHttps()); 180 181 // Uninstall certificate button is always enabled 181 182 uninstallCertificate.setEnabled(RemoteControl.supportsHttps());
Note:
See TracChangeset
for help on using the changeset viewer.