Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Support for OCL constraints in a particular profile of UML.
Support for OCL constraints in a particular profile of UML. [message #717869] Mon, 22 August 2011 15:03 Go to next message
John Guerson is currently offline John GuersonFriend
Messages: 51
Registered: August 2011
Member
Well,

I have a model that is represented in a profile of UML and this profile of UML does not have support for OCL constraints. So, i like to add some constraints OCL in that model (not in the metamodel).
For do that, i need to create an environment for parsing OCL constraints in the model, that is related to the elements of this profile. I know that OCL can be applied to UML an Ecore models (and metamodels), but how can i do this with a model in this particular profile of UML? Is there a way to create such environment to this profile using the packages of eclipse?

Can someone give me some directives?
I really appreciate your attention

And more one thing:
How can i manipulate the constructs of an archive .ocl?

thank you very much,
John
Re: Support for OCL constraints in a particular profile of UML. [message #717892 is a reply to message #717869] Mon, 22 August 2011 16:33 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4189
Registered: July 2009
Senior Member
Hi John

The mature Eclipse OCL for UML has substantial Profile support, but no IDE.

The new Xtext-based support provides an IDE, but has only accidental
profile support at present. You might care to look at the integration of
the EssentialOCL editor to support constraint editing in the Papyrus UML
Class Diagram editor. The new code is examples quality, and ease of
integration is one of many API evolutions in progress as the code
matures to non-example quality for Juno. Beware that anything you
struggle to do now should be easier to do later, but feedback is always
welcome.

Regards

Ed Willink

On 22/08/2011 16:03, John wrote:
> Well,
>
> I have a model that is represented in a profile of UML and this
> profile of UML does not have support for OCL constraints. So, i like
> to add some constraints OCL in that model (not in the metamodel). For
> do that, i need to create an environment for parsing OCL constraints
> in the model, that is related to the elements of this profile. I know
> that OCL can be applied to UML an Ecore models (and metamodels), but
> how can i do this with a model in this particular profile of UML? Is
> there a way to create such environment to this profile using the
> packages of eclipse?
>
> Can someone give me some directives?
> I really appreciate your attention
>
> And more one thing: How can i manipulate the constructs of an archive
> .ocl?
> thank you very much,
> John
Previous Topic:newInstance runtime error
Next Topic:creating genmodel and generating code from genmodel in standalone application
Goto Forum:
  


Current Time: Tue Dec 23 05:11:54 GMT 2014

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

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