Project: Eclipse_Platform_UI
Bug 85409 Decorator enablement relies on objectClass
Reported: 2005-02-16 09:31:05 | Status: verified fixed

20040206 The decorator enablement currently relies on the enablement for objectClass being set and filters the decorator if it is not. This should use enabledDefinitions[i].getEnablement().isEnabledFor(element) rather than enabledDefinitions[i].getEnablement().isEnabledForExpression ((OBJECT_CLASS,element)

Files changed in fix:
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/LightweightDecoratorManager.java