public AssetBundleBulidWindow(AssetBundleWindow window, string layout) : base(window)
            {
                ABBListViewCalc             = new ListViewCalculator();
                abBuildInfoTree             = new SubWinTree();
                abBuildInfoTree.repaintEve += window.Repaint;
                if (!string.IsNullOrEmpty(layout))
                {
                    abBuildInfoTree.DeSerialize(layout);
                }
                else
                {
                    for (int i = 0; i <= 3; i++)
                    {
                        string userdata       = i == 1 ? ABBContentItemWin : i == 2 ? ABBItemWin : i == 3 ? ABBContentWin : ABBWin;
                        SubWinTree.TreeLeaf L = abBuildInfoTree.CreateLeaf(new GUIContent(userdata));
                        L.userData = userdata;
                        abBuildInfoTree.DockLeaf(L, (SubWinTree.DockType)i);
                    }
                }
                abBuildInfoTree.isShowTitle    = false;
                abBuildInfoTree.drawCursorEve += (rect, sp) =>
                {
                    if (sp == SplitType.Vertical)
                    {
                        EditorGUIUtility.AddCursorRect(rect, MouseCursor.ResizeHorizontal);
                    }
                    else
                    {
                        EditorGUIUtility.AddCursorRect(rect, MouseCursor.ResizeVertical);
                    }
                };

                abBuildInfoTree[ABBWin].titleContent   = new GUIContent(ABBWin);
                abBuildInfoTree[ABBWin].minSize        = new Vector2(200, 300);
                abBuildInfoTree[ABBWin].paintDelegate += ABBWinGUI;

                abBuildInfoTree[ABBItemWin].titleContent   = new GUIContent(ABBItemWin);
                abBuildInfoTree[ABBItemWin].minSize        = new Vector2(200, 150);
                abBuildInfoTree[ABBItemWin].paintDelegate += ABBItemWinGUI;

                abBuildInfoTree[ABBContentWin].titleContent   = new GUIContent(ABBContentWin);
                abBuildInfoTree[ABBContentWin].minSize        = new Vector2(400, 300);
                abBuildInfoTree[ABBContentWin].paintDelegate += ABBContentWinGUI;

                abBuildInfoTree[ABBContentItemWin].titleContent   = new GUIContent(ABBContentItemWin);
                abBuildInfoTree[ABBContentItemWin].minSize        = new Vector2(400, 150);
                abBuildInfoTree[ABBContentItemWin].paintDelegate += ABBContentItemWinGUI;
            }
 protected AssetBundleWindowBase(AssetBundleWindow window)
 {
     this.window = window;
 }
 public ToolWindow(AssetBundleWindow window) : base(window)
 {
 }
 public DirCollectWindow(AssetBundleWindow window) : base(window)
 {
     chosseWindow  = new AssetChooseWindow();
     tableViewCalc = new TableViewCalculator();
 }