Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » "List Mode" check box and "Shape" drop-down menu in Sirius web?
"List Mode" check box and "Shape" drop-down menu in Sirius web? [message #1859463] Fri, 09 June 2023 10:33 Go to next message
Dusan Pavlovic is currently offline Dusan PavlovicFriend
Messages: 2
Registered: June 2023
Junior Member
Hello,

First of all, thanks for the wonderful tool!

I tried to build my first DSL folowing "SiriusCon2022 - Sirius Web 101 : Create a Modeler With No Code" video, but I cannot find "List Mode" check box (if I want to add subnodes), neither "Shape" drop down menu.

Please advise.

Best regards,
Dusan
Re: "List Mode" check box and "Shape" drop-down menu in Sirius web? [message #1859474 is a reply to message #1859463] Fri, 09 June 2023 16:23 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
For the "List Mode" checkbox, this has changed to allow for more extensibility & configurability in the future.
Instead of a checkbox directly on the Node Description element, you can create either a "FreeFormLayoutStrategyDescription" child element (the default) or a "ListLayoutStrategyDescription" (to enable "list mode").
Note that when you create a Node Description in the explorer, a "FreeFormLayoutStrategyDescription" child element is automatically created; you must delete it first before creating a "ListLayoutStrategyDescription".
Although it is not used yet, this way of doing things allows for other layout strategies to be added later, and for configuration of each with their own parameters.

You mention "if I want to add subnodes", but note that you do not need to be in "list layout" mode for that, the default "free form" layout will also display sub-nodes, just in a free-form canvas instead of as a vertical list.

The "Shape" menu is available on the style configuration, but only if you use an Image style. The default is a Rectangular style, so again you need to remove the style node, then create a child of the "Style Image" type, and on it you will see the Shape selector.



Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: "List Mode" check box and "Shape" drop-down menu in Sirius web? [message #1859480 is a reply to message #1859474] Fri, 09 June 2023 18:10 Go to previous message
Dusan Pavlovic is currently offline Dusan PavlovicFriend
Messages: 2
Registered: June 2023
Junior Member
Thank you very much Pierre-Charles David!

I've maneged to impove my layout following your advise, yet I cannot replicate 100% of what I've seen in the example.
Please see attached screanshot. By the way, all my nodes are marked as "User Resizable" .
https://res.cloudinary.com/jucabika/image/upload/v1686333950/hqgjr46s0ctwstyxxihs.png

Regards,
Dusan

[Updated on: Fri, 09 June 2023 18:24]

Report message to a moderator

Previous Topic:Sirius Desktop: Black background for hover icon on links on linux
Next Topic:Derived Relations in Ecore
Goto Forum:
  


Current Time: Thu Apr 25 16:33:32 GMT 2024

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

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

Back to the top