Changeset 10357 in josm
- Timestamp:
- 2016-06-12T00:26:29+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r10179 r10357 367 367 putValue(Action.SHORT_DESCRIPTION, tr("Cancel conflict resolution")); 368 368 putValue(Action.NAME, tr("Cancel")); 369 putValue(Action.SMALL_ICON, ImageProvider.get("", "cancel"));369 new ImageProvider("cancel").getResource().getImageIcon(this); 370 370 setEnabled(true); 371 371 } … … 382 382 putValue(Action.SHORT_DESCRIPTION, tr("Apply resolved conflicts")); 383 383 putValue(Action.NAME, tr("Apply")); 384 putValue(Action.SMALL_ICON, ImageProvider.get("ok"));384 new ImageProvider("ok").getResource().getImageIcon(this); 385 385 updateEnabledState(); 386 386 } -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java
r10217 r10357 265 265 putValue(Action.SHORT_DESCRIPTION, tr("Cancel conflict resolution")); 266 266 putValue(Action.NAME, tr("Cancel")); 267 putValue(Action.SMALL_ICON, ImageProvider.get("", "cancel"));267 new ImageProvider("cancel").getResource().getImageIcon(this); 268 268 setEnabled(true); 269 269 } … … 281 281 putValue(Action.SHORT_DESCRIPTION, tr("Apply resolved conflicts")); 282 282 putValue(Action.NAME, tr("Apply")); 283 putValue(Action.SMALL_ICON, ImageProvider.get("ok"));283 new ImageProvider("ok").getResource().getImageIcon(this); 284 284 updateEnabledState(); 285 285 } -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolver.java
r10179 r10357 155 155 ApplyRoleAction() { 156 156 putValue(NAME, tr("Apply")); 157 putValue(SMALL_ICON, ImageProvider.get("ok"));157 new ImageProvider("ok").getResource().getImageIcon(this); 158 158 putValue(SHORT_DESCRIPTION, tr("Apply this role to all members")); 159 159 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
r10035 r10357 158 158 putValue(Action.SHORT_DESCRIPTION, tr("Cancel conflict resolution and close the dialog")); 159 159 putValue(Action.NAME, tr("Cancel")); 160 putValue(Action.SMALL_ICON, ImageProvider.get("", "cancel"));160 new ImageProvider("cancel").getResource().getImageIcon(this); 161 161 setEnabled(true); 162 162 } … … 175 175 putValue(Action.SHORT_DESCRIPTION, tr("Show help information")); 176 176 putValue(Action.NAME, tr("Help")); 177 putValue(Action.SMALL_ICON, ImageProvider.get("help"));177 new ImageProvider("help").getResource().getImageIcon(this); 178 178 setEnabled(true); 179 179 } … … 193 193 putValue(Action.SHORT_DESCRIPTION, tr("Apply resolved conflicts and close the dialog")); 194 194 putValue(Action.NAME, tr("Apply Resolution")); 195 putValue(Action.SMALL_ICON, ImageProvider.get("dialogs", "conflict"));195 new ImageProvider("dialogs", "conflict").getResource().getImageIcon(this); 196 196 updateEnabledState(); 197 197 } -
trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java
r10179 r10357 259 259 putValue(Action.SHORT_DESCRIPTION, tr("Cancel uploading")); 260 260 putValue(Action.NAME, tr("Cancel")); 261 putValue(Action.SMALL_ICON, ImageProvider.get("", "cancel"));261 new ImageProvider("cancel").getResource().getImageIcon(this); 262 262 getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW) 263 263 .put(KeyStroke.getKeyStroke("ESCAPE"), "ESCAPE"); … … 277 277 putValue(Action.SHORT_DESCRIPTION, tr("Continue uploading")); 278 278 putValue(Action.NAME, tr("Continue")); 279 putValue(Action.SMALL_ICON, ImageProvider.get("", "upload"));279 new ImageProvider("upload").getResource().getImageIcon(this); 280 280 updateEnabledState(); 281 281 } -
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r10217 r10357 164 164 165 165 DeleteAction() { 166 putValue(SMALL_ICON, ImageProvider.get("dialogs", "delete"));166 new ImageProvider("dialogs", "delete").getResource().getImageIcon(this); 167 167 putValue(SHORT_DESCRIPTION, tr("Delete the selection in the tag table")); 168 168 getSelectionModel().addListSelectionListener(this); … … 253 253 class AddAction extends AbstractAction implements PropertyChangeListener { 254 254 AddAction() { 255 putValue(SMALL_ICON, ImageProvider.get("dialogs", "add"));255 new ImageProvider("dialogs", "add").getResource().getImageIcon(this); 256 256 putValue(SHORT_DESCRIPTION, tr("Add a new tag")); 257 257 TagTable.this.addPropertyChangeListener(this); … … 287 287 class PasteAction extends AbstractAction implements PropertyChangeListener { 288 288 PasteAction() { 289 putValue(SMALL_ICON, ImageProvider.get("", "pastetags"));289 new ImageProvider("pastetags").getResource().getImageIcon(this); 290 290 putValue(SHORT_DESCRIPTION, tr("Paste tags from buffer")); 291 291 TagTable.this.addPropertyChangeListener(this);
Note:
See TracChangeset
for help on using the changeset viewer.