Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Re: UMLEnvironmentFactory.EvaluationMode unresolved in OCL Console example
Re: UMLEnvironmentFactory.EvaluationMode unresolved in OCL Console example [message #43897] Wed, 21 November 2007 19:20 Go to next message
Eclipse UserFriend
Originally posted by: Kenn.Hussey.embarcadero.com

John,

This is a question for the OCL newsgroup (copied).

Kenn

"John Yotka" <john.yotka@datria.com> wrote in message
news:fi1uhd$o7b$1@build.eclipse.org...
>I downloaded the 1.2.0M3 release and created the OCL Console example. the
>following line gets a "cannot be resolved" error. In looking at the source
>for UMLEnvironmentFactory I don't see the EvaluationMode or the
>setEvaluationMode method.
>
> factory.setEvaluationMode(UMLEnvironmentFactory.EvaluationMo de.RUNTIME_OBJECTS);
Re: UMLEnvironmentFactory.EvaluationMode unresolved in OCL Console example [message #44062 is a reply to message #43897] Wed, 21 November 2007 22:40 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, John,

I just downloaded the OCL 1.2 M3 SDK and created the console example in my
workspace. I don't see any compile errors.

How did you install the SDK?

There was a brief interval of flux in this API during M3 development, but it
looks like the milestone build lines up. Perhaps you somehow got the wrong
version of the SDK examples?

Cheers,

Christian


Kenn Hussey wrote:

> John,
>
> This is a question for the OCL newsgroup (copied).
>
> Kenn
>
> "John Yotka" <john.yotka@datria.com> wrote in message
> news:fi1uhd$o7b$1@build.eclipse.org...
>>I downloaded the 1.2.0M3 release and created the OCL Console example. the
>>following line gets a "cannot be resolved" error. In looking at the
>>source for UMLEnvironmentFactory I don't see the EvaluationMode or the
>>setEvaluationMode method.
>>
>>
factory.setEvaluationMode(UMLEnvironmentFactory.EvaluationMo de.RUNTIME_OBJECTS);
Previous Topic:eContainer()
Next Topic:ocl constraints' expression
Goto Forum:
  


Current Time: Thu Nov 27 16:32:43 GMT 2014

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

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