Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Changes to workbench help



The class WorkbenchHelp has been deprecated in favour of the
IWorkbenchHelpSystem interface.  There were lifecycle issues with
WorkbenchHelp that we couldn't adequately deal with because of its static
nature.  In addition, it was a bit out of control - there were far too many
deprecated help strategies caked up in it.

You can use the IWorkbenchHelpSystem instance obtained via
IWorkbench.getHelpSystem() much as you would WorkbenchHelp.  The interface
contains all non-deprecated methods that reside on Workbench help.
Updating your code to remove deprecation warning is as simple as replacing
all references to WorkbenchHelp to
PlatformUI.getWorkbench().getHelpSystem().

Sorry for any grief this may cause.



Back to the top