public override void EA_FileOpen(EA.Repository repository)
 {
     this.model    = new TSF_EA.Model(repository);
     this.settings = new GlossaryManagerSettings(this.model);
     this.factory  = new GlossaryItemFactory(this.settings);
     Domain.getAllDomains(this.settings.businessItemsPackage, this.settings.dataItemsPackage);
     this.fullyLoaded = true;
 }
        public void test()
        {
            var testForm = new EDD_TestForm();

            testForm.mainControl.selectedDomainChanged += this.selectedDomainChanged;
            testForm.mainControl.newButtonClicked      += this.newButtonClicked;
            //testForm.mainControl.selectedTabChanged += this.selectedTabChanged;
            testForm.mainControl.setDomains(Domain.getAllDomains(this.settings.businessItemsPackage, this.settings.dataItemsPackage));
            testForm.mainControl.setStatusses(statusses: this.model.getStatusses());
            this._mainControl = testForm.mainControl;
            testForm.Show();
        }
 private void initialiseMainControl()
 {
     if (this._mainControl == null && this.model != null)
     {
         this._mainControl = this.model.addTab(appTitle, guiFQN) as EDD_MainControl;
         this._mainControl.HandleDestroyed        += this.handleHandleDestroyed;
         this._mainControl.selectedDomainChanged  += this.selectedDomainChanged;
         this._mainControl.newButtonClicked       += this.newButtonClicked;
         this._mainControl.filterButtonClicked    += this.filterButtonClicked;
         this._mainControl.getTableButtonClicked  += this.getTableButtonClicked;
         this._mainControl.newLinkedButtonClicked += this.newLinkedButtonClicked;
         this._mainControl.setDomains(Domain.getAllDomains(this.settings.businessItemsPackage, this.settings.dataItemsPackage));
         this._mainControl.setStatusses(statusses: this.model.getStatusses());
         this._mainControl.setLogicalDatatypes(this.logicalDatatypes);
     }
 }