Changeset 12705 in josm for trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java
- Timestamp:
- 2017-09-01T01:07:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java
r12684 r12705 8 8 9 9 import org.openstreetmap.josm.data.Bounds; 10 import org.openstreetmap.josm.gui.download.DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy; 10 11 11 12 /** … … 16 17 */ 17 18 public abstract class AbstractDownloadSourcePanel<T> extends JPanel { 19 20 /** 21 * A prefix to be used for tab height preferences 22 */ 23 public static final String TAB_SPLIT_NAMESPACE = "download.tabsplit."; 18 24 19 25 /** … … 107 113 */ 108 114 public abstract String getSimpleName(); 115 116 /** 117 * Gets the policy that defines how this component should be sized 118 * @return The sizing policy. A fixed policy on default. 119 * @since 12705 120 */ 121 public DownloadSourceSizingPolicy getSizingPolicy() { 122 return new FixedDownloadSourceSizePolicy(this); 123 } 109 124 }
Note:
See TracChangeset
for help on using the changeset viewer.