Skip to main content



      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 03:29 Go to next message
Eclipse UserFriend
Hi,

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.

Greetings,
Wilbert.
  • Attachment: layers.png
    (Size: 13.96KB, Downloaded 74 times)

[Updated on: Tue, 19 June 2018 03:29] by Moderator

Re: All layers are equal (or not?) [message #1790922 is a reply to message #1790858] Wed, 20 June 2018 05:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wilbert,

Yes, it is intentional. Transient layers (see https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#layers) are intended to display additional decorators without modifying the diagram. They can be activated or deactivated by default.

Regards,

Florian
Re: All layers are equal (or not?) [message #1790951 is a reply to message #1790922] Wed, 20 June 2018 09:46 Go to previous message
Eclipse UserFriend
Hello

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.

Regards
Laurent
Previous Topic:Cannot access the newValue in the radio button widget
Next Topic:Get DRepresentationDescriptor for DRepresentation
Goto Forum:
  


Current Time: Wed Jul 23 13:15:41 EDT 2025

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

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

Back to the top