private ITreeNavigator[] getNodes()
        {
            if (!IdeApp.Workbench.Pads.SolutionPad.Visible)
            {
                return(null);
            }
            SolutionPad pad = IdeApp.Workbench.Pads.SolutionPad.Content as SolutionPad;

            if (pad == null)
            {
                return(null);
            }
            return(pad.TreeView.GetSelectedNodes());
        }
示例#2
0
        public static void CollapseTree(this SolutionPad pad)
        {
            var c = (ExtensibleTreeView)pad.Control;

            c.CollapseTree();
        }
示例#3
0
 public static ExtensibleTreeViewController GetTreeView(this SolutionPad pad)
 {
     return((ExtensibleTreeViewController)pad.Controller);
 }
示例#4
0
 public static ITreeNavigator GetRootNode(this SolutionPad pad)
 {
     return(pad.GetTreeView().GetRootNode());
 }