Ignore:
Timestamp:
2017-09-01T01:07:32+02:00 (7 years ago)
Author:
michael2402
Message:

See #15167: Make size of the OSM download panel fixed, only allow resizing for overpass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/AbstractDownloadSourcePanel.java

    r12684 r12705  
    88
    99import org.openstreetmap.josm.data.Bounds;
     10import org.openstreetmap.josm.gui.download.DownloadSourceSizingPolicy.FixedDownloadSourceSizePolicy;
    1011
    1112/**
     
    1617 */
    1718public 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.";
    1824
    1925    /**
     
    107113     */
    108114    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    }
    109124}
Note: See TracChangeset for help on using the changeset viewer.