Package com.google.gerrit.client.ui

Examples of com.google.gerrit.client.ui.InlineHyperlink


      agreementGroup.add(new SmallHeading(Util.C.welcomeAgreementHeading()));
      final HTML whyAgreement = new HTML(Util.C.welcomeAgreementText());
      whyAgreement.setStyleName(Gerrit.RESOURCES.css().registerScreenExplain());
      agreementGroup.add(whyAgreement);

      choices.add(new InlineHyperlink(Util.C.newAgreement(),
          PageLinks.SETTINGS_NEW_AGREEMENT + "," + nextToken));
      choices
          .add(new InlineHyperlink(Util.C.welcomeAgreementLater(), nextToken));
      formBody.add(agreementGroup);
    } else {
      choices.add(new InlineHyperlink(Util.C.welcomeContinue(), nextToken));
    }
    formBody.add(choices);

    final FormPanel form = new FormPanel();
    form.add(formBody);
View Full Code Here


  /**
   * @return a link to the previous file in this patch set, or null.
   */
  public InlineHyperlink getPreviousPatchLink(int index, PatchScreen.Type patchType) {
    for(index--; index > -1; index--) {
      InlineHyperlink link = createLink(index, patchType, SafeHtml.asis(Util.C
          .prevPatchLinkIcon()), null);
      if (link != null) {
        return link;
      }
    }
View Full Code Here

  /**
   * @return a link to the next file in this patch set, or null.
   */
  public InlineHyperlink getNextPatchLink(int index, PatchScreen.Type patchType) {
    for(index++; index < patchList.size(); index++) {
      InlineHyperlink link = createLink(index, patchType, null, SafeHtml.asis(Util.C
          .nextPatchLinkIcon()));
      if (link != null) {
        return link;
      }
    }
View Full Code Here

    String owner = "";
    if (c.owner() != null && c.owner().name() != null) {
      owner = c.owner().name();
    }

    table.setWidget(row, C_OWNER, new InlineHyperlink(owner,
        PageLinks.toAccountQuery(owner)));

    table.setWidget(
        row, C_PROJECT, new ProjectLink(c.project_name_key(), c.status()));
    table.setWidget(row, C_BRANCH, new BranchLink(c.project_name_key(), c
View Full Code Here

    final FlowPanel fp = new FlowPanel();
    fp.setStyleName(Gerrit.RESOURCES.css().patchSetUserIdentity());
    if (who.getName() != null) {
      if (who.getAccount() != null) {
        fp.add(new InlineHyperlink(who.getName(),
            PageLinks.toAccountQuery(who.getName())));
      } else {
        final InlineLabel lbl = new InlineLabel(who.getName());
        lbl.setStyleName(Gerrit.RESOURCES.css().accountName());
        fp.add(lbl);
View Full Code Here

TOP

Related Classes of com.google.gerrit.client.ui.InlineHyperlink

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.