Skip to main content



      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 09:24 Go to next message
Eclipse UserFriend
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 11:59 Go to previous message
Eclipse UserFriend
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 Jul 22 18:43:20 EDT 2025

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

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

Back to the top