public override ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context) { InsertionPointCreatorList pointCreatorList = new InsertionPointCreatorList(); pointCreatorList.Add((IInsertionPointCreator) new DataBindingInsertionPointCreator((TimelineItem)this, (SceneNode)this.elementTimelineItem.Element, this.targetProperty, context)); pointCreatorList.Add((IInsertionPointCreator) new ChildPropertyInsertionPointCreator(this.elementTimelineItem.Element, this.targetProperty)); return(pointCreatorList.Create(data)); }
public override ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context) { InsertionPointCreatorList pointCreatorList = new InsertionPointCreatorList(); pointCreatorList.Add((IInsertionPointCreator) new DataBindingInsertionPointCreator((TimelineItem)this, this.TargetElementTimelineItem.Element.GetLocalValueAsSceneNode((IPropertyId)this.TargetProperty), (IProperty)null, context)); pointCreatorList.Add((IInsertionPointCreator) new ChildPropertyInsertionPointCreator(this.TargetElementTimelineItem.Element, this.TargetProperty)); return(pointCreatorList.Create(data)); }
public override ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context) { InsertionPointCreatorList pointCreatorList = new InsertionPointCreatorList(); pointCreatorList.Add((IInsertionPointCreator) new EffectInsertionPointCreator(this.Element)); pointCreatorList.Add((IInsertionPointCreator) new BehaviorInsertionPointCreator(this.Element)); pointCreatorList.Add((IInsertionPointCreator) new DataBindingInsertionPointCreator((TimelineItem)this, (SceneNode)this.Element, (IProperty)null, context)); pointCreatorList.Add((IInsertionPointCreator) new DefaultTimelineItemInsertionPointCreator((TimelineItem)this, (SceneNode)this.Element, context)); return(pointCreatorList.Create(data)); }