UI as Model
In Wazaabi, the GUI is never written in code, it is always a model. Actually it is an instance of a meta-model. The Wazaabi framework defines currently three GUI meta-model: The SWT meta-model, the SWING meta-model and the JSF meta-model. When the developer defines an instance of this meta-model, he creates a model of the GUI. This model defines the GUI itself.
You can see the meta-model as the UI library such as SWT and the model as a class representing a form in SWT for instance.
Re-using Ui concept
The UI concept of a Table, column, Label is the same in almost all UI technologies. As the inheritance is allowed and encouraged in modelling, Wazaabi provides the Core Meta-Model which is the basic meta- model from which all the other metal-models inherit.
The strategy was then to factorize the common UI and their behaviours independently of the target technology. For each concrete meta-model, i.e., for each meta-model of a target technology, the concrete implementation of the component in the core must be provided.
