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?

a fragment would be a good idea, I think
but perhaps not easy to distribute - extra download ? extra feature ?

support for EOperations would be great - just some days ago I run into missing this ;-)

ekke
Am 29.12.09 22:45, schrieb Karsten Thoms:
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

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



--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


Back to the top