Changeset 5200 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
- Timestamp:
- 2012-04-18T12:18:56+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r5037 r5200 21 21 22 22 import javax.swing.AbstractAction; 23 import javax.swing.JComponent; 23 24 import javax.swing.JMenuItem; 24 25 import javax.swing.JOptionPane; 25 26 import javax.swing.JPopupMenu; 27 import javax.swing.KeyStroke; 26 28 import javax.swing.SwingUtilities; 27 29 import javax.swing.event.TreeSelectionEvent; … … 53 55 import org.openstreetmap.josm.io.OsmTransferException; 54 56 import org.openstreetmap.josm.tools.ImageProvider; 57 import org.openstreetmap.josm.tools.InputMapUtils; 55 58 import org.openstreetmap.josm.tools.Shortcut; 56 59 import org.xml.sax.SAXException; … … 105 108 tree.addMouseListener(new ClickWatch()); 106 109 tree.addTreeSelectionListener(new SelectionWatch()); 107 110 InputMapUtils.unassignCtrlShiftUpDown(tree, JComponent.WHEN_FOCUSED); 111 108 112 List<SideButton> buttons = new LinkedList<SideButton>(); 109 113 … … 119 123 } 120 124 }); 125 InputMapUtils.addEnterAction(tree, selectButton.getAction()); 126 121 127 selectButton.setEnabled(false); 122 128 buttons.add(selectButton);
Note:
See TracChangeset
for help on using the changeset viewer.