Skip to content

Conversation

@feilimb
Copy link
Contributor

@feilimb feilimb commented Oct 3, 2024

Modify the 'Close Active Editors' (plural) handler to add support for parts which represent an Editor and have been contributed via eg. PartDescriptors in a Model Fragment.

See also, the recent and similar PR: #2315

Associated with Issue#2176.

@mickaelistria - just tagging you here since you were good enough to review the other related PR recently (2315).

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2024

Test Results

 1 821 files  +3   1 821 suites  +3   1h 38m 48s ⏱️ - 1m 9s
 7 709 tests +1   7 481 ✅ +1  228 💤 ±0  0 ❌ ±0 
24 288 runs  +3  23 541 ✅ +3  747 💤 ±0  0 ❌ ±0 

Results for commit 0174c8f. ± Comparison against base commit 83bf670.

♻️ This comment has been updated with latest results.

@jukzi
Copy link
Contributor

jukzi commented Oct 8, 2024

Can you please add a junit test?

referenced issue: #2176

@feilimb
Copy link
Contributor Author

feilimb commented Oct 8, 2024

Can you please add a junit test?

@jukzi Certainly I can try - would there any pre-existing tests in the area of editor opening/closing (ideally compatibility layer plus E4 part descriptor fragment contribution) that you could point me towards as a starting point of reference?

@jukzi
Copy link
Contributor

jukzi commented Oct 8, 2024

sorry i am not familiar with e4, but you may look around in package org.eclipse.ui.tests.e4;

@feilimb
Copy link
Contributor Author

feilimb commented Oct 10, 2024

@jukzi JUnit test added now, hopefully it is sufficient for what needs to be covered

Copy link
Contributor

@jukzi jukzi left a comment

Choose a reason for hiding this comment

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

some minor code style issues only

@feilimb
Copy link
Contributor Author

feilimb commented Oct 10, 2024

Code style & copyright block changes applied, hopefully I caught everything there.

Copy link
Contributor

@jukzi jukzi left a comment

Choose a reason for hiding this comment

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

LGTM, lets wait a bit if someone else wants to review / test

… parts which represent an Editor and are contributed via eg. PartDescriptors in a Model Fragment. Associated with Issue#2176.

Include JUnit test.
@feilimb feilimb force-pushed the close_all_editors_e4_contribs branch from 5306d26 to 0174c8f Compare October 10, 2024 15:07
@feilimb
Copy link
Contributor Author

feilimb commented Oct 10, 2024

Merged all commits into one, and rebased branch - to see if the Workflows fare better.

@feilimb
Copy link
Contributor Author

feilimb commented Oct 22, 2024

LGTM, lets wait a bit if someone else wants to review / test

@jukzi there has been no more inputs on this PR in the meantime, do you think it would be possible to land it at this point?

@jukzi jukzi merged commit 0a3c1fd into eclipse-platform:master Oct 22, 2024
15 checks passed
@jukzi jukzi mentioned this pull request Oct 28, 2024
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.

3 participants