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

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

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

ErrorDialog.listContentExists介绍

[英]This method checks if any content will be placed on the list. It mimics the behavior of #populateList(List).
[中]此方法检查是否有任何内容将放置在列表上。它模仿了#populateList(列表)的行为。

代码示例

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

/**
 * This method checks if any content will be placed on the list.
 * It mimics the behavior of {@link #populateList(List)}.
 * 
 * @return true if {@link #populateList(List)} will add anything to a list
 * 
 * @see #populateList(List)
 */
private boolean listContentExists() {
  return listContentExists(status, shouldIncludeTopLevelErrorInDetails);
}

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

/**
 * Return whether the Details button should be included. This method is
 * invoked once when the dialog is built. Default implementation is tight to
 * default implementation of {@link #createDropDownList(Composite)} and
 * displays details button if there is anything on the display list.
 *
 * @return whether the Details button should be included
 * @since 3.1
 * @see #createDropDownList(Composite)
 */
protected boolean shouldShowDetailsButton() {
  return listContentExists();
}

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

/**
 * This method checks if any content will be placed on the list.
 * It mimics the behavior of {@link #populateList(List)}.
 *
 * @return true if {@link #populateList(List)} will add anything to a list
 *
 * @see #populateList(List)
 */
private boolean listContentExists() {
  return listContentExists(status, shouldIncludeTopLevelErrorInDetails);
}

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

/**
 * This method checks if any content will be placed on the list.
 * It mimics the behavior of {@link #populateList(List)}.
 *
 * @return true if {@link #populateList(List)} will add anything to a list
 *
 * @see #populateList(List)
 */
private boolean listContentExists() {
  return listContentExists(status, shouldIncludeTopLevelErrorInDetails);
}

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

/**
 * Return whether the Details button should be included. This method is
 * invoked once when the dialog is built. Default implementation is tight to
 * default implementation of {@link #createDropDownList(Composite)} and 
 * displays details button if there is anything on the display list.
 * 
 * @return whether the Details button should be included
 * @see #createDropDownList(Composite)
 */
protected boolean shouldShowDetailsButton() {
  return listContentExists();
}

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

/**
 * Return whether the Details button should be included. This method is
 * invoked once when the dialog is built. Default implementation is tight to
 * default implementation of {@link #createDropDownList(Composite)} and
 * displays details button if there is anything on the display list.
 *
 * @return whether the Details button should be included
 * @since 3.1
 * @see #createDropDownList(Composite)
 */
protected boolean shouldShowDetailsButton() {
  return listContentExists();
}

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

result |= listContentExists(eStatus, true);
result |= listContentExists(children[i], true);

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

result |= listContentExists(eStatus, true);
result |= listContentExists(children[i], true);

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

result |= listContentExists(eStatus, true);
result |= listContentExists(element, true);

相关文章