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

Remove rarely usable Drag&Drop of EEs in Manifest-Editor Overview page #1321

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

HannesWell
Copy link
Member

@HannesWell HannesWell commented Jul 4, 2024

Drag&drop support was introduced via Bug 192890, but only supports reordering of required Execution-Environments in the same Plug-in project.
Because in the vast majority of cases Plug-ins only have one EE defined that feature is only rarely usable. And if a Plug-in project really defines multiple BREEs the Manifest Editor already provides an alternative with the 'Up' and 'Down' buttons next to the table.

grafik

While being only rarely usable support D&D support for required EEs makes it more difficult to support OSGi EE requirements in #1318.
Therefore I propose to remove it.

@laeubi, @merks or anbody else, do you have any objections?

@merks
Copy link
Contributor

merks commented Jul 4, 2024

There are many places where drag and drop would be nice for reordering but this seems at the very bottom of the list of useful places. 👍

Drag&drop support was introduced via Bug 192890, but only supports
reordering of required Execution-Environments in the same Plug-in
project.
Because in the vast majority of cases Plug-ins only have one BREE
defined, this feature is only rarely usable. And if a Plug-in project
really defines multiple BREEs, the Manifest Editor already provides an
alternative with the 'Up' and 'Down' buttons next to the table.

While being only rarely usable support D&D support for required EEs
makes it more difficult to support OSGi EE requirements. Therefore it is
removed.

[1] - https://bugs.eclipse.org/192890
@HannesWell
Copy link
Member Author

There are many places where drag and drop would be nice for reordering but this seems at the very bottom of the list of useful places. 👍

Absolutely.
Let's give other some time to react, but if there are no objections until tomorrow evening, I'll submit this.

Copy link

github-actions bot commented Jul 4, 2024

Test Results

  206 files   -    85    206 suites   - 85   34m 0s ⏱️ - 25m 26s
3 578 tests ±    0  3 502 ✅ ±    0   76 💤 ± 0  0 ❌ ±0 
7 402 runs   - 3 629  7 248 ✅  - 3 552  154 💤  - 77  0 ❌ ±0 

Results for commit 5791656. ± Comparison against base commit a794c56.

@laeubi
Copy link
Contributor

laeubi commented Jul 5, 2024

I don't even think the order matters at all, so maybe we can even remove the buttons...

@vogella
Copy link
Contributor

vogella commented Jul 5, 2024

+1 for removing DND here.

@HannesWell HannesWell merged commit f931d18 into eclipse-pde:master Jul 6, 2024
16 of 17 checks passed
@HannesWell HannesWell deleted the remove-unused-EE-DnD branch July 6, 2024 07:24
HannesWell added a commit to HannesWell/eclipse.pde that referenced this pull request Jul 6, 2024
Also remove CompositeManifestHeader.removeManifestElement(), which is
unused since
eclipse-pde#1321
HannesWell added a commit to HannesWell/eclipse.pde that referenced this pull request Jul 6, 2024
Also remove CompositeManifestHeader.removeManifestElement(), which is
unused since
eclipse-pde#1321
HannesWell added a commit that referenced this pull request Jul 6, 2024
Also remove CompositeManifestHeader.removeManifestElement(), which is
unused since
#1321
@HannesWell
Copy link
Member Author

I don't even think the order matters at all, so maybe we can even remove the buttons...

See #1324.

fedejeanne pushed a commit to fedejeanne/eclipse.pde that referenced this pull request Jul 31, 2024
Also remove CompositeManifestHeader.removeManifestElement(), which is
unused since
eclipse-pde#1321
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