public AbstractManagedObjectsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state, new MultiColumnHeader( new MultiColumnHeaderState(new[] { new MultiColumnHeaderState.Column() { headerContent = new GUIContent("C# Type"), width = 250, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("C++ Name", "If the C# object has a C++ counterpart, display its C++ object name in this column."), width = 150, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size"), width = 80, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Count"), width = 80, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Address"), width = 120, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Assembly"), width = 120, autoResize = true }, }))) { multiColumnHeader.canSort = true; Reload(); }
public AbstractTreeView(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state, MultiColumnHeader multiColumnHeader) : base(state, multiColumnHeader) { this.window = window; m_EditorPrefsKey = editorPrefsKey; rowHeight = 20; showAlternatingRowBackgrounds = true; showBorder = false; columnIndexForTreeFoldouts = 0; extraSpaceBeforeIconAndLabel = 0; baseIndent = 0; multiColumnHeader.sortingChanged += OnSortingChanged; LoadLayout(); }
public ManagedHeapSectionsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state, new MultiColumnHeader( new MultiColumnHeaderState(new[] { new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Address"), width = 300, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size"), width = 120, autoResize = true }, #if HEAPEXPLORER_DISPLAY_REFS new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Refs"), width = 120, autoResize = true }, #endif }))) { extraSpaceBeforeIconAndLabel = 4; columnIndexForTreeFoldouts = 0; multiColumnHeader.canSort = true; Reload(); }
public CompareSnapshotsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state, new MultiColumnHeader( new MultiColumnHeaderState(new[] { new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Type"), width = 300, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size (A)"), width = 100, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size (B)"), width = 100, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size delta (B-A)"), width = 120, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Count (A)"), width = 100, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Count (B)"), width = 100, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Count delta (B-A)"), width = 120, autoResize = true }, }))) { multiColumnHeader.canSort = true; Reload(); }
public NativeObjectsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state, new MultiColumnHeader( new MultiColumnHeaderState(new[] { new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Type"), width = 250, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Name"), width = 250, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Size"), width = 80, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Count"), width = 50, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("DDoL", "Don't Destroy on Load\nHas this object has been marked as DontDestroyOnLoad?"), width = 50, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Persistent", "Is this object persistent?\nAssets are persistent, objects stored in scenes are persistent, dynamically created objects are not."), width = 50, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Address"), width = 120, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("InstanceID", "InstanceID"), width = 120, autoResize = true }, #if HEAPEXPLORER_DISPLAY_REFS new MultiColumnHeaderState.Column() { headerContent = new GUIContent("Refs", "Refereces Count"), width = 50, autoResize = true }, new MultiColumnHeaderState.Column() { headerContent = new GUIContent("RefBy", "ReferencedBy Count"), width = 50, autoResize = true }, #endif }))) { multiColumnHeader.canSort = true; Reload(); }
static void Register() { HeapExplorerWindow.Register <ManagedHeapSectionsView>(); }
public ManagedDelegateTargetsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state) { }
static void Register() { HeapExplorerWindow.Register <ManagedObjectsView>(); }
static void Register() { HeapExplorerWindow.Register <ManagedDelegateTargetsView>(); }
public ManagedObjectDuplicatesControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state) { }
static void Register() { HeapExplorerWindow.Register <GCHandlesView>(); }
static void Register() { HeapExplorerWindow.Register <NativeObjectDuplicatesView>(); }
static void Register() { HeapExplorerWindow.Register <CompareSnapshotsView>(); }
public ManagedEmptyShellObjectsControl(HeapExplorerWindow window, string editorPrefsKey, TreeViewState state) : base(window, editorPrefsKey, state) { }
static void Register() { HeapExplorerWindow.Register <StaticFieldsView>(); }
static void Register() { HeapExplorerWindow.Register <CsvExportView>(); }
static void Register() { HeapExplorerWindow.Register <OverviewView>(); }
static void Register() { HeapExplorerWindow.Register <WelcomeView>(); }