From: Packe <pa...@ya...> - 2014-10-10 21:56:42
|
Hi! Today I have delivered a lot of code to trunk. This is the initial step towards XML drivers. I have ported some drivers (those where I own the synthesizer..) as a proof of concept. There is still a lot of work to do even for these drivers though. The design is made to be backwards compatible thus the XML driver classes inherit from base driver classes that all other drivers also inherit. There are no new methods added instead I have used the old interfaces. There is a lot of documentation work yet to be done but I delivered this code any way to avoid ambiguity about which branch that is the ”main” branch. If anybody is interested you should feel more than welcome to review what I have done and I will quickly reply any questions posted here as that also could be good input for what to put in the docs. Anyway.. here are some things that have changed: - Dependency injection is used for some core components using guice - New editors use the JavaFX technology and are thus saved as FXML documents. These documents can be opened and manipulated in Oracle’s SceneBuilder (you need to have Java 8 from now on) - Patch parameters are defined in XML with unique UUIDs. - There is a class called FXMLGenerator. This class takes a driver XML document and outputs a corresponding FXML file. This file shall then be opened in SceneBuilder to improve the auto generated GUI stub manually - Old drivers with editors can be extracted into driver XML files by using the XMLExtractor class (under the test package) - And a lot more.. BR /Pascal |