Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Link constraints using Emphatic etc(Link constraints using Emphatic etc)
Link constraints using Emphatic etc [message #639701] Wed, 17 November 2010 14:24 Go to next message
Dan  is currently offline Dan Friend
Messages: 6
Registered: November 2010
Junior Member
I am trying to add constraints to my meta-model, for example, to ensure that a node cannot have a link to itself. There exists some GMF examples showing the addition of OCL based link constraints to the GmfMap file. I have had a look at EVL, which will be useful in terms of providing full model validation, however, I cannot see whether it is possible to apply EVL to the link constraint example above.

Any guidance is appreciated.

Dan
Re: Link constraints using Emphatic etc [message #639759 is a reply to message #639701] Wed, 17 November 2010 16:59 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Dan,

It is not possible to define EVL constraints in the GmfMap. I'm actually
not sure whether GmfMap even supports arbitrary constraint languages. In
any case, could you please file an enhancement request for this and I'll
have a look at this when time permits :)

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMT& component=Epsilon

Cheers,
Dimitris

Dan wrote:
> I am trying to add constraints to my meta-model, for example, to ensure
> that a node cannot have a link to itself. There exists some GMF examples
> showing the addition of OCL based link constraints to the GmfMap file. I
> have had a look at EVL, which will be useful in terms of providing full
> model validation, however, I cannot see whether it is possible to apply
> EVL to the link constraint example above.
>
> Any guidance is appreciated.
>
> Dan
Previous Topic:Manipulating GmfMap from Ecore2GMF
Next Topic:[EWL] Accessing model
Goto Forum:
  


Current Time: Tue Nov 25 02:01:03 GMT 2014

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

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