public ISwFeatureMgrTab <TControl> CreateFeatureManagerTab <TControl>(ISwDocument doc) { var tab = new SwFeatureMgrTab <TControl>( new FeatureManagerTabCreator <TControl>(doc.Model.ModelViewManager, m_SvcProvider), (SwDocument)doc, Logger); tab.InitControl(); return(tab); }
public ISwFeatureMgrTab <TControl> CreateFeatureManagerTab <TControl>(ISwDocument doc) { var tab = new SwFeatureMgrTab <TControl>( new FeatureManagerTabCreator <TControl>(doc.Model.ModelViewManager, m_SvcProvider), (SwDocument)doc, Application, Logger); tab.InitControl(); tab.Disposed += OnItemDisposed; m_Disposables.Add(tab); return(tab); }