// On wave action fire an event.
SearchPresenter.WaveActionHandler actionHandler =
new SearchPresenter.WaveActionHandler() {
@Override
public void onCreateWave() {
ClientEvents.get().fireEvent(new WaveCreationEvent());
}
@Override
public void onWaveSelected(WaveId id) {
ClientEvents.get().fireEvent(new WaveSelectionEvent(WaveRef.of(id)));