These are the most recent updates to the (growing) number of Griffon plugins:
- gfx-builder 0.2.3 - updated to GfxBuilder 0.2.3. Includes two important fixes on text node: nested font node is now taken into account. New cx and cy properties allows the text to be centered on an arbitrary point.
- css-builder 0.3 - Groovy expressions can be used as values of CSS rules.
- transitions 0.1.3 - converted into an Addon. Adds transitionLayout node and a new transition: ShapeTransition2D.
- traybuilder 0.2 - degrades gracefully when running in JRE5.
- protobuf 0.1 - new! provides integration with Protocol Buffers. (There is a companion Grails plugin too).
- font-jiggler 0.2 - provides an API to manipulate a component's font (increase, decrease, scale, adjust).
- fast-translate 0.1 - new! provides a service to translate human languages using Google translate. This plugin is used by easy-translate, an easy cross platform desktop language translator.
CssBuilder
You can register variables that can be used in the evaluation of Groovy expressions in CSS rules. The following example demonstrates the use of a default variable (screen) and a custom variable (active)Transitions
You can plug any Shape subclass into ShapeTransition2D, for example shapes coming from jSilhouette, even composed shapes using Area operations. TransitionPicker is a sample Griffon application that showcases all transitions.Keep on Groovying!
PD: if you kept reading up to this point... good! there is an additional surprise available to those living on the bleeding edge: Spring support is coming!. This plugin requires changes available in the latest trunk, it is yet unknown if it will work with future releases of the 0.2.X branch. The API is not yet final, see this link for a description of available features.