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)); }
public static DragDropContext GetDragDropManager(bool issueLiesInBottomHalf, IIssuesEngine issuesEngine) { DragDropContext obj = null; if (issueLiesInBottomHalf) { obj = new DragDropContext(new DropItemToBottom(issuesEngine)); } else { obj = new DragDropContext(new DropItemToTop(issuesEngine)); } return(obj); }
public override ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context) { return(new DataBindingInsertionPointCreator((TimelineItem)this, (SceneNode)this.behaviorNode, (IProperty)null, context).Create(data)); }
public virtual ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context) { return((ISceneInsertionPoint)null); }