Skip to content

Switch to the ImageDescriptor in EntryInfo instead of Image.#497

Merged
ptziegler merged 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:use-imagedescriptor-for-entryinfo
Jul 2, 2023
Merged

Switch to the ImageDescriptor in EntryInfo instead of Image.#497
ptziegler merged 1 commit into
eclipse-windowbuilder:masterfrom
ptziegler:use-imagedescriptor-for-entryinfo

Conversation

@ptziegler

Copy link
Copy Markdown
Contributor

Similar to IEntry, we shouldn't use Images directly inside the data model, due to having to explicitly dispose them, once they are no longer needed. This problem doesn't exist when using ImageDescriptors instead. Where necessary, image instances are created via a resource manager. In order to remain compatible with the old image-based API, images are converted into descriptors via ImageDescriptor.createFromImage()

@ptziegler

Copy link
Copy Markdown
Contributor Author

#260 #486

@github-actions

github-actions Bot commented Jul 1, 2023

Copy link
Copy Markdown

Unit Test Results

       16 files         16 suites   50m 54s ⏱️
  7 214 tests   7 214 ✔️ 0 💤 0
14 436 runs  14 436 ✔️ 0 💤 0

Results for commit 399466f.

♻️ This comment has been updated with latest results.

@ptziegler ptziegler force-pushed the use-imagedescriptor-for-entryinfo branch 2 times, most recently from ffc5c57 to 64f1da4 Compare July 1, 2023 08:36
Similar to IEntry, we shouldn't use Images directly inside the data
model, due to having to explicitly dispose them, once they are no longer
needed. This problem doesn't exist when using ImageDescriptors instead.
Where necessary, image instances are created via a resource manager. In
order to remain compatible with the old image-based API, images are
converted into descriptors via ImageDescriptor.createFromImage()
@ptziegler ptziegler force-pushed the use-imagedescriptor-for-entryinfo branch from 64f1da4 to 399466f Compare July 1, 2023 09:13
@ptziegler ptziegler merged commit ff9c1dc into eclipse-windowbuilder:master Jul 2, 2023
@ptziegler ptziegler deleted the use-imagedescriptor-for-entryinfo branch July 2, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant