@@ -766,7 +766,16 @@ private MenuBar createMenu() {
766766
767767 new SeparatorMenuItem (),
768768
769- factory .createMenuItem (StandardActions .SET_FILE_LINKS , new AutoLinkFilesAction (this , prefs , stateManager , undoManager , Globals .TASK_EXECUTOR ))
769+ factory .createMenuItem (StandardActions .SET_FILE_LINKS , new AutoLinkFilesAction (this , prefs , stateManager , undoManager , Globals .TASK_EXECUTOR )),
770+
771+ new SeparatorMenuItem (),
772+
773+ factory .createSubMenu (StandardActions .ABBREVIATE ,
774+ factory .createMenuItem (StandardActions .ABBREVIATE_DEFAULT , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_DEFAULT , this , stateManager )),
775+ factory .createMenuItem (StandardActions .ABBREVIATE_MEDLINE , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_MEDLINE , this , stateManager )),
776+ factory .createMenuItem (StandardActions .ABBREVIATE_SHORTEST_UNIQUE , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_SHORTEST_UNIQUE , this , stateManager ))),
777+
778+ factory .createMenuItem (StandardActions .UNABBREVIATE , new OldDatabaseCommandWrapper (Actions .UNABBREVIATE , this , stateManager ))
770779 );
771780
772781 lookup .getItems ().addAll (
@@ -796,14 +805,7 @@ private MenuBar createMenu() {
796805 new SeparatorMenuItem (),
797806
798807 factory .createMenuItem (StandardActions .SEND_AS_EMAIL , new OldDatabaseCommandWrapper (Actions .SEND_AS_EMAIL , this , stateManager )),
799- pushToApplicationMenuItem ,
800-
801- factory .createSubMenu (StandardActions .ABBREVIATE ,
802- factory .createMenuItem (StandardActions .ABBREVIATE_DEFAULT , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_DEFAULT , this , stateManager )),
803- factory .createMenuItem (StandardActions .ABBREVIATE_MEDLINE , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_MEDLINE , this , stateManager )),
804- factory .createMenuItem (StandardActions .ABBREVIATE_SHORTEST_UNIQUE , new OldDatabaseCommandWrapper (Actions .ABBREVIATE_SHORTEST_UNIQUE , this , stateManager ))),
805-
806- factory .createMenuItem (StandardActions .UNABBREVIATE , new OldDatabaseCommandWrapper (Actions .UNABBREVIATE , this , stateManager ))
808+ pushToApplicationMenuItem
807809 );
808810
809811 SidePaneComponent webSearch = sidePaneManager .getComponent (SidePaneType .WEB_SEARCH );
0 commit comments