Modeling SWT with EMF

My EMF Workflow Model is starting to take shape.  One of the next features I’d like to add is to make it easier to create and configure a workflow.  I was thinking it would be nice if the configuration editor was configurable without having to write a lot (if any) code.

I started playing around with the idea of modeling SWT with EMF, and it actually seems to work nicely.  I’ve modeled about half of the SWT widgets and all of the layouts in EMF.  This screencast shows an Eclipse view in which the contents are created from an EMF model, then I change the model and refresh the view to reflect the updated model.  The next step will be to figure out how to model databindings and connect them to a EMF Workflow Model.


5 thoughts on “Modeling SWT with EMF

  1. I’m doing exactly the same thing in the context of e4:

    See also

    Note my usage of Javascript (integrated with EMF), to script the UI (and the domain model).
    I’m very interested in working on this in the context of workflow. I’ve noticed your work, but have never had the time to dig into it. I also think EMF CDO could be very useful for shared applications.

  2. Hi, i’m also developing a tool to model SWT in emf.
    I already have a render system that reflect immediatly the changes on the model updating and/or redrawing widgets.

    There is also a first support for modelling binding from model to UI widgets. (using the new property api)

    Finally a little visual editor to help you modelling.

    I’ve just started to work on these thing so if you are interested in trying to collaborate let me know!

  3. Guys you are all doing the same as one of the E4 subprojects. Did you know that there’s a subproject lead by Hallvard Trætteberg which also has a SWT-Model plus a more abstract one.

    I’d suggest you take a look at the E4 stuff and show up in the e4-dev mailing list to join forces.

  4. not to forget redView (Riena EMF Dynamic Views) 😉
    a first beta will be published this month.

    redView has EMF for most SWT Widgets plus Riena Ridgets which gives us databinding, validation, converters etc.

    redView has a (pure SWT ) WYSIWYG Editor with Drag’n’Drop to re-arrange fields.
    redView is integrated into openArchitectureWare: we can generate complete views with CRUD functionality from (UML or other) models.
    redView can be used stand-alone, for prototyping or integrated into Riena UI+Navigation.
    redView Factory gives a (dynamic) SWT Composite

    of course we’re interested into e4 and have to see how it all fits together,
    but at the moment there’s 3.5 and a business app which should run as beta this summer (including redView)


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s