public void run() { internalRefresh(element, updateLabels); } });
public void run() { internalRefresh(element); } });
/** * Refreshes this viewer starting at the given element. Labels are updated * as described in <code>refresh(boolean updateLabels)</code>. * <p> * The default implementation simply calls * <code>internalRefresh(element)</code>, ignoring * <code>updateLabels</code>. * <p> * If this method is overridden to do the actual refresh, then * <code>internalRefresh(Object element)</code> should simply call * <code>internalRefresh(element, true)</code>. * * @param element * the element * @param updateLabels * <code>true</code> to update labels for existing elements, * <code>false</code> to only update labels as needed, assuming * that labels for existing elements are unchanged. * * @since 2.0 */ protected void internalRefresh(Object element, boolean updateLabels) { internalRefresh(element); }
/** * Refreshes this viewer starting at the given element. Labels are updated * as described in <code>refresh(boolean updateLabels)</code>. * <p> * The default implementation simply calls * <code>internalRefresh(element)</code>, ignoring * <code>updateLabels</code>. * <p> * If this method is overridden to do the actual refresh, then * <code>internalRefresh(Object element)</code> should simply call * <code>internalRefresh(element, true)</code>. * * @param element * the element * @param updateLabels * <code>true</code> to update labels for existing elements, * <code>false</code> to only update labels as needed, assuming * that labels for existing elements are unchanged. * * @since 2.0 */ protected void internalRefresh(Object element, boolean updateLabels) { internalRefresh(element); }
/** * Refreshes this viewer starting at the given element. Labels are updated * as described in <code>refresh(boolean updateLabels)</code>. * <p> * The default implementation simply calls * <code>internalRefresh(element)</code>, ignoring * <code>updateLabels</code>. * <p> * If this method is overridden to do the actual refresh, then * <code>internalRefresh(Object element)</code> should simply call * <code>internalRefresh(element, true)</code>. * * @param element * the element * @param updateLabels * <code>true</code> to update labels for existing elements, * <code>false</code> to only update labels as needed, assuming * that labels for existing elements are unchanged. * * @since 1.0 */ protected void internalRefresh(Object element, boolean updateLabels) { internalRefresh(element); }
public void run() { internalRefresh(getRoot()); refreshOccurred = true; } });
/** * Refreshes this viewer starting with the given element. * <p> * Unlike the <code>update</code> methods, this handles structural changes * to the given element (e.g. addition or removal of children). If only the * given element needs updating, it is more efficient to use the * <code>update</code> methods. * </p> * * @param element * the element */ public void refresh(final Object element) { preservingSelection(() -> internalRefresh(element)); }
/** * Refreshes this viewer starting with the given element. * <p> * Unlike the <code>update</code> methods, this handles structural changes * to the given element (e.g. addition or removal of children). If only the * given element needs updating, it is more efficient to use the * <code>update</code> methods. * </p> * * @param element * the element */ public void refresh(final Object element) { preservingSelection(() -> internalRefresh(element)); }
/** * Refreshes this viewer starting with the given element. Labels are updated * as described in <code>refresh(boolean updateLabels)</code>. * <p> * Unlike the <code>update</code> methods, this handles structural changes * to the given element (e.g. addition or removal of children). If only the * given element needs updating, it is more efficient to use the * <code>update</code> methods. * </p> * * @param element * the element * @param updateLabels * <code>true</code> to update labels for existing elements, * <code>false</code> to only update labels as needed, assuming * that labels for existing elements are unchanged. * * @since 2.0 */ public void refresh(final Object element, final boolean updateLabels) { preservingSelection(() -> internalRefresh(element, updateLabels)); }
/** * Refreshes this viewer starting with the given element. Labels are updated * as described in <code>refresh(boolean updateLabels)</code>. * <p> * Unlike the <code>update</code> methods, this handles structural changes * to the given element (e.g. addition or removal of children). If only the * given element needs updating, it is more efficient to use the * <code>update</code> methods. * </p> * * @param element * the element * @param updateLabels * <code>true</code> to update labels for existing elements, * <code>false</code> to only update labels as needed, assuming * that labels for existing elements are unchanged. * * @since 2.0 */ public void refresh(final Object element, final boolean updateLabels) { preservingSelection(() -> internalRefresh(element, updateLabels)); }
internalRefresh(getRoot()); refreshOccurred = true; });
internalRefresh(getRoot()); refreshOccurred = true; });