currentGrid.setHeight( 600 );
Toolbar tb = new Toolbar();
currentGrid.setTopToolbar( tb );
if ( result.total > -1 ) {
tb.addItem( new ToolbarTextItem( Format.format(constants.ShowingNofXItems().replace("X", "{0}").replace("Y", "{1}"), //NON-NLS
new String[]{"" + result.data.length, "" + result.total} ) ) );
} else {
tb.addItem( new ToolbarTextItem( Format.format(constants.NItems().replace("X", "{0}"),
new String[]{"" + result.data.length} ) ) );
}
if ( cursorPositions.peek() > 0 ) {