Changeset 10479 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-06-24T10:16:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryDialog.java
r10179 r10479 15 15 16 16 import javax.swing.AbstractAction; 17 import javax.swing.JButton; 17 18 import javax.swing.JComponent; 18 19 import javax.swing.JDialog; … … 23 24 24 25 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 25 import org.openstreetmap.josm.gui.SideButton;26 26 import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction; 27 27 import org.openstreetmap.josm.gui.help.HelpUtil; … … 74 74 JPanel pnl = new JPanel(new FlowLayout(FlowLayout.CENTER)); 75 75 76 // -- query action 77 pnl.add(new SideButton(new QueryAction())); 78 79 // -- cancel action 80 pnl.add(new SideButton(new CancelAction())); 81 82 // -- help action 83 pnl.add(new SideButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/ChangesetQuery")))); 76 pnl.add(new JButton(new QueryAction())); 77 pnl.add(new JButton(new CancelAction())); 78 pnl.add(new JButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/ChangesetQuery")))); 84 79 85 80 return pnl; … … 158 153 QueryAction() { 159 154 putValue(NAME, tr("Query")); 160 putValue(SMALL_ICON, ImageProvider.get("dialogs", "search"));155 new ImageProvider("dialogs", "search").getResource().attachImageIcon(this); 161 156 putValue(SHORT_DESCRIPTION, tr("Query and download changesets")); 162 157 } … … 206 201 CancelAction() { 207 202 putValue(NAME, tr("Cancel")); 208 putValue(SMALL_ICON, ImageProvider.get("cancel"));203 new ImageProvider("cancel").getResource().attachImageIcon(this); 209 204 putValue(SHORT_DESCRIPTION, tr("Close the dialog and abort querying of changesets")); 210 205 }
Note:
See TracChangeset
for help on using the changeset viewer.