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));
        }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
 public override ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context)
 {
     return(new DataBindingInsertionPointCreator((TimelineItem)this, (SceneNode)this.behaviorNode, (IProperty)null, context).Create(data));
 }
Esempio n. 6
0
 public virtual ISceneInsertionPoint GetInsertionPoint(object data, DragDropContext context)
 {
     return((ISceneInsertionPoint)null);
 }