@Override
    public void populate(Menu menu) {
        final ObservableList<MenuItem> items = menu.getItems();
        items.clear();
        for (final MenuItemFactory factory : factories) {
            items.add(factory.createMenuItem());
        }
    }
Default implementation of {@link MenuBarTabHandler}.

@author Emil Forslund
@since  3.1.5
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/menubar/MenuBarTabHandlerImpl.java