|
60 | 60 | import org.jabref.gui.dialogs.AutosaveUIManager;
|
61 | 61 | import org.jabref.gui.documentviewer.ShowDocumentViewerAction;
|
62 | 62 | import org.jabref.gui.duplicationFinder.DuplicateSearch;
|
| 63 | +import org.jabref.gui.edit.CopyMoreAction; |
63 | 64 | import org.jabref.gui.edit.ManageKeywordsAction;
|
64 | 65 | import org.jabref.gui.edit.MassSetFieldsAction;
|
65 | 66 | import org.jabref.gui.edit.OpenBrowserAction;
|
@@ -703,11 +704,11 @@ private MenuBar createMenu() {
|
703 | 704 |
|
704 | 705 | factory.createMenuItem(StandardActions.COPY, new EditAction(Actions.COPY)),
|
705 | 706 | factory.createSubMenu(StandardActions.COPY_MORE,
|
706 |
| - factory.createMenuItem(StandardActions.COPY_TITLE, new OldDatabaseCommandWrapper(Actions.COPY_TITLE, this, stateManager)), |
707 |
| - factory.createMenuItem(StandardActions.COPY_KEY, new OldDatabaseCommandWrapper(Actions.COPY_KEY, this, stateManager)), |
708 |
| - factory.createMenuItem(StandardActions.COPY_CITE_KEY, new OldDatabaseCommandWrapper(Actions.COPY_CITE_KEY, this, stateManager)), |
709 |
| - factory.createMenuItem(StandardActions.COPY_KEY_AND_TITLE, new OldDatabaseCommandWrapper(Actions.COPY_KEY_AND_TITLE, this, stateManager)), |
710 |
| - factory.createMenuItem(StandardActions.COPY_KEY_AND_LINK, new OldDatabaseCommandWrapper(Actions.COPY_KEY_AND_LINK, this, stateManager)), |
| 707 | + factory.createMenuItem(StandardActions.COPY_TITLE, new CopyMoreAction(StandardActions.COPY_TITLE, dialogService, stateManager, Globals.clipboardManager, prefs)), |
| 708 | + factory.createMenuItem(StandardActions.COPY_KEY, new CopyMoreAction(StandardActions.COPY_KEY, dialogService, stateManager, Globals.clipboardManager, prefs)), |
| 709 | + factory.createMenuItem(StandardActions.COPY_CITE_KEY, new CopyMoreAction(StandardActions.COPY_CITE_KEY, dialogService, stateManager, Globals.clipboardManager, prefs)), |
| 710 | + factory.createMenuItem(StandardActions.COPY_KEY_AND_TITLE, new CopyMoreAction(StandardActions.COPY_KEY_AND_TITLE, dialogService, stateManager, Globals.clipboardManager, prefs)), |
| 711 | + factory.createMenuItem(StandardActions.COPY_KEY_AND_LINK, new CopyMoreAction(StandardActions.COPY_KEY_AND_LINK, dialogService, stateManager, Globals.clipboardManager, prefs)), |
711 | 712 | factory.createMenuItem(StandardActions.COPY_CITATION_PREVIEW, new CopyCitationAction(CitationStyleOutputFormat.HTML, dialogService, stateManager, Globals.clipboardManager, prefs.getPreviewPreferences())),
|
712 | 713 | factory.createMenuItem(StandardActions.EXPORT_SELECTED_TO_CLIPBOARD, new ExportToClipboardAction(this, dialogService))),
|
713 | 714 |
|
@@ -752,7 +753,7 @@ private MenuBar createMenu() {
|
752 | 753 |
|
753 | 754 | quality.getItems().addAll(
|
754 | 755 | factory.createMenuItem(StandardActions.FIND_DUPLICATES, new DuplicateSearch(this, dialogService, stateManager)),
|
755 |
| - factory.createMenuItem(StandardActions.MERGE_ENTRIES, new MergeEntriesAction(this.getCurrentBasePanel(), dialogService, stateManager)), |
| 756 | + factory.createMenuItem(StandardActions.MERGE_ENTRIES, new MergeEntriesAction(dialogService, stateManager)), |
756 | 757 | factory.createMenuItem(StandardActions.CHECK_INTEGRITY, new IntegrityCheckAction(this, stateManager, Globals.TASK_EXECUTOR)),
|
757 | 758 | factory.createMenuItem(StandardActions.CLEANUP_ENTRIES, new OldDatabaseCommandWrapper(Actions.CLEANUP, this, stateManager)),
|
758 | 759 |
|
|
0 commit comments