| Summary: | WorkbenchStatusDialogManager.setSupportAreaProvider(AbstractStatusAreaProvider) doesn't work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Alexey Romanov <alexey.v.romanov> | ||||||
| Component: | UI | Assignee: | Krzysztof Daniel <krzysztof.daniel> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Krzysztof Daniel <krzysztof.daniel> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | remy.suen | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | 4.2 M5 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 208881 [details] Patch proposition This is a patch that solves this problem (introduced by fix for bug 298748). Created attachment 208882 [details]
mylyn/context/zip
Alexey, would you be able to verify that this patch works for you? Note that you can workaround the problem by setting the support provider via org.eclipse.jface.util.Policy#setErrorSupportProvider. I have released the fix and tests commit d1162a612d74a6fe538ab781e184394cda644b2c Yes, it works for me. |
Build Identifier: This method is defined as public void setSupportAreaProvider(AbstractStatusAreaProvider provider) { manager.setProperty(IStatusDialogConstants.CUSTOM_SUPPORT_PROVIDER, provider); } However, IStatusDialogConstants.CUSTOM_SUPPORT_PROVIDER isn't used anywhere outside this method (according to References > Workspace search). Presumably, it should be checked in SupportTray.getSupportProvider() Reproducible: Always Steps to Reproduce: Create an Eclipse application with a custom status handler and call WorkbenchStatusDialogManager.setSupportAreaProvider(AbstractStatusAreaProvider) in your configureStatusDialog(WorkbenchStatusDialogManager) method.