Community
Participate
Working Groups
There is a discrepency between the 2 API we have The handle method of a StatusHandler accepts a StatusAdapter the createPartControl of the ErrorSupportPart accepts an IStatus We should review for 3.4
Chris, do you mean ErrorSupportProvider?
Krzystof, Maybe :) I think we changed the API :) The issue here is that when I call the StatusHandler API , I pass a StatusAdapter When I implement my provider, I receive a IStatus Makes sense ?
ErrorSupportProvider is a jface class and seems to be designed for jface ErrorDialog. Fix for bug 191684 introduces AbstractStatusAreaProvider which is derived from ErrorSupportProvider and accepts both StatusAdapter and IStatus. I think this removes API problem (jface providers for jface error dialog, workbench providers for workbench error dialog). In case of any concerns please reopen.
28-03-2008 verified by code inspection. ErrorSupportPart does not exist anymore, now see AbstractStatusAreaProvider.