Arduino libraries for Eclipse

Have a look at the tutorial on Exclipse on the Adruino playground. It will tell you what you need and then use my sample template project.

http://arduino.cc/forum/index.php/topic,62094.0.html