Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Why this error(unrecognized variable)
Why this error [message #1608291] Mon, 09 February 2015 12:07 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Hi,

I created a very small representation file for displaying ecore. The purpose is not to get a decent representation but to highlight a possible bug.

In an arbitrary command, I try to create a view for a class node and within that view I try to create another view for the attributes. However, when validating the editor description, sirius complains with a 'context does not contain variable' message referring to the variable associated with the view mapping for the class.

Graphically the tool looks like:

Create view createdClassView
+-- For attr
---- + Create View createdAttributeView

The second 'create view' refers to createdClassView in order to denote the view that will contain the attribute view. There I refer to 'createdClassView' which is the variable representing, well, the class view.

Bug on my side or in Sirius (1.0.1)?

I attached the description (which only depends on the ecore meta model).

Greetings,
Wilbert.

  • Attachment: My.odesign
    (Size: 4.16KB, Downloaded 222 times)
Re: Why this error [message #1611277 is a reply to message #1608291] Wed, 11 February 2015 09:00 Go to previous message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
> Hi,

Hi Wilbert,

This issue has been fixed in Sirius 3.0.0M5
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=454228).

I tested the attached example and I do not reproduce with the current
master version.
FY, the Sirius update-sites are available on this page:
http://wiki.eclipse.org/Sirius/Update_Sites

>
> I created a very small representation file for displaying ecore. The purpose is not to get a decent representation but to highlight a possible bug.
>
> In an arbitrary command, I try to create a view for a class node and within that view I try to create another view for the attributes. However, when validating the editor description, sirius complains with a 'context does not contain variable' message referring to the variable associated with the view mapping for the class.
>
> Graphically the tool looks like:
>
> Create view createdClassView
> +-- For attr
> ---- + Create View createdAttributeView
>
> The second 'create view' refers to createdClassView in order to denote the view that will contain the attribute view. There I refer to 'createdClassView' which is the variable representing, well, the class view.
>
> Bug on my side or in Sirius (1.0.1)?
>
> I attached the description (which only depends on the ecore meta model).
>
> Greetings,
> Wilbert.
>
>

Regards,

--
Florian - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Disable vertical reordering of executions nodes in Sequence diagram representations
Next Topic:Extend Sirius Editor with Animation of Simulator
Goto Forum:
  


Current Time: Thu Apr 25 20:15:45 GMT 2024

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

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

Back to the top