-
- Downloads
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.
Showing
- sb/src/main/java/com/oracle/javafx/scenebuilder/app/info/InfoPanelController.java 5 additions, 1 deletion...cle/javafx/scenebuilder/app/info/InfoPanelController.java
- sb/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/InspectorPanelController.java 12 additions, 0 deletions.../kit/editor/panel/inspector/InspectorPanelController.java
- sb/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/panel/util/AbstractPanelController.java 5 additions, 0 deletions...uilder/kit/editor/panel/util/AbstractPanelController.java
- sb4e.test/src/no/tobask/sb4e/test/JavaProjectGlossaryTest.java 5 additions, 9 deletions...test/src/no/tobask/sb4e/test/JavaProjectGlossaryTest.java
- sb4e/src/no/tobask/sb4e/ControllerCandidateChecker.java 0 additions, 54 deletionssb4e/src/no/tobask/sb4e/ControllerCandidateChecker.java
- sb4e/src/no/tobask/sb4e/FxControllerValidator.java 20 additions, 12 deletionssb4e/src/no/tobask/sb4e/FxControllerValidator.java
- sb4e/src/no/tobask/sb4e/FxControllerVisitor.java 108 additions, 30 deletionssb4e/src/no/tobask/sb4e/FxControllerVisitor.java
- sb4e/src/no/tobask/sb4e/JavaProjectGlossary.java 59 additions, 119 deletionssb4e/src/no/tobask/sb4e/JavaProjectGlossary.java
- sb4e/src/no/tobask/sb4e/Requestor.java 8 additions, 3 deletionssb4e/src/no/tobask/sb4e/Requestor.java
- sb4e/src/no/tobask/sb4e/editors/FXMLEditor.java 3 additions, 2 deletionssb4e/src/no/tobask/sb4e/editors/FXMLEditor.java
Loading
-
mentioned in issue #13 (closed)
-
mentioned in issue #18 (closed)
-
mentioned in issue #29 (closed)
Please register or sign in to comment