Changeset 4908 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2012-02-08T22:31:29+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/Command.java
r4894 r4908 160 160 @Override public Collection<? extends OsmPrimitive> getParticipatingPrimitives() { 161 161 return cloneMap.keySet(); 162 } 163 164 public String getDescrpitionText() { 165 Object o = getDescription(); 166 if (o instanceof JLabel) { 167 return ((JLabel) o).getText(); 168 } else { 169 return o.toString(); 170 } 162 171 } 163 172
Note: See TracChangeset
for help on using the changeset viewer.