Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » extending EvaluationVisitorImpl
extending EvaluationVisitorImpl [message #63730] Tue, 05 December 2006 11:50 Go to next message
Yury Chernikov is currently offline Yury ChernikovFriend
Messages: 9
Registered: July 2009
Junior Member
Hello,

I have ocl Query, it use EvaluationVisitorImpl for evaluation.
I want to have access to intervening results of evaluation, but I cant
extending this class, because all of its constructors are private.

Can you help me? May be its possible make public these constructors?

Good luck,
Yury
Re: extending EvaluationVisitorImpl [message #63845 is a reply to message #63730] Tue, 05 December 2006 17:25 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Yury,

In the development of UML support in the OCL parser:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=163808

I will be adding API to the EvaluationEnvironment interface to support,
among other things, custom evaluation of property and association-class
navigation. The EvaluationEnvironment will also be more involved in the
evaluation of operations.

These changes should give you the hooks that you need to access intermediate
values, as ultimately all computations in OCL are either operation calls or
property/association-class navigation and these values will always be
provided by the EvaluationEnvironment. Please add yourself to the cc list
of this bug and add a comment to ensure that your requirements will be
considered. The intent is to make it easy for clients to extend the
interpreter via the EvaluationEnvironment, without exposing the core
evaluation engine.

Cheers,

Christian


Yury Chernikov wrote:

> Hello,
>
> I have ocl Query, it use EvaluationVisitorImpl for evaluation.
> I want to have access to intervening results of evaluation, but I cant
> extending this class, because all of its constructors are private.
>
> Can you help me? May be its possible make public these constructors?
>
> Good luck,
> Yury
Re: extending EvaluationVisitorImpl [message #596578 is a reply to message #63730] Tue, 05 December 2006 17:25 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Yury,

In the development of UML support in the OCL parser:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=163808

I will be adding API to the EvaluationEnvironment interface to support,
among other things, custom evaluation of property and association-class
navigation. The EvaluationEnvironment will also be more involved in the
evaluation of operations.

These changes should give you the hooks that you need to access intermediate
values, as ultimately all computations in OCL are either operation calls or
property/association-class navigation and these values will always be
provided by the EvaluationEnvironment. Please add yourself to the cc list
of this bug and add a comment to ensure that your requirements will be
considered. The intent is to make it easy for clients to extend the
interpreter via the EvaluationEnvironment, without exposing the core
evaluation engine.

Cheers,

Christian


Yury Chernikov wrote:

> Hello,
>
> I have ocl Query, it use EvaluationVisitorImpl for evaluation.
> I want to have access to intervening results of evaluation, but I cant
> extending this class, because all of its constructors are private.
>
> Can you help me? May be its possible make public these constructors?
>
> Good luck,
> Yury
Previous Topic:Dynamic constraint provider
Next Topic:EODM - POC to extract relationships
Goto Forum:
  


Current Time: Thu Apr 25 05:54:53 GMT 2024

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

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

Back to the top