EMF + Databinding – I’m adicted to this stuff

Ed blogged somedays ago about the progress he made makeing EMF available to RAP and J2ME and there are more and more people requesting a simple example project where some EMF-Databinding-Features are shown.

I’ve already send some code to the EMF-newsgroup and today I’ve added some more bits showing how to bind a Detail-List.

I’m going to add some more interesting stuff (e.g. field-dependencies, validation, …) when I have time and will restart working on my article on EMF+Databinding+RCP+iBatis.

If you want to take a look at source code you can grab it from here.

There are some issues you need to be aware of when it comes to
e.g. Master-Detail + Field-Dependencies.

This is where UFace comes into play which handles this kind of thing for you (and even more).

Because I’m talking about UFace. We are making progress since the last blog entry the following things have happend:

  • refactored Factory-API to get extensible and not cluttered with overloaded methods
  • started to think how UForm can be used by native implementators (UForm is an abstraction level above Databinding and your Model-Implementation-Technology)
  • we added a new committer just today (Angelo Zerr) who develops some cool XML-UI things (See Akrogen) and is enhancing our Swing-Binding and SWT-Bindings. Welcome Angelo.
  • Set up a Committer and Contributor policy. I hate this legal stuff and we want to keep it at minimum but this has to be the foundation of every project
  • Received a code donation (SWT GridLayout for Swing) from Daniel Spiewak (See Daniels Code contribution)
This entry was posted in EMF. Bookmark the permalink.

8 Responses to EMF + Databinding – I’m adicted to this stuff

  1. JohnE says:

    Tom, Great stuff… looking forward to the article.

    How can i checkout the source code? only manual get for http is allowed?

  2. Tom says:

    Install Subclipse or Subversive and point to http://publicsvn.bestsolution.at/repos

  3. JohnE says:

    Thanks tom, i thougth only svn:// will work.

  4. Tom says:

    No Subversion works ontop of many protcols one of them is http (maybe the most important one 🙂

  5. Ed Merks says:

    I’ve heard they use Java Beans as a substitute for EMF’s high, just like they use methadone for heroin junkies. Fortunately all studies indicate that an EMF-induced high has no harmful effects on short term or long term health. So throw those Java Beans away and go with the real deal!

  6. Anonymous says:

    Why do you use a BaseObject to make EMF to behave like JavaBeans. You could write and register an EMFAdapter to JFaceBinding. This way every ordinary EMF model will work without the BaseObject supperclass.

  7. jesse says:

    Can someone tell me where to get the org.hibernate.eclipse plugin? I tried a 3.2.4 Beta version from the hibernate tools package, but it doesn’t seem to be recognized in my environment (could be doing something wrong). In general is there a better way to track down the dependencies to these plugins rather than identifying the build errors and then tracking down the plugin? If there isn’t that’s fine, just trying to make sure that I’m not making this harder than it should be. Thanks!

  8. jesse says:

    FYI…I successfully installed the org.hibernate.eclipse plugin from the update site here.

    Don’t know how I missed this before.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.