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()); }
public static void CollapseTree(this SolutionPad pad) { var c = (ExtensibleTreeView)pad.Control; c.CollapseTree(); }
public static ExtensibleTreeViewController GetTreeView(this SolutionPad pad) { return((ExtensibleTreeViewController)pad.Controller); }
public static ITreeNavigator GetRootNode(this SolutionPad pad) { return(pad.GetTreeView().GetRootNode()); }