| [news.eclipse.tools] Re: Cannot get AboutInfo, compilation error in M5 |
Zsolt Koppany wrote:
Worbench is an internal class. Using internal types and methods is at your own risk and can fail at any time.Hi,
since 2.0.1 I use the code below to get the info about the Workbench version. In M5 I cannot get the code compiled (getAboutInfo in undefined). Could somebody provide me a code that is backward compatible.
If not, I just want to figure out the workbench version numbers such as 2.0.2 etc.
AboutInfo aboutInfo =
((Workbench)PlatformUI.getWorkbench()).getAboutInfo();
HTH Dani