Example #1
0
 //IMainWindowContentFactory
 public IViewManager Create(IPoderosaMainWindow parent)
 {
     Debug.Assert(parent != null);
     Debug.Assert(_defaultViewFactory != null); //�{����Assert�ł͂܂���
     SplittableViewManager pm = new SplittableViewManager(parent, _defaultViewFactory);
     return pm;
 }
Example #2
0
        //IMainWindowContentFactory
        public IViewManager Create(IPoderosaMainWindow parent)
        {
            Debug.Assert(parent != null);
            Debug.Assert(_defaultViewFactory != null); //本当はAssertではまずい
            SplittableViewManager pm = new SplittableViewManager(parent, _defaultViewFactory);

            return(pm);
        }
Example #3
0
        public SplittableViewPane(SplittableViewManager parent, IPoderosaView content)
        {
            _parent = parent;
            Debug.Assert(content != null);
            _content = content;
            IContentReplaceableViewSite site = (IContentReplaceableViewSite)_content.GetAdapter(typeof(IContentReplaceableViewSite));

            if (site != null)
            {
                site.CurrentContentReplaceableView = this;
            }
        }
Example #4
0
 public SplittableViewPane(SplittableViewManager parent, IPoderosaView content)
 {
     _parent = parent;
     Debug.Assert(content != null);
     _content = content;
     IContentReplaceableViewSite site = (IContentReplaceableViewSite)_content.GetAdapter(typeof(IContentReplaceableViewSite));
     if (site != null)
         site.CurrentContentReplaceableView = this;
 }