Skip to content

Commit 21df0ba

Browse files
committed
Add N&N for disabled image descriptor API
N&N for eclipse-platform/eclipse.platform.ui#4094
1 parent e78c635 commit 21df0ba

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

news/4.41/platform_isv.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22

33
A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgements.md#eclipse-platform) or [contributed to Equinox](acknowledgements.md#equinox) in this release!
44

5-
<!--
65
---
76
## Platform Changes
8-
-->
7+
8+
### Shared Disabled Image Descriptor on `ImageDescriptor`
9+
10+
<details>
11+
<summary>Contributors</summary>
12+
13+
- [Heiko Klare](https://github.com/HeikoKlare)
14+
</details>
15+
16+
`ImageDescriptor` now provides `asDisabledDescriptor()`, which returns a lazily created, shared `ImageDescriptor` for the disabled version of the image.
17+
This allows you to use a single descriptor with a `ResourceManager` to share both the original and disabled images, instead of managing two independent descriptors.
918

1019
<!--
1120
---

0 commit comments

Comments
 (0)