Inheritance: MonoDevelop.Ide.Gui.AbstractViewContent
        public static void Open(ProjectInfo project)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent<SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(project.Collection);
                    sourceDoc.ExpandPath(VersionControlPath.RootFolder + project.Name);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();
            sourceControlExplorerView.Load(project.Collection);
            sourceControlExplorerView.ExpandPath(VersionControlPath.RootFolder + project.Name);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }
        public static void Open(ProjectInfo project)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent <SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(project.Collection);
                    sourceDoc.ExpandPath(VersionControlPath.RootFolder + project.Name);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();

            sourceControlExplorerView.Load(project.Collection);
            sourceControlExplorerView.ExpandPath(VersionControlPath.RootFolder + project.Name);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }
        public static void Open(ProjectCollection collection, string path, string fileName)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent <SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(collection);
                    sourceDoc.ExpandPath(path);
                    sourceDoc.FindListItem(fileName);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();

            sourceControlExplorerView.Load(collection);
            sourceControlExplorerView.ExpandPath(path);
            sourceControlExplorerView.FindListItem(fileName);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }
        public static void Open(ProjectCollection collection, string path, string fileName)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent<SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(collection);
                    sourceDoc.ExpandPath(path);
                    sourceDoc.FindListItem(fileName);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();
            sourceControlExplorerView.Load(collection);
            sourceControlExplorerView.ExpandPath(path);
            sourceControlExplorerView.FindListItem(fileName);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }