public void TestNotifier() { _env.DataManager.LoadProject(TestConstant.Project_Drosophila); TestPlugin plugin = new TestPlugin(); plugin.Environment = _env; EcellObject obj1 = _env.DataManager.CreateDefaultObject("Drosophila", "/", "System"); plugin.NotifyDataAdd(obj1, true); EcellObject obj2 = _env.DataManager.CreateDefaultObject("Drosophila", "/", "System"); List<EcellObject> list = new List<EcellObject>(); list.Add(obj2); plugin.NotifyDataAdd(list, true); plugin.NotifyDataChanged(obj1.Key, obj1, true, true); plugin.NotifySetPosition(obj1); plugin.NotifyLoggerAdd(obj1.ModelID, obj1.Key, obj1.Type, obj1.FullID + ":Size"); plugin.NotifyAddSelect(obj1.ModelID, obj1.Key, obj1.Type); plugin.NotifySelectChanged(obj1.ModelID, obj1.Key, obj1.Type); plugin.NotifyRemoveSelect(obj1.ModelID, obj1.Key, obj1.Type); plugin.NotifyResetSelect(); plugin.NotifyDataMerge(obj1.ModelID, obj1.Key); plugin.NotifyDataMerge(obj1.ModelID, obj1.Key); plugin.NotifyDataDelete(obj2.ModelID, obj2.Key, obj2.Type, true); }