add(viewMenu, info);
add(viewMenu, infoweb);
add(viewMenu, historyinfo);
add(viewMenu, historyinfoweb);
viewMenu.addSeparator();
viewMenu.add(new PreferenceToggleAction(tr("Edit toolbar"),
tr("Toggles the visibility of the edit toolbar (i.e., the vertical tool)"),
"sidetoolbar.visible", true).getCheckbox());
// -- expert mode toggle action
final JCheckBoxMenuItem expertItem = new JCheckBoxMenuItem(ExpertToggleAction.getInstance());
viewMenu.add(expertItem);