/// <summary>
        /// Build out the sub menu items.
        /// </summary>
        /// <param name="manager">The manager that this </param>
        public void Refresh(IFunctionManager manager)
        {
            Project project = App.Instance.SalesForceApp.CurrentProject;

            if (project != null)
            {
                FunctionGrouping systemGroup = new FunctionGrouping("SALESFORCE_SYSTEM_SNIPPET", "System");
                manager.RemoveFunction(systemGroup);
                manager.AddFunction(systemGroup, Id);
                foreach (string snippet in project.GetSystemSnippets())
                {
                    manager.AddFunction(new InsertSnippetFunction(snippet), "SALESFORCE_SYSTEM_SNIPPET");
                }

                FunctionGrouping projectGroup = new FunctionGrouping("SALESFORCE_PROJECT_SNIPPET", "Project");
                manager.RemoveFunction(projectGroup);
                manager.AddFunction(projectGroup, Id);
                foreach (string snippet in project.GetProjectSnippets())
                {
                    manager.AddFunction(new InsertSnippetFunction(snippet), "SALESFORCE_PROJECT_SNIPPET");
                }
            }
        }