private void InsertPrimitive(string type)
{
TreeNode tnParent = this.treeView.SelectedNode;
DocSchema docSchema = (DocSchema)tnParent.Tag;
DocPrimitive docPrimitive = new DocPrimitive();
InitDefinition(docPrimitive);
docPrimitive.Name = type;
docSchema.Primitives.Add(docPrimitive);
this.treeView.SelectedNode = this.LoadNode(tnParent.Nodes[8], docPrimitive, docPrimitive.ToString(), false);
}