Model based UI generaton (runtime or build time)

1k views Asked by At

We have a EMF based meta-model that is used to configure our application. Until now we used the EMF editor (eclipse based) to create various configuration instances of our product. This has worked well so far but we now want to support the config creation from web UI.

What are the options I have for creating a rich UI from meta-models on Java platform? I know about Naked Objects, Roo etc but those generate end to end application with focus on persistence. I just need good looking UI that can populate the model.

Edit One of the comments suggest a combination of Magritte + Glamour. But those are for smalltalk. Are there any equivalents in Java?

3

There are 3 answers

0
sbegaudeau On

If you want to create an user interface for your models based on your meta-model, you can have a look at the EEF project of the Eclipse foundation. It let people customize and generate an user interface to create and edit models

0
Vladimir Vaschenko On

Check out EMF Forms it has default generated GUI based on your data model. Also it supports several UI technologies: Swing,SWT, JavaFX or Web.

0
Richard Kennard On

For others who come this way:

Metawidget is a tool designed to generate UIs from meta-models. It supports the Java platform, as well as SWT specifically (and therefore Eclipse). Its meta-model inspection layer is pluggable, so you could write an Inspector for EMF.