Changeset 6403 in josm for trunk/src/org/openstreetmap/josm/gui/tagging
- Timestamp:
- 2013-11-23T14:21:45+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r6326 r6403 123 123 return group != null ? group.getRawName() + "/" + name : name; 124 124 } 125 126 /* 125 126 /** 127 * Returns the preset icon. 128 * @return The preset icon, or {@code null} if none defined 129 * @since 6403 130 */ 131 public final ImageIcon getIcon() { 132 Object icon = getValue(Action.SMALL_ICON); 133 if (icon instanceof ImageIcon) { 134 return (ImageIcon) icon; 135 } 136 return null; 137 } 138 139 /** 127 140 * Called from the XML parser to set the icon. 128 141 * This task is performed in the background in order to speedup startup. … … 156 169 } 157 170 158 /* 171 /** 159 172 * Called from the XML parser to set the types this preset affects. 160 173 */
Note:
See TracChangeset
for help on using the changeset viewer.