Changeset 34943 in osm for applications/editors/josm/plugins/reverter/src
- Timestamp:
- 2019-03-25T08:55:19+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/reverter/src/reverter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java
r34552 r34943 7 7 import java.awt.Insets; 8 8 import java.awt.event.KeyEvent; 9 import java.awt.event.WindowAdapter; 9 10 import java.awt.event.WindowEvent; 10 import java.awt.event.WindowListener;11 11 import java.util.Collection; 12 12 import java.util.Collections; … … 34 34 import reverter.ChangesetReverter.RevertType; 35 35 36 @SuppressWarnings("serial")37 36 public class ChangesetIdQuery extends ExtendedDialog { 38 37 private final JPanel panel = new JPanel(new GridBagLayout()); … … 102 101 public void setupDialog() { 103 102 setContent(panel, false); 104 setButtonIcons( new String[] {"ok.png", "cancel.png" });103 setButtonIcons("ok.png", "cancel.png"); 105 104 setDefaultButton(1); 106 105 … … 172 171 } 173 172 174 private class InternalWindowListener implements WindowListener {173 private class InternalWindowListener extends WindowAdapter { 175 174 @Override public void windowClosed(WindowEvent e) { 176 175 if (e != null && e.getComponent() == ChangesetIdQuery.this && getValue() == 1) { … … 181 180 } 182 181 } 183 184 @Override public void windowOpened(WindowEvent e) {}185 186 @Override public void windowClosing(WindowEvent e) {}187 188 @Override public void windowIconified(WindowEvent e) {}189 190 @Override public void windowDeiconified(WindowEvent e) {}191 192 @Override public void windowActivated(WindowEvent e) {}193 194 @Override public void windowDeactivated(WindowEvent e) {}195 182 } 196 183 } -
applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdsTextField.java
r34941 r34943 48 48 /** 49 49 * Constructs a new {@link OsmIdsValidator} 50 * @param tc The text component to validate 50 51 */ 51 52 public OsmIdsValidator(JTextComponent tc) {
Note:
See TracChangeset
for help on using the changeset viewer.