/// <summary> /// Creates a new category and appends it to the provider node builder /// YOU HAVE TO HAVE CALLED IntializeProvider() Before this /// </summary> public void CreateNewCategory() { // URGENT: Change the name of newcategory into something else NewCategory n = new NewCategory (providerNode); log.INFO ("Creating a new category"); n.ShowAll (); }
/// <summary> /// Used to nest categories. /// /// TODO: Migrate createnewcategory to use this function instead /// </summary> /// <param name="parent"> /// A <see cref="NodeData"/> /// </param> public void AddChildCategory(NodeData parent) { NewCategory n = new NewCategory (parent); log.INFO ("Making new category with parent - " + parent.Label); n.ShowAll (); }