@@ -488,9 +488,9 @@ private Node createToolbar() {
488488 new Separator (Orientation .VERTICAL ),
489489 factory .createIconButton (StandardActions .UNDO , new UndoRedoAction (StandardActions .UNDO , this , dialogService , stateManager )),
490490 factory .createIconButton (StandardActions .REDO , new UndoRedoAction (StandardActions .REDO , this , dialogService , stateManager )),
491- factory .createIconButton (StandardActions .CUT , new EditAction (StandardActions .CUT ,this , stateManager )),
492- factory .createIconButton (StandardActions .COPY , new EditAction (StandardActions .COPY ,this , stateManager )),
493- factory .createIconButton (StandardActions .PASTE , new EditAction (StandardActions .PASTE ,this , stateManager )),
491+ factory .createIconButton (StandardActions .CUT , new EditAction (StandardActions .CUT , this , stateManager )),
492+ factory .createIconButton (StandardActions .COPY , new EditAction (StandardActions .COPY , this , stateManager )),
493+ factory .createIconButton (StandardActions .PASTE , new EditAction (StandardActions .PASTE , this , stateManager )),
494494 new Separator (Orientation .VERTICAL ),
495495 pushToApplicationButton ,
496496 factory .createIconButton (StandardActions .GENERATE_CITE_KEYS , new GenerateBibtexKeyAction (this , dialogService , stateManager )),
@@ -723,7 +723,7 @@ private MenuBar createMenu() {
723723
724724 new SeparatorMenuItem (),
725725
726- factory .createMenuItem (StandardActions .REPLACE_ALL , new ReplaceStringAction ( this , stateManager )),
726+ factory .createMenuItem (StandardActions .REPLACE_ALL , new ReplaceStringAction (this , stateManager )),
727727 factory .createMenuItem (StandardActions .GENERATE_CITE_KEYS , new GenerateBibtexKeyAction (this , dialogService , stateManager )),
728728
729729 new SeparatorMenuItem (),
@@ -780,16 +780,21 @@ private MenuBar createMenu() {
780780 factory .createMenuItem (StandardActions .UNABBREVIATE , new AbbreviateAction (StandardActions .UNABBREVIATE , this , dialogService , stateManager , prefs ))
781781 );
782782
783- lookup .getItems ().addAll (
784- factory .createMenuItem (StandardActions .FIND_DUPLICATES , new DuplicateSearch (this , dialogService , stateManager ))
785- );
786-
787783 Menu lookupIdentifiers = factory .createSubMenu (StandardActions .LOOKUP_DOC_IDENTIFIER );
788784 for (IdFetcher <?> fetcher : WebFetchers .getIdFetchers (Globals .prefs .getImportFormatPreferences ())) {
789785 LookupIdentifierAction <?> identifierAction = new LookupIdentifierAction <>(this , fetcher , stateManager , undoManager );
790786 lookupIdentifiers .getItems ().add (factory .createMenuItem (identifierAction .getAction (), identifierAction ));
791787 }
792788
789+ lookup .getItems ().addAll (
790+ lookupIdentifiers ,
791+ factory .createMenuItem (StandardActions .DOWNLOAD_FULL_TEXT , new DownloadFullTextAction (dialogService , stateManager , prefs )),
792+
793+ new SeparatorMenuItem (),
794+
795+ factory .createMenuItem (StandardActions .FIND_UNLINKED_FILES , new FindUnlinkedFilesAction (this , stateManager ))
796+ );
797+
793798 // PushToApplication
794799 final PushToApplicationAction pushToApplicationAction = pushToApplicationsManager .getPushToApplicationAction ();
795800 final MenuItem pushToApplicationMenuItem = factory .createMenuItem (pushToApplicationAction .getActionInformation (), pushToApplicationAction );
@@ -801,17 +806,11 @@ private MenuBar createMenu() {
801806
802807 new SeparatorMenuItem (),
803808
804- factory .createMenuItem (StandardActions .FIND_UNLINKED_FILES , new FindUnlinkedFilesAction (this , stateManager )),
805809 factory .createMenuItem (StandardActions .WRITE_XMP , new WriteXMPAction (stateManager , dialogService )),
806810 factory .createMenuItem (StandardActions .COPY_LINKED_FILES , new CopyFilesAction (stateManager , this .getDialogService ())),
807811
808812 new SeparatorMenuItem (),
809813
810- lookupIdentifiers ,
811- factory .createMenuItem (StandardActions .DOWNLOAD_FULL_TEXT , new DownloadFullTextAction (dialogService , stateManager , prefs )),
812-
813- new SeparatorMenuItem (),
814-
815814 factory .createMenuItem (StandardActions .SEND_AS_EMAIL , new SendAsEMailAction (dialogService , stateManager )),
816815 pushToApplicationMenuItem
817816 );
@@ -895,6 +894,7 @@ private MenuBar createMenu() {
895894 edit ,
896895 library ,
897896 quality ,
897+ lookup ,
898898 tools ,
899899 view ,
900900 options ,
0 commit comments