Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Epsilon Extensibility and Eugenia Extensibility
Epsilon Extensibility and Eugenia Extensibility [message #664507] Sun, 10 April 2011 08:33 Go to next message
LD  is currently offline LD Friend
Messages: 28
Registered: March 2011
Junior Member
Hi, I'm writting to ask if eugenia has extension mechanisms as it is on top of Epsilon (Extensible Platform for Specification of Integrated Languages) defined for:

- Adding annotations
- Adding values to properties of annotations

And I would like to know if it is possible to debug EOL modules, or if println is the default.

Thanks.
Re: Epsilon Extensibility and Eugenia Extensibility [message #664521 is a reply to message #664507] Sun, 10 April 2011 18:28 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 911
Registered: July 2009
Senior Member
Hi,

The extensibility mechanisms provided by Eugenia are discussed here: http://eclipse.org/gmt/epsilon/doc/articles/eugenia-polishin g/

We have just (last week) implemented and committed a debugger for Epsilon languages in the SVN but it's not yet available in an interim build (we will most probably release a new interim build that includes the debugger sometime this week).

Cheers,
Dimitris
Re: Epsilon Extensibility and Eugenia Extensibility [message #664752 is a reply to message #664521] Mon, 11 April 2011 20:18 Go to previous messageGo to next message
LD  is currently offline LD Friend
Messages: 28
Registered: March 2011
Junior Member
Hi, thank you. But this link does not discuss how to include new annotations. I mean how to extend Eugenia to make it support additional annotations.

Using Ecore2GMF.eol, FixGenModel.eol, FixGMFgen.eol is clear. But it would be better to have the posibility of parameterizing the directly from new annotations too.
Re: Epsilon Extensibility and Eugenia Extensibility [message #664753 is a reply to message #664752] Mon, 11 April 2011 20:22 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 911
Registered: July 2009
Senior Member
Hi,

You can add your own annotations to your Emfatic/Ecore file and then process them as you see fit (i.e. use them to create/update/delete elements in the generated models) from the polishing transformations.

Could you perhaps provide a more concrete example of what you'd like to be able to do?

Cheers,
Dimitris
Re: Epsilon Extensibility and Eugenia Extensibility [message #664774 is a reply to message #664753] Mon, 11 April 2011 22:45 Go to previous messageGo to next message
LD  is currently offline LD Friend
Messages: 28
Registered: March 2011
Junior Member
Hi. Sure!

For example:

1. Configure a diferent layout for compartments. (Currently default and list are supported)
2. Side parent of an affiexed node.
3. Link prefered position at a node border.
Re: Epsilon Extensibility and Eugenia Extensibility [message #665012 is a reply to message #664774] Tue, 12 April 2011 19:08 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 911
Registered: July 2009
Senior Member
Hi,

I think all of these should be possible to implement using polishing transformations. For example, you could specify an additional annotation detail called layoutExt in @gmf.compartment like this

@gmf.compartment(layoutExt="myLayout")

and then use this in your polishing transformation to create/configure the elements in the GMF models that realise this layout.

Cheers,
Dimitris
Previous Topic:Does EMF Model Link maps only between different metamodels
Next Topic:[ETL] Exception met in applying stereotype
Goto Forum:
  


Current Time: Thu Nov 20 23:00:39 GMT 2014

Powered by FUDForum. Page generated in 0.12342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software