void ShowPlayerMenu(TreePath [] paths) { List <LMTimelineEvent> events = TreeViewHelpers.EventsListFromPaths(modelSort, paths); IEnumerable <LMTimelineEventVM> eventVMs = events.Select(evt => new LMTimelineEventVM() { Model = evt }); playerMenu.ShowMenu(Project, eventVMs); }
void ShowEventTypeMenu(EventType eventType, TreePath [] paths) { List <LMTimelineEvent> events = TreeViewHelpers.EventsListFromPaths(modelSort, paths); IEnumerable <LMTimelineEventVM> eventVMs = events.Select(e => new LMTimelineEventVM() { Model = e }); eventTypeMenu.ShowMenu(Project, eventType, eventVMs); }
void ShowPlayerMenu(TreePath [] paths) { List <LMTimelineEvent> events = TreeViewHelpers.EventsListFromPaths(modelSort, paths); playerMenu.ShowMenu(Project, events); }
void ShowEventTypeMenu(EventType eventType, TreePath [] paths) { List <LMTimelineEvent> events = TreeViewHelpers.EventsListFromPaths(modelSort, paths); eventTypeMenu.ShowMenu(Project, eventType, events); }