updated for Scala 2.10 & Scala IDE 3.0