Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2t-dev] EMF 2.6 for Xpand 0.8.0?

Would it be possible to implement that support in a fragment of o.e.xtend ? Support for EOperations is requested with this feature request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297515

It is important that we do not require Eclipse 3.6 for core plugins whenever possible.

~Karsten

Am 29.12.2009 um 17:05 schrieb Achim Demelt:

Hi guys,

M2T Xpand is currently built against EMF 2.5. This is a good thing to
guarantee stability and compatibility for our users. However there's a nice little feature that I would like to contribute to Xtend that requires EMF 2.6.

EMF 2.6 can now delegate the invocation of EOperations and the getter/setter
calls of EStructuralFeatures. It was pretty easy to come up with an
implementation that allows you to specify the behavior of operations and the computation rules for derived properties (or even the behavior of non-trivial setters) with Xtend :-) All you need is some annotations in the *.ecore file. The behavior implementations themselves can either go inline into the ecore file as well, or be specified externally in *.ext files (in order to make use of content assist et al). I can check in a preview version if anyone is
interested.

Building everything against the EMF 2.6 SDK is probably not a good option, since this requires the Eclipse Platform 3.6. It's probably too dangerous, because we might accidentally introduce dependencies to EMF 2.6/ Platform 3.6 code and break our clients. What do you think? Is there a way to do this
gracefully?

Cheers,
Achim
_______________________________________________
m2t-dev mailing list
m2t-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2t-dev



Back to the top