-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add a new "Upgrade" button to EE #1178
Comments
Even simpler from end user POV could be double click on the EE and be able to edit directly. |
Yes but "discover" this might be problematic, so there should always be a "visible way" (aka button/link) to do this as well |
@laeubi Should the contents of the dialog be sorted as below ? [JavaSE-21, JavaSE-20, JavaSE-19, JavaSE-18, JavaSE-17, JavaSE-16, JavaSE-15, JavaSE-14, JavaSE-13, JavaSE-12, JavaSE-11, JavaSE-10, JavaSE-9, JavaSE-1.8, JavaSE-1.7, JavaSE-1.6, J2SE-1.5, J2SE-1.4, J2SE-1.3-NO-SOUND, J2SE-1.3, OSGi/Minimum-1.2, J2SE-1.2, OSGi/Minimum-1.1, JRE-1.1, CDC-1.1/Foundation-1.1, OSGi/Minimum-1.0, CDC-1.0/Foundation-1.0] |
@lathapatil yes that's correct, so "highest" java should be on top. |
There is a confusion in implementing this in the specified order (Highest Java to lowest). Which Approach is preferred ? Problem : Even if we sort the list in the desired order and set the elements to dialog, the parent class (FilteredList) is sorting it back to its original form. Approach 1: Approach 2: |
@lathapatil I think the best would be to enhance |
My mistake. We already have the option to set our own comparator to FilteredList. The only thing missing was the ability to sort in descending order, which I managed to achieve within my comparator itself! |
@laeubi Should it also remove OSGI/Minimum and CDC environments if multiple entries are there already ?
with |
I would say yes, but if it makes any complications we can simply disable the functionality if multiple EEs are currently defined, that's a really rare case anyways and most likely incorrect anyways if one upgrades one of them.. |
@laeubi, Thanks for the clarification. I will consider this. Could there be a scenario where either I Just referred https://wiki.eclipse.org/Execution_Environments#What_are_Execution_Environments.3F, and if I'm not mistaken, OSGi or CDC cannot exist independently within the execution environment section. |
@laeubi I have received some concerns from my colleagues regarding the EEs displayed here, which are not grouped based on EE's name like before and are now scattered, especially the OSGI and CDC ones. Can we have the sorted list as below or as shown in image above ?
|
@lathapatil can you explain what concerns are expressed? are almost always useless today showing them on the top feels not right. |
I agree, they'd be better listed last probably. |
Yes. Not necessarily listing CDC on top, but the concern was to group similar EEs together. To reduce complexity, we can proceed as agreed before, sorting versions in descending order regardless of the names of EEs. |
Currently PDE only support adding and removing EEs:
but a more common thing is to upgrade to a new EE, currently this requires:
There should be a new "Upgrade" button that allows to select the new EE, removes all old ones and updates the classpath in one go.
As part of this, this dialog should then be sorted by EE in descending order (highest EE first):
The text was updated successfully, but these errors were encountered: