public void OnDataLoaded() { ClassPointer objId = _loader.GetRootId(); TreeNodeClassRoot r = TreeNodeClassRoot.CreateClassRoot(true, objId, EnumObjectSelectType.All, null, null, _objExplorer.StaticScope); //r.ClassData.SetDesignerHolder(_holder); r.SetDesigner(_loader); _objExplorer.Nodes.Add(r); if (!objId.IsStatic) { _objExplorer.Nodes.Add(new TreeNodeDatabaseConnectionList(objId)); } _objExplorer.Nodes.Add(new TreeNodeActionCollection(r, false, objId, 0, EnumObjectSelectType.All, null, null)); _objExplorer.LoadTypeNodes(); txtDesc.Text = SerializeUtil.GetNodeDescription(_loader.Node); }
public void OnDataLoaded() { ClassPointer objId = _loader.GetRootId(); TreeNodeClassRoot r = _objExplorer.CreateClassRoot(true, objId, _objExplorer.StaticScope); r.SetDesigner(_loader); _objExplorer.Nodes.Add(r); _objExplorer.Nodes.Add(new TreeNodeDocCollection(_objExplorer, objId)); if (objId.Interface == null) { if (!objId.IsStatic) { _objExplorer.Nodes.Add(new TreeNodeDatabaseConnectionList(objId)); } TreeNodeActionCollection tnas = new TreeNodeActionCollection(_objExplorer, r, false, objId, 0); _objExplorer.Nodes.Add(tnas); tnas.AdjustActionIcon(); } _objExplorer.LoadTypeNodes(); txtDesc.Text = SerializeUtil.GetNodeDescription(_loader.Node); }