return new Button[] {
new Button("View A", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
ViewManager.get().dispatch(new ShowViewRequest(new ViewAInit(), null));
}
}),
new Button("View B", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
ViewManager.get().dispatch(new ShowViewRequest(new ViewBInit(dyn), null));
}
}),
new Button("View C", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
ViewManager.get().dispatch(new ShowViewRequest(ViewC.klas));
}
}),
new Button("View D", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
ViewManager.get().dispatch(new ShowViewRequest(ViewD.klas));
}
}),
new Button("View E", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
ViewManager.get().dispatch(new ShowViewRequest(ViewE.klas));
}
})
};
}