Changeset 4918 in josm for trunk/src/org/openstreetmap/josm/command/ModifiedConflictResolveCommand.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/ModifiedConflictResolveCommand.java
r3262 r4918 6 6 7 7 import java.util.Collection; 8 import javax.swing.Icon; 8 9 9 10 import javax.swing.JLabel; … … 33 34 } 34 35 35 @Override public JLabel getDescription() { 36 @Override 37 public String getDescriptionText() { 36 38 String msg = ""; 37 39 switch(OsmPrimitiveType.from(conflict.getMy())) { … … 40 42 case RELATION: msg = marktr("Set the ''modified'' flag for relation {0}"); break; 41 43 } 42 return new JLabel( 43 tr(msg,conflict.getMy().getId()), 44 ImageProvider.get("data", "object"), 45 JLabel.HORIZONTAL 46 ); 44 return tr(msg,conflict.getMy().getId()); 45 } 46 47 @Override 48 public Icon getDescriptionIcon() { 49 return ImageProvider.get("data", "object"); 47 50 } 48 51
Note:
See TracChangeset
for help on using the changeset viewer.