static GenericStructureContribution() { // prepare category tree if (StructCategoryTree.theInstance == null) { StructCategoryTree.loadDefaultTree(); } }
public StructCategoryTree(XmlDocument e) //:base(e) { _theInstance = this; XmlNode root = e.SelectSingleNode("tree"); makeRoot(e); if (root != null) { parseTree(root, 0); } }