It seems that a custom CommandHandler is not called for ApplicationCommands.
What we did:
We bound our ToolBar buttons and main MenuItems for e.g. Cut/Copy/Paste to the corresponding ApplicationCommands. No Problems so far. But now we need a custom CommandHandler implementation.
<go:Diagram.CommandHandler> <handler:CustomHandler/> </go:Diagram.CommandHandler>
(taken from your examples) where CusytomHandler inherits from CommandHandler and overrides the methods CanCut, Cut etc.
The CustomHandler is instantiated but the overridden methods are never called.
We cannot bind the button or menu item directly to the CommandHandler.CutCommand etc, because they are application wide controls and we would disable the default behavior for cut/copy/paste in all other framework elements in that case.
What do we have to do?
Thanx in advance