public override Widget CreatePanelWidget() { widget = new XmlSchemasPanelWidget(); widget.LoadUserSchemas(XmlSchemaManager.UserSchemas); widget.AddFileExtensions(XmlFileAssociationManager.GetAssociations()); return(widget); }
public override Widget CreatePanelWidget () { widget = new XmlSchemasPanelWidget (); widget.LoadUserSchemas (XmlSchemaManager.UserSchemas); widget.AddFileExtensions (XmlFileAssociationManager.GetAssociations ()); return widget; }
public override Widget CreatePanelWidget () { widget = new XmlSchemasPanelWidget (); widget.LoadUserSchemas (XmlSchemaManager.UserSchemas); var assocs = new List<XmlSchemaAssociation> (); foreach (string s in XmlFileExtensions.GetExtensions ()) assocs.Add (XmlEditorOptions.GetSchemaAssociation (s)); widget.AddFileExtensions (assocs); return widget; }
public override Widget CreatePanelWidget() { widget = new XmlSchemasPanelWidget(); widget.LoadUserSchemas(XmlSchemaManager.UserSchemas); var assocs = new List <XmlSchemaAssociation> (); foreach (string s in XmlFileExtensions.GetExtensions()) { assocs.Add(XmlEditorOptions.GetSchemaAssociation(s)); } widget.AddFileExtensions(assocs); return(widget); }