List of usage examples for com.vaadin.client UIDL getStringArrayVariableAsSet
public Set<String> getStringArrayVariableAsSet(final String name)
From source file:com.haulmont.cuba.web.toolkit.ui.client.grouptable.CubaGroupTableConnector.java
License:Apache License
@Override public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { if (uidl.hasVariable("groupColumns")) { getWidget().updateGroupColumns(uidl.getStringArrayVariableAsSet("groupColumns")); } else {//w w w . ja v a 2 s . co m getWidget().updateGroupColumns(null); } VScrollTable.VScrollTableBody.VScrollTableRow row = getWidget().focusedRow; super.updateFromUIDL(uidl, client); if (row instanceof CubaGroupTableWidget.CubaGroupTableBody.CubaGroupTableGroupRow) { getWidget().setRowFocus(getWidget().getRenderedGroupRowByKey( ((CubaGroupTableWidget.CubaGroupTableBody.CubaGroupTableGroupRow) row).getGroupKey())); } }