Changeset 30049 in osm for applications/editors/josm/plugins/tracer2/src/org
- Timestamp:
- 2013-11-13T21:54:50+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParam.java
r30047 r30049 31 31 32 32 import org.openstreetmap.josm.Main; 33 import org.openstreetmap.josm.gui.JMultilineLabel; 33 import org.openstreetmap.josm.gui.widgets.JMultilineLabel; 34 34 import org.openstreetmap.josm.tools.GBC; 35 35 -
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamDialog.java
r30047 r30049 56 56 private JTextField m_oDescription = new JTextField(); 57 57 private JTextArea m_oUrl = new JTextArea(5,5); 58 private JComboBox <String>m_oTileSize;59 private JComboBox <String>m_oResolution;58 private JComboBox m_oTileSize; 59 private JComboBox m_oResolution; 60 60 //private JTextField m_oSkipBottom = new JTextField(); 61 private JComboBox <String>m_oMode;61 private JComboBox m_oMode; 62 62 private JTextField m_oThreshold = new JTextField(); 63 private JComboBox <String>m_oPointsPerCircle;63 private JComboBox m_oPointsPerCircle; 64 64 private JTextField m_oTag = new JTextField(); 65 65 private JTextField m_oPreferredValues = new JTextField(); … … 112 112 } 113 113 114 private void loadComboBox( JComboBox <String>c, String strValue, String[] astrValues ) {114 private void loadComboBox( JComboBox c, String strValue, String[] astrValues ) { 115 115 int pos = 0; 116 116 for ( String str: astrValues ) { … … 123 123 } 124 124 125 private String saveComboBox( JComboBox <String>c, String[] astrValues ) {125 private String saveComboBox( JComboBox c, String[] astrValues ) { 126 126 return astrValues[c.getSelectedIndex()]; 127 127 } … … 140 140 setButtonIcons(new String[] { "ok.png", "cancel.png" }); 141 141 142 m_oTileSize = new JComboBox <String>(m_astrTileSize);143 m_oResolution = new JComboBox <String>(m_astrResolution);144 m_oMode = new JComboBox <String>(m_astrMode);145 m_oPointsPerCircle = new JComboBox <String>(m_astrPointsPerCircle);142 m_oTileSize = new JComboBox(m_astrTileSize); 143 m_oResolution = new JComboBox(m_astrResolution); 144 m_oMode = new JComboBox(m_astrMode); 145 m_oPointsPerCircle = new JComboBox(m_astrPointsPerCircle); 146 146 147 147 load(); -
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/preferences/ServerParamSelectDialog.java
r30047 r30049 39 39 private static final long serialVersionUID = 5655941545321036641L; 40 40 41 private JComboBox <String>m_oComboBox;41 private JComboBox m_oComboBox; 42 42 List<ServerParam> m_listServerParam; 43 43 private boolean m_bShow = true; … … 74 74 i++; 75 75 } 76 m_oComboBox = new JComboBox <String>(astr);76 m_oComboBox = new JComboBox(astr); 77 77 m_oComboBox.setSelectedIndex(pos); 78 78
Note:
See TracChangeset
for help on using the changeset viewer.