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

            tab.FollowReference(@ref, Content, onShown);
            DocumentTabService.SetFocus(tab);
        }
Example #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);
        }