Skip to main content



      Home
Home » Eclipse Projects » Sirius » Import element to diagram individually
Import element to diagram individually [message #1858166] Sat, 18 March 2023 10:30
Eclipse UserFriend
Hi, everyone,
I wanted a feature where the user could import one or more elements defined elsewhere into the diagram as many times as needed. I don't think using layers or filters will accomplish this, because they are imported all at once rather than individually.
One way I can think of is to import all of the predefined elements when user create a diagram, and then hide them all by a Begin operation. The user can then use the Show/Hide menu to select elements that display parts of them.
I followed the suggestions in this link https://www.eclipse.org/forums/index.php/m/1804184/?srch=programatically+hide#msg_1804184, but I ran into a problem, what is the available variable in Begin operation that represents the created diagram? Because this is the way to get the predefined elements in the diagram then hide them. By the way, the variable 'diagram' didn't work.
Is there anyone who can help me? Thank you.

[Updated on: Sat, 18 March 2023 10:34] by Moderator

Previous Topic:Eclipse Sirius - Overriding/Customisation of Native Features
Next Topic:Inhibit shape highlight when creating an edge
Goto Forum:
  


Current Time: Mon Jul 07 22:37:34 EDT 2025

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

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

Back to the top