/**
* @param actionBars
*/
private void registerToolbarActions(final IActionBars actionBars) {
final IToolBarManager toolBarManager = actionBars.getToolBarManager();
fSortAction = new SortAction(getTreeViewer(), "Sort", new ErlElementSorter(
ErlElementSorter.SORT_ON_NAME), new ErlElementSorter(
ErlElementSorter.SORT_ON_EXPORT), null, false, ErlideUIPlugin
.getDefault().getPreferenceStore());
toolBarManager.add(fSortAction);
final IMenuManager viewMenuManager = actionBars.getMenuManager();