Project: Eclipse_Platform_UI
Bug 26286 [Decorators] Decorators activated too soon
Reported: 2002-11-14 08:37:27 | Status: closed fixed

20021113 Decorators are created as soon as they are enabled - they should only be created first time they are applied as they not be required if thier enablement state does not pass. STEPS 1) Create a workbench with no content 2) Enable the binary project decorator - it will be created even though there is nothing to decorate.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DecorationScheduler.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DecoratorManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FullDecoratorDefinition.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/LightweightDecoratorDefinition.java