Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 278522
Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java (-7 / +9 lines)
Lines 259-273 Link Here
259
	}
259
	}
260
260
261
	public void refresh() {
261
	public void refresh() {
262
		getEditor().updateHeaderToolBar();
262
		if (getEditor().getHeaderForm() != null) {
263
		IFormPart[] parts = getManagedForm().getParts();
263
			getEditor().updateHeaderToolBar();
264
		// refresh will not be invoked unless parts are stale
264
			IFormPart[] parts = getManagedForm().getParts();
265
		for (IFormPart part : parts) {
265
			// refresh will not be invoked unless parts are stale
266
			if (part instanceof AbstractLocalEditorPart) {
266
			for (IFormPart part : parts) {
267
				((AbstractLocalEditorPart) part).markStale();
267
				if (part instanceof AbstractLocalEditorPart) {
268
					((AbstractLocalEditorPart) part).markStale();
269
				}
268
			}
270
			}
271
			getManagedForm().refresh();
269
		}
272
		}
270
		getManagedForm().refresh();
271
	}
273
	}
272
274
273
	public void fillLeftHeaderToolBar(IToolBarManager toolBarManager) {
275
	public void fillLeftHeaderToolBar(IToolBarManager toolBarManager) {

Return to bug 278522