Пример #1
0
        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);
        }
Пример #2
0
        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);
        }