Project: Eclipse_Platform_UI
Bug 32354 LabelProvider dispose() is not called when provider disabled
Reported: 2003-02-20 11:19:56 | Status: closed fixed

If you disable the CVs decorator from the preferences the dispose() method is not called on LabelProvider. we would like to hook here to clear some caches when the decorator is not needed. In addition, we expect the lightweight decorator constructor to be called when it is re-activated (which currently isn't the case either).

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorDefinition.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/FullDecoratorDefinition.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/LightweightDecoratorDefinition.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/LightweightDecoratorManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/DecoratorsPreferencePage.java