View | Details | Raw Unified | Return to bug 244496
Collapse All | Expand All

(-)src/org/eclipse/zest/core/viewers/internal/AbstractStructuredGraphViewer.java (+11 lines)
Lines 305-310 Link Here
305
		}
304
		}
306
	}
305
	}
307
306
307
	protected void internalRefresh(Object element, boolean updateLabels) {
308
		if (getInput() == null) {
309
			return;
310
		}
311
		if (element == getInput()) {
312
			getFactory().refreshGraph(getGraphControl());
313
		} else {
314
			getFactory().refresh(getGraphControl(), element, updateLabels);
315
		}
316
	}
317
308
	protected void doUpdateItem(Widget item, Object element, boolean fullMap) {
318
	protected void doUpdateItem(Widget item, Object element, boolean fullMap) {
309
		if (item == getGraphControl()) {
319
		if (item == getGraphControl()) {
310
			getFactory().update(getNodesArray(getGraphControl()));
320
			getFactory().update(getNodesArray(getGraphControl()));

Return to bug 244496