Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Different Figures for one Ecore class
Different Figures for one Ecore class [message #493883] Wed, 28 October 2009 11:06 Go to next message
Eclipse UserFriend
Originally posted by: franciscodg.gmail.com

hi,
i want to use the tips
( http://wiki.eclipse.org/index.php/GMF_Tips#Different_Figures _for_one_Ecore_class),
but after performing all steps and want make a "*.gmfgen" file, i have
the following error: " Invalid expression body 'Task.type::Iterative'.
Cause: Invalid expression body 'Task.type::Iterative'. Cause: 1:10:1:11
"->" expected instead of "::" " when Task.type = CommonClass and
Iterative = TypeA in the tutorial.

someone known to be?

thanks.
Re: Different Figures for one Ecore class [message #494047 is a reply to message #493883] Wed, 28 October 2009 21:57 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Francisco

This is a problem with the GMF tutorial. Please ask GMF questions on the
GMF newsgroup.

A very quick glance suggests that perhaps

CommonClass.type::TypeA

is a typo for

CommonClassType::TypeA

Regards

Ed Willink

Francisco Domínguez wrote:
> hi,
> i want to use the tips
> ( http://wiki.eclipse.org/index.php/GMF_Tips#Different_Figures _for_one_Ecore_class),
> but after performing all steps and want make a "*.gmfgen" file, i have
> the following error: " Invalid expression body 'Task.type::Iterative'.
> Cause: Invalid expression body 'Task.type::Iterative'. Cause: 1:10:1:11
> "->" expected instead of "::" " when Task.type = CommonClass and
> Iterative = TypeA in the tutorial.
>
> someone known to be?
>
> thanks.
Re: Different Figures for one Ecore class [message #494052 is a reply to message #494047] Wed, 28 October 2009 22:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: franciscodg.gmail.com

Ed Willink escribió:
> Hi Francisco
>
> This is a problem with the GMF tutorial. Please ask GMF questions on the
> GMF newsgroup.
>
> A very quick glance suggests that perhaps
>
> CommonClass.type::TypeA
>
> is a typo for
>
> CommonClassType::TypeA
>
> Regards
>
> Ed Willink
>
> Francisco Domínguez wrote:
>> hi,
>> i want to use the tips
>> ( http://wiki.eclipse.org/index.php/GMF_Tips#Different_Figures _for_one_Ecore_class),
>> but after performing all steps and want make a "*.gmfgen" file, i
>> have the following error: " Invalid expression body
>> 'Task.type::Iterative'. Cause: Invalid expression body
>> 'Task.type::Iterative'. Cause: 1:10:1:11 "->" expected instead of
>> "::" " when Task.type = CommonClass and Iterative = TypeA in the
>> tutorial.
>>
>> someone known to be?
>>
>> thanks.

Hi Ed Willink, thanks for your answer :), but this is a GMF newsgroup or
not? or exist other news o mail list about this topic.

Thanks again.

greetings
Re: Different Figures for one Ecore class [message #494069 is a reply to message #494052] Thu, 29 October 2009 05:57 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Francisco

This is now both newsgroups because I cross-replied.

You first asked on GMF at 2:30 on 27th, then on OCL at 22:52 on 28th.

Ed

Francisco Domínguez wrote:
> Ed Willink escribió:
>> Hi Francisco
>>
>> This is a problem with the GMF tutorial. Please ask GMF questions on
>> the GMF newsgroup.
>>
>> A very quick glance suggests that perhaps
>>
>> CommonClass.type::TypeA
>>
>> is a typo for
>>
>> CommonClassType::TypeA
>>
>> Regards
>>
>> Ed Willink
>>
>> Francisco Domínguez wrote:
>>> hi,
>>> i want to use the tips
>>> ( http://wiki.eclipse.org/index.php/GMF_Tips#Different_Figures _for_one_Ecore_class),
>>> but after performing all steps and want make a "*.gmfgen" file, i
>>> have the following error: " Invalid expression body
>>> 'Task.type::Iterative'. Cause: Invalid expression body
>>> 'Task.type::Iterative'. Cause: 1:10:1:11 "->" expected instead of
>>> "::" " when Task.type = CommonClass and Iterative = TypeA in the
>>> tutorial.
>>>
>>> someone known to be?
>>>
>>> thanks.
>
> Hi Ed Willink, thanks for your answer :), but this is a GMF newsgroup or
> not? or exist other news o mail list about this topic.
>
> Thanks again.
>
> greetings
Previous Topic:Composing instances of a used-defined type
Next Topic:OCL Interpreter
Goto Forum:
  


Current Time: Fri Apr 19 18:54:14 GMT 2024

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

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

Back to the top