Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imported packages showing version of matching packages #1528

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nburnwal09
Copy link

The commit fixes Properties dialog of Imported packages showing version of matching packages. Implemented similar to required plugin properties section
Fixes #1501

@laeubi
One questions here:-

  1. Under what condition can the list contains plug-in or packages with same name and multiple version in respective Required Plug-ins and Imported Packages section?

@nburnwal09 nburnwal09 force-pushed the importPkgVersionMatch_fix branch from 00cdf58 to 6e0ab00 Compare December 19, 2024 06:12
@laeubi
Copy link
Contributor

laeubi commented Dec 19, 2024

@nburnwal09 for example if you have two version of SLF4J API in your target platform you will get multiple providers for that bundle/package version.

@nburnwal09 nburnwal09 force-pushed the importPkgVersionMatch_fix branch from 6e0ab00 to 0ab6d90 Compare December 19, 2024 11:06
@nburnwal09
Copy link
Author

@nburnwal09 for example if you have two version of SLF4J API in your target platform you will get multiple providers for that bundle/package version.

I have verified this. It's working.
Could you please review it.

@@ -61,16 +62,17 @@ public DependencyPropertiesDialog(boolean editable, ExportPackageObject object)

public DependencyPropertiesDialog(boolean editable, boolean showReexport, boolean export, boolean optional, String version, boolean showOptional, boolean isImport, String pluginId) {
super(PDEPlugin.getActiveWorkbenchShell());
isPlugin = showReexport;
Copy link
Contributor

Choose a reason for hiding this comment

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

If isPlugin equals fShowReexport it should not need a new field.

Beside this "fShowReexport" seem to indicate it is more about reexported packages?

@laeubi laeubi requested a review from HannesWell December 27, 2024 12:53
@laeubi laeubi force-pushed the importPkgVersionMatch_fix branch from 0ab6d90 to c8f78e6 Compare December 27, 2024 12:53
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.

Imported packages don't show version of matching plugins
2 participants