I have an eclipse plugin project that uses some swt objects, for example -
import org.eclipse.swt.widgets.Composite;
When I try to compile it with the "Target Platform" set to "Running Platform (Active)", it compiles fine, and I do not need to import any swt-specific plugins.
However, I created the target platform with Eclipse 3.6.0, and if I installed it as an active platform, the project compiles errors wherever the swt classes are used, and cannot resolve them.
Which plugin should I add a dependency to fix these errors?
I tried adding 'org.eclipse.swt', but that doesn't seem to help.
source
share