public TimelineEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, IPaletteService paletteService, ISettingsService settingsService) { s_schemaLoader = new SchemaLoader(); s_repository.DocumentAdded += repository_DocumentAdded; s_repository.DocumentRemoved += repository_DocumentRemoved; paletteService.AddItem(Schema.markerType.Type, "Timelines", this); paletteService.AddItem(Schema.groupType.Type, "Timelines", this); paletteService.AddItem(Schema.trackType.Type, "Timelines", this); paletteService.AddItem(Schema.intervalType.Type, "Timelines", this); paletteService.AddItem(Schema.keyType.Type, "Timelines", this); paletteService.AddItem(Schema.timelineRefType.Type, "Timelines", this); m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_controlHostService = controlHostService; m_documentService = documentService; m_settingsService = settingsService; }
public TimelineEditor( IControlHostService controlHostService, ICommandService commandService, IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IDocumentService documentService, IPaletteService paletteService, ISettingsService settingsService) { s_schemaLoader = new SchemaLoader(); s_repository.DocumentAdded += repository_DocumentAdded; s_repository.DocumentRemoved += repository_DocumentRemoved; paletteService.AddItem(Schema.markerType.Type, "Timelines", this); paletteService.AddItem(Schema.groupType.Type, "Timelines", this); paletteService.AddItem(Schema.trackType.Type, "Timelines", this); paletteService.AddItem(Schema.intervalType.Type, "Timelines", this); paletteService.AddItem(Schema.keyType.Type, "Timelines", this); paletteService.AddItem(Schema.timelineRefType.Type, "Timelines", this); m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_controlHostService = controlHostService; m_documentService = documentService; m_settingsService = settingsService; }