Project

General

Profile

TaxonomicEditor Caveats

Unability to update disposed widgets

Exception:

org.eclipse.swt.SWTException: Widget is disposed

when updating widgets with a DataChangeBehaviour

Reason:

A widget that previously registered for data changes via ConversationHolder.registerForDataChanges() did not unregister itself properly while disposing.

Solution:

Make sure you have implemented dispose correctly.

Example:

public void dispose() {
   conversation.unregisterForDataStoreChanges(this);
   super.dispose();
}
Add picture from clipboard (Maximum size: 40 MB)