CoastalHacking / semiotics-main

Semiotics models and stand-alone product / UI
Apache License 2.0
0 stars 0 forks source link

Create a Java editor extension #46

Closed jpasski closed 8 years ago

jpasski commented 8 years ago

This expose a Java element API, which could be used for better label creation

jpasski commented 8 years ago

Successful build, closing.

Lessons Learned

Since the search results are displayed using an IStructuredSelection, no major magic was needed. Adjusted the core expression to allow for IJavaElements, simplifying the menu contributions to one, and updated the IAdaptableAdapter.

I spent more learning how to get a IJavaProject properly setup in a test case (first attempt so it's a bit ugly). While Eclipse's FAQ on this was a good first step, it was incomplete. This page did a really good job showing how to include the correct source code entries in the class path.

Dead Ends

None!