-
Dear Sirius team, I hope this message finds you well. Yesterday, I posted a question regarding how to use Diagram Creation in a Tree Description, and I greatly appreciate Laurent Redor's prompt response. Following his advice, I was able to successfully implement Diagram Creation, so thank you for that! I now have a follow-up question regarding an issue I've encountered while using Diagram Creation in the tree structure. Here's what I am trying to achieve: I have created two Diagram Creations in the tree, named Diagram Creation on Package1 and Diagram Creation on Package2. I also created two different Diagram Descriptions, named Diag on Package 1 and Diag on Package 2. In Diagram Creation on Package1, I used the Mappings and Diagram Description to select Diag on Package 1; similarly, I selected Diag on Package 2 for Diagram Creation on Package2. My expectation is that when I click on a package in the new tree, I should be able to choose different Diagram Creations to create different Diagram Descriptions. For example, clicking on Diagram Creation on Package1 should create Diag on Package 1, and clicking on Diagram Creation on Package2 should create Diag on Package 2. Does this approach seem correct to you? Additionally, I have one more question regarding the UI. When we launch the action "New/Diagram Creation on Package" by right-clicking on a package, the context menu displays the label "New". I am wondering where this "New" label is defined, as I would like to customize it (e.g., change "New" to "New Diagram"). Could you please advise how I can modify this label? Thank you for your support, and I look forward to your guidance on these issues! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, The "New" menu in the contextual menu is "hard-coded" here, so you can not customize it. Indeed, this menu can contain diagram creation tools, but also tree or table creation tools. |
Beta Was this translation helpful? Give feedback.
Hi,
Does this approach seem correct to you?
--> Yes, it is, but I'm not sure, what is the real question. I complete the sample of the previous discussion with two diagrams (one with blue classes and the other one with red classes) and two diagram creation menus and so with the expected behavior: TreeSampleProject-v2.zip.The "New" menu in the contextual menu is "hard-coded" here, so you can not customize it. Indeed, this menu can contain diagram creation tools, but also tree or table creation tools.
Regards,
Laurent