Skip to content
Snippets Groups Projects
Commit ef782a9c authored by Tobias Ask's avatar Tobias Ask
Browse files

Improve controller inspection

* Use AST analysis for all controller inspection. The motivation for doing so is that it catches changes to annotations in a clean manner. The caveat is that ASTs are created frequently, resolving bindings in the process. This could be a source of performance issues over time. If it is, go back to the higher-level Java model API, and consider using IJavaElementDelta.getAnnotations.

* Make use of the Glossary's revision property, so that the inspector and info panels are updated instantaneously.

* Make controller suggestions based on the document name, as well as the controller content.

* Add the Glossary as a listener to the Java model from the outside, instead of from its constructor.

* Include a method that all panel controllers can implement to react to editor controller reference updates.
parent 42ff8732
No related branches found
No related tags found
No related merge requests found
Pipeline #26518 passed
Showing
with 225 additions and 230 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment