Skip to content

Add SVGs to org.eclipse.pde.ui bundles#1734

Merged
HannesWell merged 1 commit intoeclipse-pde:masterfrom
Michael5601:org.eclipse.pde.ui.SVGs
May 6, 2025
Merged

Add SVGs to org.eclipse.pde.ui bundles#1734
HannesWell merged 1 commit intoeclipse-pde:masterfrom
Michael5601:org.eclipse.pde.ui.SVGs

Conversation

@Michael5601
Copy link
Copy Markdown
Contributor

This PR adds SVGs for all icons in the bundle org.eclipse.pde.ui and org.eclipse.pde.ui.templates except for the following as these are not available as SVG yet:

org.eclipse.pde.ui/bndtools/bndrun.svg
org.eclipse.pde.ui/bndtools/bundle.svg
org.eclipse.pde.ui/bndtools/database.svg
org.eclipse.pde.ui/elcl16/cleanmanifest.svg
org.eclipse.pde.ui/etool16/eclipse.svg
org.eclipse.pde.ui/obj16/eclipse.svg
org.eclipse.pde.ui.templates/etool16/e4.svg

I did not change occurences of PNGs in classes like ExtensionSection, AboutSection or WindowImagesSection in org.eclipse.pde.ui as this would change business functionality and I don't know the side effects of it or if they are even connected to viewing images in the IDE.

I did not change any references to sample.png or eclipseXX.png in org.eclipse.pde.ui.templates as these are references to other bundles or maybe placeholders.

Copy link
Copy Markdown
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not change occurences of PNGs in classes like ExtensionSection, AboutSection or WindowImagesSection in org.eclipse.pde.ui as this would change business functionality and I don't know the side effects of it or if they are even connected to viewing images in the IDE.

I think we need to go other this in a separate step and see whether we need to allow SVGs in addition to PNGs and GIFs, like we need to do for the Plug-in Image Browser (#1722).

@HannesWell
Copy link
Copy Markdown
Member

org.eclipse.pde.ui/bndtools/bndrun.svg
org.eclipse.pde.ui/bndtools/bundle.svg
org.eclipse.pde.ui/bndtools/database.svg

These images might come from https://github.com/bndtools/bnd, @laeubi can you tell?

I did not change occurences of PNGs in classes like ExtensionSection, AboutSection or WindowImagesSection in org.eclipse.pde.ui as this would change business functionality and I don't know the side effects of it or if they are even connected to viewing images in the IDE.

I did not change any references to sample.png or eclipseXX.png in org.eclipse.pde.ui.templates as these are references to other bundles or maybe placeholders.

I'll have a look at this. If possible, I would prefer to change this now.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2025

Test Results

   285 files  ±0     285 suites  ±0   49m 14s ⏱️ - 1m 3s
 3 611 tests ±0   3 535 ✅ ±0   76 💤 ±0  0 ❌ ±0 
11 025 runs  ±0  10 794 ✅ ±0  231 💤 ±0  0 ❌ ±0 

Results for commit cc9c9bd. ± Comparison against base commit 4873af8.

♻️ This comment has been updated with latest results.

This commit adds SVGs for all icons in the bundle `org.eclipse.pde.ui`
and `org.eclipse.pde.ui.templates` except for the following as these are
not available as SVG yet:

org.eclipse.pde.ui/bndtools/bndrun.svg
org.eclipse.pde.ui/bndtools/bundle.svg
org.eclipse.pde.ui/bndtools/database.svg
org.eclipse.pde.ui/elcl16/cleanmanifest.svg
org.eclipse.pde.ui/etool16/eclipse.svg
org.eclipse.pde.ui/obj16/eclipse.svg
org.eclipse.pde.ui.templates/etool16/e4.svg

I did not change occurrences of PNGs in classes like `ExtensionSection`,
`AboutSection` or `WindowImagesSection` in `org.eclipse.pde.ui` as this
would change business functionality and I don't know the side effects of
it or if they are even connected to viewing images in the IDE.

I did not change any references to `sample.png` or `eclipseXX.png` in
`org.eclipse.pde.ui.templates` as these are references to other bundles
or maybe placeholders.
Copy link
Copy Markdown
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good. Thanks.

I did not change occurences of PNGs in classes like ExtensionSection, AboutSection or WindowImagesSection in org.eclipse.pde.ui as this would change business functionality and I don't know the side effects of it or if they are even connected to viewing images in the IDE.

I looked into it and made the possible changes in

@HannesWell HannesWell merged commit bdaf432 into eclipse-pde:master May 6, 2025
19 checks passed
@iloveeclipse
Copy link
Copy Markdown
Member

This PR most likely introduces regression, see #1766

@Michael5601 Michael5601 deleted the org.eclipse.pde.ui.SVGs branch May 7, 2025 09:39
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.

4 participants