Refactor OpenExternalFileAction #13508
Conversation
…ion and OpenSelectedEntriesFilesAction - Introduced OpenSingleExternalFileAction to handle single entry with one linked file - Introduced OpenSelectedEntriesFilesAction to handle multiple selection cases Fixes JabRef#13431
|
Hi @koppor, |
|
@Muskan244 look at submodules FAQ at https://devdocs.jabref.org/code-howtos/faq.html With the right sub module checkout, the tests will pass. |
|
Hi! I’ve pushed the requested changes, and it looks like all checks have passed. Just checking in to see if there's anything more I should do. Thanks again for guiding me through this! |
…13505) Bumps [org.junit.platform:junit-platform-launcher](https://github.com/junit-team/junit-framework) from 1.13.1 to 1.13.3. - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/commits) --- updated-dependencies: - dependency-name: org.junit.platform:junit-platform-launcher dependency-version: 1.13.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
|
I removed the check for the single file. Works here. I just ask for a second review. |
|
@trag-bot didn't find any issues in the code! ✅✨ |
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
* upstream/main: Bump com.squareup.okhttp3:okhttp from 5.0.0 to 5.1.0 in /versions (#13541) Fixed Issue 13418: "Search ShortSience" should do a latex-to-unicode conversion (#13532) New Crowdin updates (#13548) Add focus to field Link in the "Add file link" dialog. (#13520) Bump org.ow2.asm:asm from 9.6 to 9.8 in /versions (#13547) Make validation optional for saving library properties preferences (#13488) Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 in /versions (#13546) --porcelain does not output any info or warn errors on the console (#13469) Bump jablib/src/main/resources/csl-locales from `7e137db` to `3bad433` (#13545) Refine "File exists" warning (#13491) Bump org.openrewrite.recipe:rewrite-recipe-bom from 3.8.0 to 3.11.1 (#13544) Bump org.openrewrite.rewrite from 7.8.0 to 7.11.0 (#13542) Bump jablib/src/main/resources/csl-styles from `704ff9f` to `59f124d` (#13540) Add architecture test for logging infrastructure (#13534) More harsh test on title of PR New Crowdin updates (#13533) Update extra-java-module-info plugin (#13527) [Junie]: fix: display help output for --help argument (#13446) Refactor OpenExternalFileAction (#13508)
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
JabRef/jabref#13508 Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSelectedEntriesFilesAction Move Method public execute() : void from class org.jabref.gui.maintable.OpenExternalFileAction to public execute() : void from class org.jabref.gui.maintable.OpenSingleExternalFileAction
Closes #13431
This PR refactors the existing OpenExternalFileAction logic by introducing two separate files:
Steps to test
Mandatory checks
CHANGELOG.mddescribed in a way that is understandable for the average user (if change is visible to the user)