예제 #1
0
 public override Widget CreatePanelWidget()
 {
     widget = new XmlSchemasPanelWidget();
     widget.LoadUserSchemas(XmlSchemaManager.UserSchemas);
     widget.AddFileExtensions(XmlFileAssociationManager.GetAssociations());
     return(widget);
 }
예제 #2
0
		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;
		}
예제 #4
0
        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);
        }