public TestNode(Tree tree, string icon, string name, object tag, object propertyGridDecorator)
     : base(tree, tag)
 {
     this.icon = icon;
     this.name = name;
     this.propertyGridDecorator = propertyGridDecorator;
 }
        public MainWindow(string[] args) : base(WindowType.Toplevel)
        {
            ExceptionManager.UnhandledException += this.ExceptionManagerUnhandledException;
            this.Build();

            try
            {
                this.explorer           = new Explorer.Tree(this);
                this.explorer.Selected += this.ExplorerSelected;
                var scrolledWindow = new ScrolledWindow {
                    this.explorer
                };
                this.mainHPaned.Add1(scrolledWindow);

                this.propertyGrid = new PropertyGrid();
                this.propertyGrid.SetSizeRequest(500, 400);
                this.mainHPaned.Add2(this.propertyGrid);

                this.propertyGrid.ShowAll();

                this.grid = new Validation.Grid(this.explorer);
                this.grid.SetSizeRequest(500, 100);
                this.vbox1.Add(this.grid);

                this.ShowAll();
            }
            catch
            {
            }

            if (args.Length > 0)
            {
                var repository = new Repository(new DirectoryInfo(args[0]));
                this.explorer.Open(repository);
            }
        }