eFace is the Worldwide First XAML solution for Java. It provides an unified programming model for building both rich client application and RIA. It keeps insulation for applications from the technology/environment change such as Swing, SWT or Web/Ajax.

Webdemo


This page gathers some webdemos of eFace with SWT renderer.

1. "Hello world"

2. RCP

3. Simple Data Binding

4. UI design in Visual Studio

5. Data Binding Demo

6. MDA Demo


1. "Hello world"

This is a very simple UI component example. It gives you the basic concept of the eFace Tool and XAML.

To see an enlarged view, click here. The demo takes about 2 minutes.

2. RCP

There are two possibilities to develop a RCP application with eFace product: Eclipse RCP and eFace RCP. The first one uses Eclipse platform as Rich client infrastructure, eFace's view is just embedded in a view of Eclipse RCP. The second one totally relies on eFace rich client infrastructure,.

2.1 Eclipse RCP

This example uses the Eclipse RCP as main infrastructure, same as a standard Eclipse RCP application. The eFace view is only embedded in a specific view of Eclipse, but its content is loaded directly from XAML files.

To see an enlarged view, click here. The demo takes 2 minutes.

2.2 eFace RCP

This example shows the eFace approach. It brings the above "Hello world" application into rich client environment. All elements are built on eFace, including the main menu.

To see an enlarged view, click here. The demo takes 2 minutes.

3. Simple Data Binding

This example illustrates the general mechanism of the powerful Data Binding. The model of Java class is a Person with two properties: name and age. The two properties can be changed in the corresponding TextBox. Two other static Label show in real-time the data values.

Here are the source codes of this demo.

To see an enlarged view, click here. The demo takes 3 minutes.

4. UI design in Visual Studio

This demostration shows the possibility to use Microsoft Visual Studio to design the UI elements for eFace. The designer is not expected to know XAML syntax. The demo contains two parts. The first one is to use Visual Studio to design the UI elements; the second one is to import the XAML content in Eclipse.

To see an enlarged view, click here. The demo takes 2 minutes 40 seconds.

5. Data Binding Demo

This is a Microsoft WPF's sample on Data Binding. The .NET version can be found here and Java codes here. This sample creates a product listing application that allows users to enter items for sale. It demonstrates the following data binding concepts:

  • The binding object
  • Data context
  • Data templates
  • Property change notifications
  • Data Validation
  • Data Conversion
  • Data triggers
  • Multibinding
  • Collection view source
  • Master-Detail paradigm
  • Sorting
  • Filtering

To see an enlarged view, click here. The demo takes 80 seconds.

6. MDA Demo

This demonstration shows the powerfull features of MDA based on a presentation modeling framework for EMF, which is just a proof of concept.

To see an enlarged view, click here. The demo takes 5 minutes.

´╗┐