public PropertyEditor CreateEditor(Type baseType, ProviderContext context)
		{
			PropertyEditor e = null;

			if (baseType == typeof(ArrayNode))			e = new ArrayNodePropertyEditor();
			else if (baseType == typeof(PrimitiveNode))	e = new PrimitiveNodePropertyEditor();

			return e;
		}
Exemple #2
0
        public PropertyEditor CreateEditor(Type baseType, ProviderContext context)
        {
            PropertyEditor e = null;

            if (baseType == typeof(ArrayNode))
            {
                e = new ArrayNodePropertyEditor();
            }
            else if (baseType == typeof(PrimitiveNode))
            {
                e = new PrimitiveNodePropertyEditor();
            }

            return(e);
        }