コード例 #1
0
 private void manage()
 {
     if (this.model == null)
     {
         return;
     }
     this.managedPackage = (TSF_EA.Package) this.Model.selectedTreePackage;
     this.mainControl.clear();
     this.mainControl.selectedDomain = Domain.getDomain(this.managedPackage);
 }
コード例 #2
0
 private void showBusinessItems(TSF_EA.Package package, Domain domain, GlossaryItemSearchCriteria searchCriteria)
 {
     if (domain == null)
     {
         domain = Domain.getDomain(package);
     }
     if (domain?.businessItemsPackage != null)
     {
         package = (TSF_EA.Package)domain.businessItemsPackage;
     }
     this.mainControl.setBusinessItems(this.list <BusinessItem>(package, searchCriteria), domain);
 }
 private List <DataItem> getDataItems(TSF_EA.Package package, Domain domain)
 {
     if (domain == null)
     {
         domain = Domain.getDomain(package);
     }
     if (domain?.dataItemsPackage != null)
     {
         package = (TSF_EA.Package)domain.dataItemsPackage;
     }
     return(this.list <DataItem>(package));
 }
 private void showDataItems(TSF_EA.Package package, Domain domain)
 {
     if (domain == null)
     {
         domain = Domain.getDomain(package);
     }
     if (domain?.dataItemsPackage != null)
     {
         package = (TSF_EA.Package)domain.dataItemsPackage;
     }
     this.mainControl.setDataItems(this.getDataItems(package, domain), domain);
 }