From: Egon W. <ego...@gm...> - 2010-06-08 15:38:49
|
Hi all, with the help from Gilleain the cdk-render.jar is down to about 20kB... all rendering parameters are now using the new API. The CDK-JChemPaint patch release 12 has just been released, and completes that refactoring. This brings us a really important step closer to submitting the new render module (and thus it's API) for review: the design should now be pretty stable, so that we can focus on JavaDoc, PMD, and unit testing. Once that module is done, the next one would be the control module; there too refactoring needs to be completed, to bring down the size; of the ControllerHub this time. Oh, and release 12 also brings in two convenience methods: rendererModel.setRenderingParameter(Zoom.class, 5.0); rendererModel.getDefaultRenderingParameter(BackgroundColor.class); Leave is with the question: should these two and the getRenderingParameter() methods be renamed to something shorter... since all take an actual rendering parameter, perhaps just set(X), get(X), and getDefault(X) ? Egon -- Post-doc @ Uppsala University Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers |