public void SetCollection(IActivateItems activator, IPersistableObjectCollection collection) { _collection = (FilterGraphObjectCollection)collection; SetItemActivator(activator); SetAggregate(Activator, _collection.GetGraph()); LoadGraphAsync(); }
protected override object[] GetRibbonObjects() { if (_collection == null) { return(base.GetRibbonObjects()); } return(new object[] { _collection.GetFilter(), _collection.GetGraph() }); }