Changeset 22018 in osm for applications/editors/josm/plugins/terracer/src
- Timestamp:
- 2010-06-25T21:33:50+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
r21169 r22018 14 14 import java.awt.Container; 15 15 import java.awt.Dimension; 16 import java.awt.FlowLayout; 17 import java.awt.Frame; 16 import java.awt.GridBagConstraints; 18 17 import java.awt.GridBagLayout; 19 import java.awt.GridBagConstraints;20 import java.awt.GridLayout;21 18 import java.awt.event.ActionEvent; 22 23 19 import java.util.TreeSet; 24 20 25 21 import javax.swing.BoxLayout; 26 import javax.swing.JButton;27 22 import javax.swing.JCheckBox; 28 23 import javax.swing.JLabel; 29 import javax.swing.JOptionPane;30 24 import javax.swing.JPanel; 31 25 import javax.swing.JTextArea; 32 26 import javax.swing.JTextField; 33 import javax.swing.SwingUtilities;34 27 35 28 import org.openstreetmap.josm.Main; … … 37 30 import org.openstreetmap.josm.data.osm.Way; 38 31 import org.openstreetmap.josm.gui.ExtendedDialog; 39 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox; 32 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingComboBox; 40 33 import org.openstreetmap.josm.tools.GBC; 41 34 … … 83 76 84 77 HouseNumberInputHandler inputHandler; 85 78 86 79 /** 87 80 * @param street If street is not null, we assume, the name of the street to be fixed … … 120 113 this.interpolation.addItemListener(this.inputHandler); 121 114 } 122 115 123 116 /** 124 117 * This method initializes jContentPane … … 154 147 messageLabel.setEditable(false); 155 148 messageLabel.setFocusable(false); // Needed so that lowest number can have focus immediately 156 149 157 150 interpolationLabel = new JLabel(); 158 151 interpolationLabel.setText(tr("Interpolation")); … … 177 170 c.gridwidth = GridBagConstraints.REMAINDER; 178 171 inputPanel.add(messageLabel, c); 179 172 180 173 inputPanel.add(loLabel, GBC.std().insets(3,3,0,0)); 181 174 inputPanel.add(getLo(), GBC.eol().fill(GBC.HORIZONTAL).insets(5,3,0,0)); … … 201 194 * Overrides the default actions. Will not close the window when upload trace is clicked 202 195 */ 203 @Override protected void buttonAction( final ActionEvent evt) {196 @Override protected void buttonAction(int buttonIndex, final ActionEvent evt) { 204 197 String a = evt.getActionCommand(); 205 198 this.inputHandler.actionPerformed(evt);
Note:
See TracChangeset
for help on using the changeset viewer.