|
|
Re: some Key Bindings not working [message #1308744 is a reply to message #1300357] |
Tue, 22 April 2014 08:35 |
Martin Hanysz Messages: 30 Registered: November 2013 |
Member |
|
|
Dear Michael,
Thank you for your answer.
Yes, I use my own subclass of DiagramEditor and I also registered a custom action bar contributor which inherits from DiagramEditorActionBarContributor. It disables the contributions to the main menu by overriding contributeToMenu(IMenuManager) with an empty method. The remaining methods are inherited, especially buildActions(). As far as I understand, this method registers a number of retargetable actions such as copy, paste, delete, redo, undo etc. By doing this, I think the editor is supposed to automatically react to the respective shortcuts for the registered action, e.g. [Del] for delete.
But as I wrote in my previous post, not all of the shortcuts work as I expect them to do. [Ctrl + C] does not copy a Shape, but when the direct editing of a text is active, I am able to copy and paste text. So the editor is reacting to [Ctrl + C] somehow, but not when a Shape is selected.
So my question remains: How can I make [Ctrl + C] and [Ctrl + V] work for copying Shapes?
Best regards,
Martin
|
|
|
|
Powered by
FUDForum. Page generated in 0.04369 seconds