@Override
public void onClick(ClickEvent event) {
CommandEvent.fire(new SystemSetPerspectiveCommand(
SystemSetPerspectiveCommand.VIEW_PREVIEW));
if (totalPages > 0) {
CommandEvent.fire(new SystemViewPageIndexCommand());
}
}
});
prevButton = buildButton("Previous Page", Icons.editorIcons.PagePrevious(), new ClickHandler() {
@Override