Griffon 1.1.0釋出

jieforest發表於2012-09-21
http://griffon.codehaus.org
The Griffon team is happy to announce Griffon 1.1.0, the latest release of the 1.x series.

Griffon is an application framework for developing desktop applications in the JVM, with Groovy as the primary language of choice.

This release brings new functionality that should make working with i18n content and resources a much pleasant experience. To begin with, the i18n plugin has been reworked and incorporated into core inside the griffon.core.i18n package. Every Griffon application is now i18n aware, messages by a (configurable) MessageSource. The Griffon Guide includes a new chapter on the subject.

Paired with i18n we get another set of APIs: resource management and injection. It's now possible to define resources such as images, icons, colors that should become available on a Model class, but instead of putting them on code you define them on external external resource files. These resource files happen to be Locale aware, exactly like their messages (i18n) counterparts. Resources may be injected programmatically or automatically by annotating properties/fields with @InjectedResource. The Griffon Guide also includes a brand new chapter explaining all options and formats.

Then there's the ActionManager incubated by the actions plugin. This component is capable of harvesting controller actions (whether they are closures or methods, doesn't matter) and create toolkit specific Actions that are added to builders using a naming convention. All aspects of an action (name, description, icon, etc) are handled by externalized resources (leveraging the new i18n features). Both Swing and JavaFX plugins provided custom support for their respective ActionManagers.

Be aware that some plugins should not be used anymore (i18n, i18n-support, actions) as they are no longer compatible with Griffon. The spring and the dialogs have changed to reflect the new i18n APIs, it's important that you upgrade to their latest releases when moving to Griffon 1.1.0.

Finally the Griffon Guide has been migrated to grails-doc 2.x, resulting in a more interactive experience.

Full listing of bugs fixed in this release can be found at [http://jira.codehaus.org/secure/ ... 3&version=18430]

Full release notes are located here.
http://docs.codehaus.org/display/GRIFFON/Griffon+1.1.0

You can download the Griffon distribution from the download page.
http://griffon.codehaus.org/Download?nc

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-744686/,如需轉載,請註明出處,否則將追究法律責任。

相關文章