资 源 简 介
GWT Freeze Dry is a very simple framework for passsing compile time or start time objects to your GWT application. It has two operating modes: a Compile time factory and a Run time Dictionary mode.
In each mode the first task is to create an interface that extends Freezer and has no-args methods returning Objects that implement IsSerializable.
If you want to build the objects at compile time, you need to write a YourFreezerInterfaceNameFactory class. This will be executed at compile time and the value it returns encoded into your GWT source file.
If you want to build the objects at run time, you can pass them in via a Dictionary JavaScript var. For example:
;
Where