scala-ide/scala-ide — pull request #62 by dotta (2012-01-16 14:13:46+00:00)
Title: Support Eclipse 3.7 (Indigo)

This merge is the result of @emolitor work done in the platform/indigo-37 branch. I've simply squashed all changes made in platform/indigo-37 in a single commit, as I feel it keeps history cleaner (and there are not that many changes anyway).

Eric, I only made two, hopefully minor, changes:

* Using the released AJDT 2.1.3 instead of 2.2-SNAPSHOT. (I don't see a need to link against 2.2, at least until there is a stable release)
* Call `mapModifiers` to map modifiers of a Scala's symbols to JDT flags (there was a big TODO comment in the code, which I hence removed).

Here follows the list of changes applied in this commit:

- Created a repo.ajdt entry and use 2.1.3 for JDT 3.7 (we could also use AJDT
2.2 snapshot, but I still think it's better to use the currently released
AJDT and move to 2.2 only after it is officially released).

- Use Eclipse Indigo release site (this fixes JDK 7 builds).

- Pass isMember correctly derived if the owner is a class. Obtain `jdtFlags`
using `ScalaJavaMapper.mapModifiers(symbol)`.

- Add `flags` and `methodParameter` to `ScalaLocalVariableElement`.