|
|
|
|
|
|
|
|
|
|
| Re: EMF OCL Console in Eclipse RCP application [message #902947 is a reply to message #899046] |
Tue, 21 August 2012 07:29   |
ModelGeek Mising name Messages: 347 Registered: June 2011 |
Senior Member |
|
|
I have add xtext OCL console but i have found one problem. When i select any EObject for first time all ocl statements are running fine. But once i will reselect(after selecting somthing else) the same EObject then properties from super EClass are not recognized.
i get "Unresolved property 'XYZ' for 'unknown-type'" and this only happens for the inherited properties of EObject's EClass(EClass has super class).
do you have any clue why it is so?
Regards,
[Updated on: Tue, 21 August 2012 07:35] Report message to a moderator
|
|
|
|
|
| Re: EMF OCL Console in Eclipse RCP application [message #903164 is a reply to message #903142] |
Wed, 22 August 2012 07:04  |
Ed Willink Messages: 3151 Registered: July 2009 |
Senior Member |
|
|
Hi
The user interchange for OCL is the Concrete Syntax, so it is easy to
change between the old and new implementations, and users may not be
aware which they are using (it is even possible to use both at once with
strange delegate URI settings).
Your earlier email mentioned the Xtext OCL Console which means you are
using the pivot-based OCL model while editing the command line and for
evaluating within the console (you might switch to the old Ecore if you
invoke a delegated property or operation).
So if the problem occurs in the Juno Xtext OCL Console, please report it.
Regards
Ed Willink
On 22/08/2012 09:02, ModelGeek Mising name wrote:
> Hi,
>
> The model i am using is not pivot based it is based on the old version
> but in near future i want to upgrade to pivot based model.
>
> Should i still report a bug?
>
> Regards,
> Khurram Shahzad
|
|
|
Powered by
FUDForum. Page generated in 0.01933 seconds