Package com.google.gerrit.common.data

Examples of com.google.gerrit.common.data.GroupInfo


      }
    }

    void populate(final int row, final AccountGroupInclude k) {
      AccountGroup.Id id = k.getIncludeId();
      GroupInfo group = groups.get(id);
      CheckBox checkBox = new CheckBox();
      table.setWidget(row, 1, checkBox);
      checkBox.setEnabled(enabled);
      table.setWidget(row, 2,
          new Hyperlink(group.getName(), Dispatcher.toGroup(id)));
      table.setText(row, 3, groups.get(id).getDescription());

      final FlexCellFormatter fmt = table.getFlexCellFormatter();
      fmt.addStyleName(row, 1, Gerrit.RESOURCES.css().iconCell());
      fmt.addStyleName(row, 2, Gerrit.RESOURCES.css().dataCell());
View Full Code Here


   * Create an GroupInfoCache with the currently loaded AccountGroup entities.
   * */
  public GroupInfoCache create() {
    final List<GroupInfo> r = new ArrayList<GroupInfo>(out.size());
    for (final AccountGroup a : out.values()) {
      r.add(new GroupInfo(a));
    }
    return new GroupInfoCache(r);
  }
View Full Code Here

TOP

Related Classes of com.google.gerrit.common.data.GroupInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.