/*****************/ /* CreateBrowser */ /*****************/ public EntityBrowser CreateBrowser() { EntityBrowser theBrowser = new EntityBrowser(ide); lock (browsers) { browsers.Add(theBrowser); if (!ide.dialog.GetExecuting()) { if (browsers.Count == 1) { FetchData(); } theBrowser.UpdateData(modules, entities, scopes); } } return(theBrowser); }
/*****************/ /* UpdateBrowser */ /*****************/ private void UpdateBrowser( EntityBrowser theBrowser) { theBrowser.UpdateData(modules, entities, scopes); }
/******************/ /* ManagesBrowser */ /******************/ public bool ManagesBrowser( EntityBrowser theBrowser) { return(browsers.Contains(theBrowser)); }