Community
Participate
Working Groups
If I have a IClipboardSupport which overrides the paste operation and returns null for an object to be pasted, the PasteCommand will still return an OK command result even if no objects have been pasted. The command is then added to the operation history and is considered to be undoable. The command shouldn't be added to the operation history in this case. Furthermore it doesn't seem possible to grey out the paste action in the above scenario because the PasteCommand returns true for canExecute. Would it be possible to fix the PasteCommand so that clients have the opportunity to return false in canExecute() and if no objects are pasted have the PasteCommand return an error command result.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug