OCL console [message #23226] |
Wed, 16 May 2007 05:52  |
Eclipse User |
|
|
|
Originally posted by: asma.charfi.com
hi
what we should modify in the ocl interpreter example in order to use the
OCL Console in other project?
I modified the plugin.xml but it did not work :-(
I think that I could not do it alone!
could someone help me please!
|
|
|
|
|
|
|
Re: OCL console [message #24214 is a reply to message #24086] |
Tue, 22 May 2007 09:58  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Asma,
I don't think that you need to choose between using the OCL interpreter and
using the EMF Validation Framework. I hope that the validation examples
(in particular, the org.eclipse.emf.validation.examples.ocl plug-in) show
that it's not difficult to inject OCL constraints into this framework, even
those that are defined in UML profiles, using the OCL interpreter to parse
and evaluate constraints within the EMF Validation Framework. And it does
give you the flexibility of additional non-OCL constraint definition and
even 3rd-party contributions, perhaps tuned via the categorization and
client-context binding mechanisms.
Cheers,
Christian
charfi asma wrote:
> Hi Christian,
>
> We should say that OCL 1.1M7 is very helpful (especially in the OCL
> console
> (if you write "self." Then it gives you all possibilities to complete
> your constraint without error) it's really helpful!!
>
>
>
> now that I tested my constraint added to profile(using the OCL console),
> I want to do it but this time on clicking on button (I will develop a
> plug-in )so I need your advice should I:
>
>
>
> 1) Focus on the OCL interpreter and think how to use it in my plug-in so I
> validate all the constraints in my model (the advantage: it is used with
> UML profile)
>
> 2) Focus on the EMF validation and follow it to validate the model (the
> advantage: it validates all the constraints not only one like OCL
> interpreter)
>
> Thank You in advance
>
> ASMA
<snip>
|
|
|
Powered by
FUDForum. Page generated in 0.03483 seconds