Skip to main content



      Home
Home » Eclipse Projects » Sirius » Is it a bug of Delete Element in Sirius editor?
Is it a bug of Delete Element in Sirius editor? [message #1774019] Mon, 09 October 2017 05:56 Go to next message
Eclipse UserFriend
I customized a '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.
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)

I'm not sure is it a bug the editor did not forbid the 'cut' function of an edge.

And my requirement is forbid the cut function of an edge, how to implement it?
  • Attachment: testEdge.zip
    (Size: 159.65KB, Downloaded 89 times)
Re: Is it a bug of Delete Element in Sirius editor? [message #1774044 is a reply to message #1774019] Mon, 09 October 2017 11:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi

I consider it as a bug. The cut item in the contextual menu should not be enabled.
Please submit a ticket https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius

Regards
Laurent
Re: Is it a bug of Delete Element in Sirius editor? [message #1774146 is a reply to message #1774044] Tue, 10 October 2017 22:57 Go to previous message
Eclipse UserFriend
Hi Laurent
This bug had submited in https://bugs.eclipse.org/bugs/show_bug.cgi?id=525787

Thanks a lot.

Previous Topic:Overriding Sirius undo/redo
Next Topic:Overriding default Editor drag-and-drop
Goto Forum:
  


Current Time: Wed Jul 16 03:14:26 EDT 2025

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

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

Back to the top