Changeset 4918 in josm for trunk/src/org/openstreetmap/josm/command/PurgeCommand.java
- Timestamp:
- 2012-02-11T18:56:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/PurgeCommand.java
r3486 r4918 13 13 import java.util.Set; 14 14 15 import javax.swing. JLabel;15 import javax.swing.Icon; 16 16 17 17 import org.openstreetmap.josm.data.osm.DataSet; … … 252 252 253 253 @Override 254 public Object getDescription() { 255 return new JLabel(trn("Purged {0} object", "Purged {0} objects", toPurge.size(), toPurge.size()), ImageProvider.get("data", "purge"), JLabel.HORIZONTAL); 254 public String getDescriptionText() { 255 return trn("Purged {0} object", "Purged {0} objects", toPurge.size(), toPurge.size()); 256 } 257 258 @Override 259 public Icon getDescriptionIcon() { 260 return ImageProvider.get("data", "purge"); 256 261 } 257 262
Note:
See TracChangeset
for help on using the changeset viewer.