Community
Participate
Working Groups
When I specified 'Delete Element' in odesign file for forbidding delete Node and Edge in Diagram. and it works well, I can't delete Node and Edge. When I right click the Node, select 'Edit', the 'cut' menu is disabled. It's OK. But When I right click the Edge, select 'Edit', the 'cut' menu is usable. (But when I click 'cut', the edge will not be delete) The editor did not forbid the 'cut' function of an edge. https://www.eclipse.org/forums/index.php/t/1089311/
Created attachment 270923 [details] Test Edge Add test edge example
Created attachment 270938 [details] DisableCutOnEdge
Thanks for your submition. I reproduced the issue on Sirius4.1.1. For easier analysis, I attached a project with VSP on ecore Meta model. Steps to reproduce: * import DisableCutOnEdge project * open diagram * right click on edge -> KO: The cut entry is available as it should not because a the delete tool with false precondition * select edge and Ctrl + X * select E1 node and Ctrl + V -> KO: a new EReference is created. The cut tool acts as the copy tool