eclipse-sirius / sirius-desktop

Sirius Desktop: desktop-based graphical modelers for dedicated DSLs
https://eclipse.dev/sirius/
Eclipse Public License 2.0
15 stars 12 forks source link

Drag and multiple displays #501

Open tuaingmeugoqua opened 2 weeks ago

tuaingmeugoqua commented 2 weeks ago

Dear Sirius developer, hello. First, I wish you all the best. I am a beginner learning to develop using Sirius. I am working on collaborative development for different views.The functionality I want to implement is: select an element from the tree view, use the mouse to drag and drop it onto the diagram view to display it. This display should be repeatable, meaning the same element can be shown multiple times on the diagram view, with each drag-and-drop action creating a new display. I found an Entities odesign file in the Sirius desktop code, but I'm not sure if you remember it. It implements the drag-and-drop functionality, but it only supports displaying the element once within the same container and doesn't support multiple displays. I noticed that the multiple display functionality might be related to create view, but I’m not sure how to implement it. So, I’m asking for your help, and I apologize for bothering you. Thanks very much.

  Regards,
  Levent