Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Custom Metamodel Binding for E*L
Custom Metamodel Binding for E*L [message #634463] Thu, 21 October 2010 19:58 Go to next message
Michael Zeising is currently offline Michael ZeisingFriend
Messages: 11
Registered: March 2010
Junior Member
The metamodel of E*L is Ecore. That means you express e. g. constraints in terms of Ecore.

Is it possible to create a binding for another metamodel to integrate E*L with a custom modeling language similar to the according API of MDT OCL [1]?

Michael

[1] http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.ocl.doc/references/overview/advanced/metamodelBindings.htm l
Re: Custom Metamodel Binding for E*L [message #634470 is a reply to message #634463] Thu, 21 October 2010 20:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

Actually all languages in Epsilon are independent of the metamodelling
technology (i.e. Ecore) through the use of an intermediate layer we call
EMC (Epsilon Model Connectivity). More information about EMC is provided
in Chapter 2 of the Epsilon book: http://eclipse.org/gmt/epsilon/doc/book/

To support another technology you'll need to implement the IModel
interface and contribute extensions to the extension points specified by
Epsilon. I suspect that the best way to learn more about this is by
looking at existing implementation of IModel. The simplest one is the
one that allows Epsilon to handle plain XML documents:

(article)

http://eclipse.org/gmt/epsilon/doc/articles/plain-xml/

(source)

http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.emc.plainxml/
http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.emc.plainxml.dt/

Please let us know if you need any help with this.

Cheers,
Dimitris

Michael Zeising wrote:
> The metamodel of E*L is Ecore. That means you express e. g. constraints
> in terms of Ecore.
>
> Is it possible to create a binding for another metamodel to integrate
> E*L with a custom modeling language similar to the according API of MDT
> OCL [1]?
>
> Michael
>
> [1]
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.ocl.doc/references/overview/advanced/metamodelBindings.htm l
>
Re: Custom Metamodel Binding for E*L [message #634523 is a reply to message #634470] Fri, 22 October 2010 06:18 Go to previous message
Michael Zeising is currently offline Michael ZeisingFriend
Messages: 11
Registered: March 2010
Junior Member
That's what I was looking for, thank you!
Previous Topic:Modify dynamically the icons of a node
Next Topic:Many to one transformations
Goto Forum:
  


Current Time: Fri Apr 26 18:49:50 GMT 2024

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

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

Back to the top