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

            return(new object[] { _collection.GetFilter(), _collection.GetGraph() });
        }