static GenericStructureContribution()
 {
     // prepare category tree
     if (StructCategoryTree.theInstance == null)
     {
         StructCategoryTree.loadDefaultTree();
     }
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        public StructCategoryTree(XmlDocument e)//:base(e)
        {
            theInstance = this;
            XmlNode root = e.SelectSingleNode("tree");

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