Esempio n. 1
0
        private void AddChildren(Project project, DescendancyList descendancy)
        {
            HashSet <object> children = new HashSet <object>();

            var projectCohortNode = new ProjectCohortsNode(project);

            children.Add(projectCohortNode);
            AddChildren(projectCohortNode, descendancy.Add(projectCohortNode));

            var projectCataloguesNode = new ProjectCataloguesNode(project);

            children.Add(projectCataloguesNode);
            AddChildren(projectCataloguesNode, descendancy.Add(projectCataloguesNode).SetNewBestRoute());

            var extractionConfigurationsNode = new ExtractionConfigurationsNode(project);

            children.Add(extractionConfigurationsNode);

            AddChildren(extractionConfigurationsNode, descendancy.Add(extractionConfigurationsNode));

            var folder = new ExtractionDirectoryNode(project);

            children.Add(folder);
            AddToDictionaries(children, descendancy);
        }
Esempio n. 2
0
        public ExtractionDirectoryNodeMenu(RDMPContextMenuStripArgs args, ExtractionDirectoryNode folder) : base(args, folder)
        {
            ReBrandActivateAs("Open In Explorer", RDMPConcept.CatalogueFolder);

            Add(new ExecuteCommandSetProjectExtractionDirectory(_activator, folder.Project));
        }