@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("detailToggleButton") public void handleDetailAnchorClicked(final ClickEvent event) { presenter.setContentSelection(TestbedSelectionParams.DETAIL_VIEW.getValue()); }