Example #1
0
        private void Initialize()
        {
            FileEGI fileEGI = new FileEGI(this.CurrentAppli);

            this.CurrentFileEGI = fileEGI.Initialize();

            if (this.CurrentFileEGI != null)
            {
                this.SetSceneDimensions();

                if (manageCatalog == null)
                {
                    manageCatalog = new ManageCatalog(this.CurrentAppli);
                }

                if (globalSegment == null)
                {
                    globalSegment = new GlobalSegment(this.CurrentFileEGI);
                }

                string version = globalSegment.GetVersion();
                SetSceneReference(version);

                this.ClearAllSectionsList();
                this.SetAllSectionsList();
            }
        }
Example #2
0
        public ArticleSegment(Plugin plugin, KD.Config.IniFile fileEGI, string section, ManageCatalog manageCatalog)//, string catalogManufacturer
        {
            _plugin         = plugin;
            _currentFileEGI = fileEGI;
            //_catalogManufacturer = catalogManufacturer;
            _section       = section;
            _manageCatalog = manageCatalog;

            this.InitMembers();
            this.SetMembers();
        }