Copy/Paste override and enable/disable

My app has some nodes derived from InfoNode8 and ClassDiagramNode (from the Demo12 sample) and certain actions need to be performed when nodes are copied/pasted either by menu option or by CTRL-C / CTRL-V. What functions do I need to override?



Also, how do you enable and disable copy / paste in a graph view window?

GoView has ClipboardCopied and ClipboardPasted events.



GoView has an AllowCopy property.

Hey thanks Jake. That is working. One last quick question:



After a paste action, is there an easy way to reference all objects that were pasted into the form?

They should be the GoView.Selection collection.

Great thanks!