@@ -488,9 +488,9 @@ private Node createToolbar() {
488
488
new Separator (Orientation .VERTICAL ),
489
489
factory .createIconButton (StandardActions .UNDO , new UndoRedoAction (StandardActions .UNDO , this , dialogService , stateManager )),
490
490
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 )),
494
494
new Separator (Orientation .VERTICAL ),
495
495
pushToApplicationButton ,
496
496
factory .createIconButton (StandardActions .GENERATE_CITE_KEYS , new GenerateBibtexKeyAction (this , dialogService , stateManager )),
@@ -723,7 +723,7 @@ private MenuBar createMenu() {
723
723
724
724
new SeparatorMenuItem (),
725
725
726
- factory .createMenuItem (StandardActions .REPLACE_ALL , new ReplaceStringAction ( this , stateManager )),
726
+ factory .createMenuItem (StandardActions .REPLACE_ALL , new ReplaceStringAction (this , stateManager )),
727
727
factory .createMenuItem (StandardActions .GENERATE_CITE_KEYS , new GenerateBibtexKeyAction (this , dialogService , stateManager )),
728
728
729
729
new SeparatorMenuItem (),
@@ -780,16 +780,21 @@ private MenuBar createMenu() {
780
780
factory .createMenuItem (StandardActions .UNABBREVIATE , new AbbreviateAction (StandardActions .UNABBREVIATE , this , dialogService , stateManager , prefs ))
781
781
);
782
782
783
- lookup .getItems ().addAll (
784
- factory .createMenuItem (StandardActions .FIND_DUPLICATES , new DuplicateSearch (this , dialogService , stateManager ))
785
- );
786
-
787
783
Menu lookupIdentifiers = factory .createSubMenu (StandardActions .LOOKUP_DOC_IDENTIFIER );
788
784
for (IdFetcher <?> fetcher : WebFetchers .getIdFetchers (Globals .prefs .getImportFormatPreferences ())) {
789
785
LookupIdentifierAction <?> identifierAction = new LookupIdentifierAction <>(this , fetcher , stateManager , undoManager );
790
786
lookupIdentifiers .getItems ().add (factory .createMenuItem (identifierAction .getAction (), identifierAction ));
791
787
}
792
788
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
+
793
798
// PushToApplication
794
799
final PushToApplicationAction pushToApplicationAction = pushToApplicationsManager .getPushToApplicationAction ();
795
800
final MenuItem pushToApplicationMenuItem = factory .createMenuItem (pushToApplicationAction .getActionInformation (), pushToApplicationAction );
@@ -801,17 +806,11 @@ private MenuBar createMenu() {
801
806
802
807
new SeparatorMenuItem (),
803
808
804
- factory .createMenuItem (StandardActions .FIND_UNLINKED_FILES , new FindUnlinkedFilesAction (this , stateManager )),
805
809
factory .createMenuItem (StandardActions .WRITE_XMP , new WriteXMPAction (stateManager , dialogService )),
806
810
factory .createMenuItem (StandardActions .COPY_LINKED_FILES , new CopyFilesAction (stateManager , this .getDialogService ())),
807
811
808
812
new SeparatorMenuItem (),
809
813
810
- lookupIdentifiers ,
811
- factory .createMenuItem (StandardActions .DOWNLOAD_FULL_TEXT , new DownloadFullTextAction (dialogService , stateManager , prefs )),
812
-
813
- new SeparatorMenuItem (),
814
-
815
814
factory .createMenuItem (StandardActions .SEND_AS_EMAIL , new SendAsEMailAction (dialogService , stateManager )),
816
815
pushToApplicationMenuItem
817
816
);
@@ -895,6 +894,7 @@ private MenuBar createMenu() {
895
894
edit ,
896
895
library ,
897
896
quality ,
897
+ lookup ,
898
898
tools ,
899
899
view ,
900
900
options ,
0 commit comments