The Scala Eclipse plugin page says: * Support for Eclipse plugin and OSGi development including hyperlinking to Scala source from plugin.xml and manifest files.
How does this support work? There's no wizards for making Scala plugins. I've found no documentation on how to use Scala in a Eclipse plugin/RCP application. Is it even possible?
Scala IDE v3. 0 can be installed on both Eclipse 3.7 (Indigo) and Eclipse 4.2 (Juno), through different update sites. If you are using Eclipse 3.7 (Indigo), we recommend the latest 1.6.
Eclipse-based applications which are not primarily used as software development tools are called Eclipse RCP applications. An Eclipse 4 RCP application typically uses the base components of the Eclipse platform and adds additional application specific components.
Eclipse based applications, called Eclipse RCP (Eclipse Rich Client Platform), use the Eclipse framework to create feature-rich stand-alone desktop applications. The Eclipse IDE can be viewed as a special Eclipse application with the focus on supporting software development.
Yes, it is possible. In fact, the Scala Eclipse plugin itself is written in Scala.
I've never created a Scala RCP app myself, but I'm guessing that what you need to do is create the project normally using your wizard of choice. Once the project is in your workspace, right-click and select "Add Scala Nature" (or something to that effect). The result will be a Scala project with all of the regular trappings of an RCP app. You should be able to use both Java and Scala within the project after these setup steps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With