You are browsing past revisions for this area.

Date Editor Preview
You are previewing another version of this material. This will not become the current version unless you click "Revert." If you change your mind, click "cancel."

The next generation UI

Wazaabi provides a complete a complete model support for describing UI in SWT, SWING and JSF, but can be extended to other UI technologies.


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.

  • Models acrhitecture

The Core model page describes the core Meta-Model.

A simple model

TODO Simple example + image of gui

What's next?

Let's delve into the Wazaabi Core Model.

 

What's the core model?

The core model is the general parent model from which all implementation models inherit.