Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to describe derived EAttributes, EReferences and EOperations as OCL EAnnotations?(How to enable the parsing of OCL EAnnotations describing derived EAttributes, EReferences and EOperations within Ecore metamodels?)
icon5.gif  How to describe derived EAttributes, EReferences and EOperations as OCL EAnnotations? [message #555498] Thu, 26 August 2010 20:00 Go to next message
Alessander Botti Benevides is currently offline Alessander Botti BenevidesFriend
Messages: 20
Registered: July 2009
Junior Member
Hi,

up to Eclipse 3.4.2, I could follow the tutorial "Implementing Model Integrity in EMF with MDT OCL" [1] in order to enable the parsing of OCL EAnnotations describing derived EAttributes, EReferences and EOperations. However, this approach does not work anymore.

Can someone point me how can I enable such feature in newer versions of Eclipse and EMF? Because of this apparent lack of support for OCL expressions, I am still stuck in Eclipse 3.4.2. Sad

[1] http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html

Cheers,
Alessander
Re: How to describe derived EAttributes, EReferences and EOperations as OCL EAnnotations? [message #555503 is a reply to message #555498] Thu, 26 August 2010 20:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030408080508040107060203
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Alessander,

Have a look at the new improved support that's in EMF 2.6 and supported
by OCL extensions:

http://wiki.eclipse.org/MDT/OCLinEcore



Alessander Botti Benevides wrote:
> Hi,
>
> up to Eclipse 3.4.2, I could follow the tutorial "Implementing Model
> Integrity in EMF with MDT OCL" [1] in order to enable the parsing of
> OCL EAnnotations describing derived EAttributes, EReferences and
> EOperations. However, this approach does not work anymore.
>
> Can someone point me how can I enable such feature in newer versions
> of Eclipse and EMF? Because of this apparent lack of support for OCL
> expressions, I am still stuck in Eclipse 3.4.2. :(
> [1]
> http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html
>
>
> Cheers,
> Alessander

--------------030408080508040107060203
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alessander,<br>
<br>
Have a look at the new improved support that's in EMF 2.6 and supported
by OCL extensions:<br>
<blockquote><a href="http://wiki.eclipse.org/MDT/OCLinEcore">http://wiki.eclipse.org/MDT/OCLinEcore</a><br>
</blockquote>
<br>
<br>
Alessander Botti Benevides wrote:
<blockquote cite="mid:i56h4u$u88$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
up to Eclipse 3.4.2, I could follow the tutorial "Implementing Model
Integrity in EMF with MDT OCL" [1] in order to enable the parsing of
OCL EAnnotations describing derived EAttributes, EReferences and
EOperations. However, this approach does not work anymore.
<br>
<br>
Can someone point me how can I enable such feature in newer versions of
Eclipse and EMF? Because of this apparent lack of support for OCL
expressions, I am still stuck in Eclipse 3.4.2.  :(   <br>
[1]
<a class="moz-txt-link-freetext" href=" http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html"> http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html</a>
<br>
<br>
Cheers,
<br>
Alessander
<br>
</blockquote>
</body>
</html>

--------------030408080508040107060203--


Ed Merks
Professional Support: https://www.macromodeling.com/
icon10.gif  Re: How to describe derived EAttributes, EReferences and EOperations as OCL EAnnotations? [message #555524 is a reply to message #555503] Fri, 27 August 2010 00:02 Go to previous message
Alessander Botti Benevides is currently offline Alessander Botti BenevidesFriend
Messages: 20
Registered: July 2009
Junior Member
Thank you very much!

It is great that OCL support is integrated in EMF now! It works well!

Cheers,
Alessander
Previous Topic:How to create a custom RAP interface backed by EMF
Next Topic:[CDO]Rerences
Goto Forum:
  


Current Time: Thu Apr 25 13:29:00 GMT 2024

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

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

Back to the top