@Override public void setContentSelection(final String view) { mapToggleButton.setDown(TestbedSelectionParams.MAP_VIEW.getValue().equals(view)); detailToggleButton.setDown(TestbedSelectionParams.DETAIL_VIEW.getValue().equals(view)); rawToggleButton.setDown(TestbedSelectionParams.RAW_WISEML_VIEW.getValue().equals(view)); }
@UiHandler("mapToggleButton") public void handleMapAnchorClicked(final ClickEvent event) { presenter.setContentSelection(TestbedSelectionParams.MAP_VIEW.getValue()); }