Changeset 10369 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-06-14T17:23:20+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r10358 r10369 108 108 * Set both icons of an Action 109 109 * @param a The action for the icons 110 * @since 7693111 */ 112 public void getImageIcon(AbstractAction a) {110 * @since 10368 111 */ 112 public void attachImageIcon(AbstractAction a) { 113 113 Dimension iconDimension = ImageProvider.ImageSizes.SMALLICON.getImageDimension(); 114 114 ImageIcon icon = getImageIconBounded(iconDimension); … … 125 125 * @param a The action for the icons 126 126 * @param addresource Adds an resource named "ImageResource" if <code>true</code> 127 * @since 103 56128 */ 129 public void getImageIcon(AbstractAction a, boolean addresource) {130 getImageIcon(a);127 * @since 10368 128 */ 129 public void attachImageIcon(AbstractAction a, boolean addresource) { 130 attachImageIcon(a); 131 131 if (addresource) { 132 132 a.putValue("ImageResource", this);
Note: See TracChangeset
for help on using the changeset viewer.