Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » All layers are equal (or not?)(Visibility of layer not persisted)
All layers are equal (or not?) [message #1790858] Tue, 19 June 2018 07:29 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 196
Registered: June 2010
Senior Member

My user noticed that the visibility of some of my layers wasn't persisted with the diagram. Furthermore, he noticed that the layers, whose visibility state was not persisted, were grouped below a separator line.

I noticed that these layers don't have any visualizations. They only contain decorations and some tools.

Is this intentional or did I trigger a bug?

I attached a (somewhat obfuscated) image of the layers menu. The lowest two layers are separated from the others as described above.

  • Attachment: layers.png
    (Size: 13.96KB, Downloaded 30 times)

[Updated on: Tue, 19 June 2018 07:29]

Report message to a moderator

Re: All layers are equal (or not?) [message #1790922 is a reply to message #1790858] Wed, 20 June 2018 09:10 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 253
Registered: August 2010
Senior Member
Hi Wilbert,

Yes, it is intentional. Transient layers (see are intended to display additional decorators without modifying the diagram. They can be activated or deactivated by default.


Re: All layers are equal (or not?) [message #1790951 is a reply to message #1790922] Wed, 20 June 2018 13:46 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 174
Registered: October 2014
Senior Member

A layer is considered as transient if it contains only tools or decoration. If you want to persist the layer activation you may, as a workaround, add a fake node mapping without id.

We aim to add an attribute on the layer to know if it is layer or not, but I have no target release to give you at this time.


Laurent Fasani - Obeo
Need training or professional services for Sirius?
Previous Topic:Cannot access the newValue in the radio button widget
Next Topic:Get DRepresentationDescriptor for DRepresentation
Goto Forum:

Current Time: Thu Jan 28 05:54:01 GMT 2021

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

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

Back to the top