/// <summary>
        /// Create the appropriate designer control.
        /// </summary>
        public IDesignerControl CreateDesigner(IIde ide, IXmlStore store, IXmlModel model, IServiceProvider serviceProvider, IVsTextLines textBuffer)
        {
            var viewModel = new XmlMenuViewModel(store, model, serviceProvider, textBuffer);

            viewModel.Initialize();
            return(new XmlMenuDesignerControl(ide, serviceProvider, viewModel));
        }
 /// <summary>
 /// Create the appropriate designer control.
 /// </summary>
 public IDesignerControl CreateDesigner(IIde ide, IXmlStore store, IXmlModel model, IServiceProvider serviceProvider, IVsTextLines textBuffer)
 {
     var viewModel = new XmlMenuViewModel(store, model, serviceProvider, textBuffer);
     viewModel.Initialize();
     return new XmlMenuDesignerControl(ide, serviceProvider, viewModel);
 }