Changeset 10356 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-06-12T00:00:29+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r9705 r10356 92 92 icon = getImageIconBounded(ImageProvider.ImageSizes.LARGEICON.getImageDimension()); 93 93 a.putValue(Action.LARGE_ICON_KEY, icon); 94 a.putValue("ImageResource", this); 95 } 96 97 /** 98 * Set both icons of an Action 99 * @param a The action for the icons 100 * @param addresource Adds an resource named "ImageResource" if <code>true</code> 101 * @since 10356 102 */ 103 public void getImageIcon(AbstractAction a, boolean addresource) { 104 getImageIcon(a); 105 if (addresource) { 106 a.putValue("ImageResource", this); 107 } 94 108 } 95 109
Note:
See TracChangeset
for help on using the changeset viewer.