Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoToolLinking Class : DoNoRelink Method |
If the oldlink is Movable, this is considered a relinking to no port, rather than a deletion of the link.
Because this case (when Movable is false) effectively results in an object being removed from the document, this method calls GoView.RaiseSelectionDeleting and GoView.RaiseSelectionDeleted. If the GoView.RaiseSelectionDeleting event results in a cancellation, this calls DoCancelMouse instead of removing the link. This method does not remove the link if CanDelete is false.
This method is responsible for setting TransactionResult, so that Stop's call to StopTransaction will properly call GoView.FinishTransaction or GoView.AbortTransaction, as desired.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2