Esempio n. 1
0
 static GenericStructureContribution()
 {
     // prepare category tree
     if (StructCategoryTree.theInstance == null)
     {
         StructCategoryTree.loadDefaultTree();
     }
 }
Esempio n. 2
0
        public StructCategoryTree(XmlDocument e)        //:base(e)
        {
            _theInstance = this;
            XmlNode root = e.SelectSingleNode("tree");

            makeRoot(e);
            if (root != null)
            {
                parseTree(root, 0);
            }
        }