org.eclipse.jface.dialogs.ErrorDialog.populateList()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.eclipse.jface.dialogs.ErrorDialog.populateList()方法的一些代码示例,展示了ErrorDialog.populateList()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ErrorDialog.populateList()方法的具体详情如下:
包路径:org.eclipse.jface.dialogs.ErrorDialog
类名称:ErrorDialog
方法名:populateList

ErrorDialog.populateList介绍

[英]Populates the list using this error dialog's status object. This walks the child static of the status object and displays them in a list. The format for each entry is status_path : status_message If the status's path was null then it (and the colon) are omitted.
[中]使用此错误对话框的状态对象填充列表。这将遍历status对象的子静态对象,并将它们显示在列表中。每个条目的格式为status_path:status_message如果状态的路径为null,则省略它(和冒号)。

代码示例

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface

/**
 * Populates the list using this error dialog's status object. This walks
 * the child static of the status object and displays them in a list. The
 * format for each entry is status_path : status_message If the status's
 * path was null then it (and the colon) are omitted.
 *
 * @param listToPopulate
 *            The list to fill.
 *
 * @see #listContentExists()
 */
private void populateList(List listToPopulate) {
  populateList(listToPopulate, status, 0,
      shouldIncludeTopLevelErrorInDetails);
}

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface

/**
 * Populates the list using this error dialog's status object. This walks
 * the child static of the status object and displays them in a list. The
 * format for each entry is status_path : status_message If the status's
 * path was null then it (and the colon) are omitted.
 * 
 * @param listToPopulate
 *            The list to fill.
 * 
 * @see #listContentExists()
 */
private void populateList(List listToPopulate) {
  populateList(listToPopulate, status, 0,
      shouldIncludeTopLevelErrorInDetails);
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

/**
 * Populates the list using this error dialog's status object. This walks
 * the child static of the status object and displays them in a list. The
 * format for each entry is status_path : status_message If the status's
 * path was null then it (and the colon) are omitted.
 *
 * @param listToPopulate
 *            The list to fill.
 *
 * @see #listContentExists()
 */
private void populateList(List listToPopulate) {
  populateList(listToPopulate, status, 0,
      shouldIncludeTopLevelErrorInDetails);
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface

/**
 * Repopulate the supplied list widget.
 */
private void repopulateList() {
  if (list != null && !list.isDisposed()) {
    list.removeAll();
    populateList(list);
  }
}

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface

/**
 * Repopulate the supplied list widget.
 */
private void repopulateList() {
  if (list != null && !list.isDisposed()) {
    list.removeAll();
    populateList(list);
  }
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

/**
 * Repopulate the supplied list widget.
 */
private void repopulateList() {
  if (list != null && !list.isDisposed()) {
    list.removeAll();
    populateList(list);
  }
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface

populateList(listToPopulate, eStatus, nesting, true);
populateList(listToPopulate, element, nesting, true);

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface

populateList(listToPopulate, eStatus, nesting, true);
populateList(listToPopulate, children[i], nesting, true);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

populateList(listToPopulate, eStatus, nesting, true);
populateList(listToPopulate, children[i], nesting, true);

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface

| SWT.MULTI);
populateList(list);
GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
    | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL

代码示例来源:origin: org.eclipse.platform/org.eclipse.jface

| SWT.MULTI);
populateList(list);
GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
    | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

| SWT.MULTI);
populateList(list);
GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
    | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL

相关文章