public override void handleUpdate(List <PackageUpdate> updates) { if (updates.Any(x => x.change == PackageChange.Names)) { hostedControl.SignalNamelistAboutToUpdate(); NamesList.ReplaceAll(Pcc.Names.Select((name, i) => new IndexedName(i, name))); //we replaceall so we don't add one by one and trigger tons of notifications hostedControl.SignalNamelistChanged(); } //Put code to reload the export here foreach (var update in updates) { if ((update.change == PackageChange.ExportAdd || update.change == PackageChange.ExportData) && update.index == LoadedExport.Index) { if (hostedControl is CurveEditor) { //CurveEditor handles its own refresh continue; } hostedControl.LoadExport(LoadedExport); //reload export return; } } }