Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:56 Go to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
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 44 times)
Re: Is it a bug of Delete Element in Sirius editor? [message #1774044 is a reply to message #1774019] Mon, 09 October 2017 15:38 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 166
Registered: October 2014
Senior Member
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


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Is it a bug of Delete Element in Sirius editor? [message #1774146 is a reply to message #1774044] Wed, 11 October 2017 02:57 Go to previous message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
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: Mon Mar 30 11:27:45 GMT 2020

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

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

Back to the top