Calvert: copied steps/sections have change ids
This commit is contained in:
@@ -245,6 +245,7 @@ namespace VEPROMS
|
||||
tv.InsertItemInfo += new vlnTreeViewItemInfoInsertEvent(tv_InsertItemInfo);
|
||||
tv.NodeInsert += new vlnTreeViewEvent(tv_NodeInsert);
|
||||
tv.PasteItemInfo += new vlnTreeViewItemInfoPasteEvent(tv_PasteItemInfo);
|
||||
tv.GetChangeId += new vlnTreeViewGetChangeIdEvent(tv_GetChangeId);
|
||||
tv.NodeCopy += new vlnTreeViewEvent(tv_NodeCopy);
|
||||
tv.ClipboardStatus += new vlnTreeViewClipboardStatusEvent(tv_ClipboardStatus);
|
||||
tc.ItemPaste += new StepPanelItemPastedEvent(tc_ItemPasted);
|
||||
@@ -282,6 +283,12 @@ namespace VEPROMS
|
||||
displayApplicability.ApplicabilityViewModeChanged += new DisplayApplicability.DisplayApplicabilityEvent(displayApplicability_ApplicabilityViewModeChanged);
|
||||
tv.ExportImportProcedureSets += new vlnTreeViewEvent(tv_ExportImportProcedureSets);
|
||||
}
|
||||
|
||||
string tv_GetChangeId(object sender, vlnTreeItemInfoEventArgs args)
|
||||
{
|
||||
tc.HandleChangeId(args.MyItemInfo, null);
|
||||
return tc.ChgId;
|
||||
}
|
||||
ItemInfo tv_ClipboardStatus(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
return tc.MyCopyStep;
|
||||
|
Reference in New Issue
Block a user