/** * 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); }
/** * 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(); }
/** * 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); }
/** * 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); }
/** * 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(); }
/** * 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(); }
result |= listContentExists(eStatus, true); result |= listContentExists(children[i], true);
result |= listContentExists(eStatus, true); result |= listContentExists(children[i], true);
result |= listContentExists(eStatus, true); result |= listContentExists(element, true);