Пример #1
0
        public void FollowReferenceNewTab(object @ref, Action <ShowTabContentEventArgs> onShown)
        {
            var tab = DocumentTabService.OpenEmptyTab();

            tab.FollowReference(@ref, Content, onShown);
            DocumentTabService.SetFocus(tab);
        }
Пример #2
0
        public void FollowReferenceNewTab(object @ref, Action <ShowTabContentEventArgs> onShown)
        {
            if (NotifyReferenceHandlers(@ref, Content, onShown))
            {
                return;
            }
            var tab = (TabContentImpl)DocumentTabService.OpenEmptyTab();

            tab.FollowReferenceCore(@ref, Content, onShown);
            DocumentTabService.SetFocus(tab);
        }