Пример #1
0
  public void notifyGroupChanged(String groupId) {
    // Clear cache
    groupTable.removeAllItems();
    groupListContainer.removeAllItems();

    // select changed group
    groupTable.select(groupListContainer.getIndexForObjectId(groupId));
  }
Пример #2
0
  @Override
  protected void initUi() {
    super.initUi();

    if (groupId == null) {
      selectElement(0);
    } else {
      selectElement(groupListContainer.getIndexForObjectId(groupId));
    }
  }