private static void SetupDefaultExitAnimation(Timelines exitAnimation)
        {
            exitAnimation.Add(new Operation()
            {
                Command = Command.HideMessage
            });

            exitAnimation.Add(new SlideOut()
            {
                Direction = Direction.Left,
                BeginTime = TimeSpan.FromSeconds(0.3)
            });
        }
        public Task <Timeline> CreateTimelineAsync(Guid scopeIdentifier, string hubName, Guid planId, Guid timelineId, CancellationToken cancellationToken)
        {
            var timeline = new Timeline {
                Id = timelineId
            };

            Timelines.Add(timelineId, timeline);
            return(Task.FromResult(timeline));
        }
Example #3
0
        public void AddTimeline(string name)
        {
            Timeline timeline = _UI.Store_Timeline.Get(name);

            if (timeline != null)
            {
                Timelines.Add(timeline);
            }
        }
        private static void SetupDefaultEnterAnimation(Timelines enterAnimation)
        {
            enterAnimation.Add(new Operation()
            {
                Command = Command.UpdateWindow
            });

            enterAnimation.Add(new SlideIn()
            {
                Direction = Direction.Right,
                Position  = Position.LeftBottom,
                BeginTime = TimeSpan.FromSeconds(0.1)
            });

            enterAnimation.Add(new Operation()
            {
                Command   = Command.ShowMessage,
                BeginTime = TimeSpan.FromSeconds(1.2)
            });
        }
Example #5
0
        private void AddNewGroup()
        {
            GroupTabs.Add(new GroupViewModel(this)
            {
                Header = NewGroupName, AllowClosing = true
            });

            Timelines.Add(new TimelineVM());

            SelectedTabIndex = GroupTabs.Count - 1;

            NewGroupName = "Group " + GroupTabs.Count.ToString();
        }
Example #6
0
 // AddTimeline
 public void AddTimeline(Timeline timeline)
 {
     Timelines.Add(timeline);
 }