|
25 | 25 | import javafx.beans.value.ChangeListener; |
26 | 26 | import javafx.beans.value.ObservableValue; |
27 | 27 | import javafx.collections.ListChangeListener; |
| 28 | +import javafx.geometry.Orientation; |
28 | 29 | import javafx.scene.Node; |
29 | 30 | import javafx.scene.control.Alert; |
30 | 31 | import javafx.scene.control.Button; |
|
33 | 34 | import javafx.scene.control.Menu; |
34 | 35 | import javafx.scene.control.MenuBar; |
35 | 36 | import javafx.scene.control.ProgressBar; |
| 37 | +import javafx.scene.control.Separator; |
36 | 38 | import javafx.scene.control.SeparatorMenuItem; |
37 | 39 | import javafx.scene.control.SplitPane; |
38 | 40 | import javafx.scene.control.Tab; |
@@ -608,21 +610,21 @@ private Node createToolbar() { |
608 | 610 | leftSide.setMinWidth(100); |
609 | 611 | leftSide.prefWidthProperty().bind(sidePane.widthProperty()); |
610 | 612 | leftSide.maxWidthProperty().bind(sidePane.widthProperty()); |
611 | | - |
612 | 613 | PushToApplicationButton pushToExternal = new PushToApplicationButton(this, pushApplications.getApplications()); |
613 | 614 | HBox rightSide = new HBox( |
614 | 615 | factory.createIconButton(StandardActions.NEW_ARTICLE, new NewEntryAction(this, BiblatexEntryTypes.ARTICLE, dialogService, Globals.prefs)), |
615 | 616 | factory.createIconButton(StandardActions.DELETE_ENTRY, new OldDatabaseCommandWrapper(Actions.DELETE, this, Globals.stateManager)), |
616 | | - |
| 617 | + new Separator(Orientation.VERTICAL), |
617 | 618 | factory.createIconButton(StandardActions.UNDO, new OldDatabaseCommandWrapper(Actions.UNDO, this, Globals.stateManager)), |
618 | 619 | factory.createIconButton(StandardActions.REDO, new OldDatabaseCommandWrapper(Actions.REDO, this, Globals.stateManager)), |
619 | 620 | factory.createIconButton(StandardActions.CUT, new OldDatabaseCommandWrapper(Actions.CUT, this, Globals.stateManager)), |
620 | 621 | factory.createIconButton(StandardActions.COPY, new OldDatabaseCommandWrapper(Actions.COPY, this, Globals.stateManager)), |
621 | 622 | factory.createIconButton(StandardActions.PASTE, new OldDatabaseCommandWrapper(Actions.PASTE, this, Globals.stateManager)), |
622 | | - |
623 | | - factory.createIconButton(StandardActions.CLEANUP_ENTRIES, new OldDatabaseCommandWrapper(Actions.CLEANUP, this, Globals.stateManager)), |
| 623 | + new Separator(Orientation.VERTICAL), |
624 | 624 | factory.createIconButton(pushToExternal.getMenuAction(), pushToExternal), |
625 | | - |
| 625 | + factory.createIconButton(StandardActions.GENERATE_CITE_KEYS, new OldDatabaseCommandWrapper(Actions.MAKE_KEY, this, Globals.stateManager)), |
| 626 | + factory.createIconButton(StandardActions.CLEANUP_ENTRIES, new OldDatabaseCommandWrapper(Actions.CLEANUP, this, Globals.stateManager)), |
| 627 | + new Separator(Orientation.VERTICAL), |
626 | 628 | factory.createIconButton(StandardActions.FORK_ME, new OpenBrowserAction("https://github.com/JabRef/jabref")), |
627 | 629 | factory.createIconButton(StandardActions.OPEN_FACEBOOK, new OpenBrowserAction("https://www.facebook.com/JabRef/")), |
628 | 630 | factory.createIconButton(StandardActions.OPEN_TWITTER, new OpenBrowserAction("https://twitter.com/jabref_org")) |
|
0 commit comments