I am doing an eclipse plugin using gef. When I restart eclipse after a plugin installation I got a lot of errors regarding draw2d imports. For example in one of my classes I had:
import org.eclipse.draw2d.ImageFigure;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.MouseEvent;
import org.eclipse.draw2d.MouseMotionListener;
the 3 last imports were fine but the first one "import org.eclipse.draw2d.ImageFigure" could not anymore be resolved.
I can not figure out what is going wrong. Any ideas?
Ok I finally found the solution. The plugin was using its own version of draw2d.jar file. I manually replace that file with the draw2d.jar from the eclipse GEF plugin and everything was working fine again.