Examples of ChangeInfo


Examples of com.amazonaws.services.route53.model.ChangeInfo

    request.setChangeBatch(changeRequest);

    final ChangeResourceRecordSetsResult result = amazonClient
        .changeResourceRecordSets(request);

    final ChangeInfo changeResult = result.getChangeInfo();

    logger.info("changeResult : \n{}", changeResult);

  }
View Full Code Here

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

  }

  private ChangeInfo newChangeInfo(final Change ac,
      Map<Change.Id,PatchSet.Id> ancestorPatchIds) {
    aic.want(ac.getOwner());
    ChangeInfo ci;
    if (ancestorPatchIds == null) {
      ci = new ChangeInfo(ac);
    } else {
      ci = new ChangeInfo(ac, ancestorPatchIds.get(ac.getId()));
    }
    ci.setStarred(isStarred(ac));
    return ci;
  }
View Full Code Here

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

          parent.insertChangeRow(dataBegin + rows);
          rows++;
        }

        for (int i = 0; i < sz; i++) {
          ChangeInfo c = changeList.get(i);
          parent.populateChangeRow(dataBegin + i, c);
          cids.add(c.getId());
        }

        switch (viewType) {
          case NONE:
            break;
View Full Code Here

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

      }
    });
  }

  protected void onStarClick(final int row) {
    final ChangeInfo c = getRowItem(row);
    if (c != null && Gerrit.isSignedIn()) {
      ((StarredChanges.Icon) table.getWidget(row, C_STAR)).toggleStar();
    }
  }
View Full Code Here

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

    return item.getId();
  }

  @Override
  protected void onOpenRow(final int row) {
    final ChangeInfo c = getRowItem(row);
    Gerrit.display(PageLinks.toChange(c), new ChangeScreen(c));
  }
View Full Code Here

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

      @Override
      public void onSuccess(final ApprovalSummarySet as) {
        Map<Change.Id, ApprovalSummary> ids = as.getSummaryMap();
        AccountInfoCache aic = as.getAccountInfoCache();
        for (int row = dataBegin; row < dataBegin + rows; row++) {
          final ChangeInfo c = getRowItem(row);
          if (ids.containsKey(c.getId())) {
            displayApprovals(row, ids.get(c.getId()), aic, highlightUnreviewed);
          }
        }
      }
    };
  }
View Full Code Here

Examples of com.google.gerrit.extensions.common.ChangeInfo

        Optional<ChangeInfo> selectedChange = getSelectedChange(anActionEvent);
        if (!selectedChange.isPresent()) {
            return;
        }
        Project project = anActionEvent.getData(PlatformDataKeys.PROJECT);
        ChangeInfo changeInfo = selectedChange.get();
        gerritUtil.changeStarredStatus(changeInfo.id, !(changeInfo.starred != null && changeInfo.starred), project);
    }
View Full Code Here

Examples of org.netbeans.spi.editor.hints.ChangeInfo

                public String getText() {
                    return "click here to upgrade version";
                }

                public ChangeInfo implement() throws Exception {
                    ChangeInfo ch = new ChangeInfo();
                    ConvertVersion vers = new ConvertVersion();
                    vers.actionPerformed(null);
                    //JOptionPane.showMessageDialog(null, "Fix");
                    return ch;
                }
View Full Code Here

Examples of org.olat.modules.wiki.versioning.ChangeInfo

   * showdelete        Part of printout.
   * Expects printoldline is at a deletion.
   */
  private void showDelete(List result) {
    if (printstatus != delete) {
      ChangeInfo info = new ChangeInfo(ChangeInfo.DELETE, printoldline, printoldline);
      setLast(info, result);
    }
    printstatus = delete;
    lines.add(oldInfo.symbol[printoldline].getSymbol());
    anyprinted = true;
View Full Code Here

Examples of org.olat.modules.wiki.versioning.ChangeInfo

   */
  private void showInsert(List result) {
    if (printstatus == change) {
      // result.add(">>>>     CHANGED TO");
    } else if (printstatus != insert) {
      ChangeInfo info = new ChangeInfo(ChangeInfo.INSERT, printoldline, printoldline);
      setLast(info, result);
    }
    printstatus = insert;
    lines.add(newInfo.symbol[printnewline].getSymbol());
    anyprinted = true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.