How to resolve "import org.eclipse.wb.swt.SWTResourceManager"

java, swt

Solution

This helper class is generated inside your project by WindowBuilder as soon as you change for example the font of a label.

The code for the class can also be found by googling for the name, for example here: https://github.com/vogellacompany/codeexamples-java/blob/master/de.vogella.databinding.windowbuilder.example/src/com/swtdesigner/SWTResourceManager.java

Problem

I have a SWT application and it was working fine. I was using Google WindowBuilder Pro to build the application windows. Today I was trying to do some update on my application. So when I open it I found an error saying "`import org.eclipse.wb.swt.SWTResourceManager the import cannot be resolved`". But it was working previously. Can anyone tell me what could be the problem? I am using Eclipse Helios for the development.

Original source