Changeset 30688 in osm


Ignore:
Timestamp:
2014-09-24T01:54:30+02:00 (10 years ago)
Author:
donvip
Message:

[josm_simplifyarea] use of JosmTextField to have consistent behaviour with JOSM text fields (contexual menu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/simplifyarea/src/sk/zdila/josm/plugin/simplify/SimplifyAreaPreferenceSetting.java

    r30687 r30688  
    1212import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
    1313import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
     14import org.openstreetmap.josm.gui.widgets.JosmTextField;
    1415import org.openstreetmap.josm.tools.GBC;
    1516
     
    2425    static final String MERGE_THRESHOLD = "simplify-area.merge.threshold";
    2526
    26     private final JTextField mergeThreshold = new JTextField(8);
    27     private final JTextField angleThreshold = new JTextField(8);
    28     private final JTextField angleFactor = new JTextField(8);
    29     private final JTextField areaThreshold = new JTextField(8);
    30     private final JTextField areaFactor = new JTextField(8);
    31     private final JTextField distanceThreshold = new JTextField(8);
    32     private final JTextField distanceFactor = new JTextField(8);
     27    private final JTextField mergeThreshold = new JosmTextField(8);
     28    private final JTextField angleThreshold = new JosmTextField(8);
     29    private final JTextField angleFactor = new JosmTextField(8);
     30    private final JTextField areaThreshold = new JosmTextField(8);
     31    private final JTextField areaFactor = new JosmTextField(8);
     32    private final JTextField distanceThreshold = new JosmTextField(8);
     33    private final JTextField distanceFactor = new JosmTextField(8);
    3334
    3435    public SimplifyAreaPreferenceSetting() {
Note: See TracChangeset for help on using the changeset viewer.