[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: GEF, EMF and semantic vs. graphical model

> I've followed some of the threads concerning GEF and EMF integration.
> I'm glad that other people have the same problems with two
> implementations of the Command pattern and other things (e.g. the
> naming problem with ConnectionEditPart.getTarget() and
> Adapter.getTarget()).

You should ask why getTarget is on Adapter.  Adapter is the interface used
*by* the TARGET.  Surely the target already knows about itself.  If a
specific adapter needs to allow clients to reach in to the EMF object, that
adapter should provide the unwrap() method on the interface which the
adapter is exposing to clients (the actual interface being adapted).

> Are there any concrete approches yet integrating these two frameworks?
> Frank Budinsky wrotes about a prototyping work with "support for
> generating GEF views in a generated EMF editor". I think this would be
> very interessting.

Both teams are very busy. This is not likely to happen anytime soon.
Personally I question whether this is really more productive, or if it just
gets people interested in the technologies, then they have to learn the
generated code as well.

> PS: Is it called "semantical model" or "semantic model".. (or graphical
> vs. graphic model)? Too many problems everywhere %-)

I use the terms "business model" and "view model" .  "semantic model" is the
same as business, but it take me longer to process that term in my head :-P