Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 90904

Summary: [Workbench] Clean up IWorkbench API such as getBrowserSupport()
Product: [Eclipse Project] Platform Reporter: Ed Burnette <ed.burnette>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: dejan, douglas.pollock, eclipse, jeem, n.a.edgar, sxenos
Version: 3.1Keywords: api, helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Ed Burnette CLA 2005-04-09 14:40:54 EDT
In 3.1M6, IWorkbench.getCommandSupport() is deprecated; comments say to use
IWorkbench.getAdapter(ICommandSupport.class). If that's the preferred pattern,
then it seems to me that IWorkbench.getBrowserSupport() should be replaced with
IWorkbench.getAdapter(IBrowserSupport.class). Other methods in this interface
should be reviewed too, especially the ones added in 3.1 such as
getOperationSupport(). 

Although the API is supposed to be frozen for 3.1 it would be better to fix
these problems before 3.1 goes production than create more deprecations
afterwards. This would probably require PMC approval.
Comment 1 Michael Van Meekeren CLA 2005-04-11 10:19:46 EDT
will discuss this with kim,doug,nick + jim
Comment 2 Douglas Pollock CLA 2005-04-11 10:25:19 EDT
From my perspective, this is the preferred pattern for any type of support that
might be provided in a localized context.  This is the same pattern that is
proposed as part of the component framework.  So, if someone might get browser
support from an IWorkbenchPartSite or something like that, then following the
proposed component pattern makes sense (to me <g>).

For the record, this is part of the reason why getCommandSupport() and
getContextSupport() were changed.
Comment 3 Tod Creasey CLA 2007-06-14 13:16:32 EDT
There are currently no plans to work on this although we would be happy to review a patch
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:35:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2022-01-14 15:24:21 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.