//view.toolbarButton( "Refresh" ).click();
// just a workaround till view.toolbarButton() is fixed
Matcher matcher = allOf( widgetOfType( ToolItem.class ), withTooltip( "Refresh" ), withStyle( SWT.PUSH,
"SWT.PUSH" ) );
SWTBotToolbarButton button = new SWTBotToolbarButton( ( ToolItem ) new SWTWorkbenchBot().widget( matcher, 0 ), matcher );
button.click();
return view.bot().styledText().getText();
}