Class BSimExecutablesSummaryModel
java.lang.Object
javax.swing.table.AbstractTableModel
docking.widgets.table.AbstractGTableModel<ExecutableResult>
docking.widgets.table.AbstractSortedTableModel<ExecutableResult>
docking.widgets.table.GDynamicColumnTableModel<ExecutableResult, Program>
docking.widgets.table.threaded.ThreadedTableModel<ExecutableResult, Program>
ghidra.util.table.GhidraProgramTableModel<ExecutableResult>
ghidra.features.bsim.gui.search.results.BSimExecutablesSummaryModel
- All Implemented Interfaces:
ConfigurableColumnTableModel, DynamicColumnTableModel<ExecutableResult>, RowObjectFilterModel<ExecutableResult>, RowObjectTableModel<ExecutableResult>, SelectionStorage<ExecutableResult>, SortedTableModel, VariableColumnTableModel, ProgramTableModel, Serializable, EventListener, ChangeListener, TableModel
Table model built by aggregating or "summing" the columns of rows from the QueryResultModel.
QueryResultModel rows represent functions contained in specific executables.
This model groups function rows from the same executable and produces a single
row for that executable. Columns are populated roughly:
CountColumn is the number of functions in the group
SignificanceColumn is the sum of the individual function significances in the group
All the other columns are inherited from properties of the single executable used
to define the group of functions.
ExecutableNameMatch name of the executable
ExecutableCategoryMatch a category associated with the executable
ExecutableDateMatch date associated with the executable
ArchitectureMatch architecture
CompilerMatch compiler
RepoColumn repository containing the executable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ThreadedTableModel
ThreadedTableModel.IncrementalLoadJobListener -
Field Summary
Fields inherited from class GhidraProgramTableModel
programFields inherited from class ThreadedTableModel
allData, filteredDataFields inherited from class GDynamicColumnTableModel
columnSettings, serviceProvider, tableColumnsFields inherited from class AbstractSortedTableModel
hasEverSortedFields inherited from class AbstractGTableModel
isDisposed, WIDTH_UNDEFINEDFields inherited from class AbstractTableModel
listenerListFields inherited from interface RowObjectFilterModel
SUB_FILTERING_DISABLED_PROPERTYFields inherited from interface SortedTableModel
ASCENDING_ORDER, DESCENDING_ORDER -
Method Summary
Modifier and TypeMethodDescriptionprotected TableColumnDescriptor<ExecutableResult> protected voiddoLoad(Accumulator<ExecutableResult> accumulator, TaskMonitor monitor) The basic method that all children must implement.getProgramLocation(int row, int column) Returns a program location corresponding the given row and column.getProgramSelection(int[] rows) Returns a program selection corresponding to the specified row index array.Methods inherited from class GhidraProgramTableModel
dispose, getAddress, getAddress, getDataSource, getProgram, getProgramForRow, setProgramMethods inherited from class ThreadedTableModel
addInitialLoadListener, addInitialLoadListener, addObject, addThreadedTableModelListener, backgroundWorkCancelled, cancelAllUpdates, clearData, createAccumulator, createIncrementalLoadJob, createSortComparator, doFilter, fireTableChanged, getAddRemoveStrategy, getAllData, getModelData, getModelIndex, getModelRow, getName, getRowCount, getRowObjects, getTableFilter, getUnfilteredData, getUnfilteredIndexForRowObject, getUnfilteredRowCount, getUnfilteredRowObjectForIndex, getValueAt, getViewIndex, getViewRow, hasFilter, initializeSorting, isBusy, isFiltered, isLoadIncrementally, reFilter, reload, removeObject, removeThreadedTableModelListener, reSort, setIncrementalTaskMonitor, setModelState, setTableFilter, sort, startInitialLoad, updateNow, updateObjectMethods inherited from class GDynamicColumnTableModel
addTableColumn, addTableColumn, addTableColumns, addTableColumns, createSortComparatorForColumn, disposeDynamicColumnData, getColumn, getColumnClass, getColumnCount, getColumnDescription, getColumnDisplayName, getColumnIndex, getColumnIndex, getColumnName, getColumnSettings, getColumnSettingsDefinitions, getColumnValueForRow, getDefaultColumnCount, getHeaderRenderer, getMaxLines, getPreferredColumnWidth, getRenderer, getTableColumnDescriptor, getUniqueIdentifier, isDefaultColumn, isSortable, isVisibleByDefault, loadDiscoveredTableColumns, reloadColumns, removeTableColumn, removeTableColumns, setAllColumnSettings, stateChangedMethods inherited from class AbstractSortedTableModel
addSortListener, cleanupTableSortState, createSortingContext, getIndexForRowObject, getIndexForRowObject, getPendingSortState, getPrimarySortColumnIndex, getRowIndex, getRowObject, getTableSortState, isSorted, isSortPending, notifyModelSorted, setDefaultTableSortState, setTableSortState, sortCompletedMethods inherited from class AbstractGTableModel
getLastSelectedObjects, isDisposed, refresh, setLastSelectedObjectsMethods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RowObjectTableModel
fireTableDataChanged, getColumnValueForRow, getRowIndex, getRowObjectMethods inherited from interface TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
createTableColumnDescriptor
- Overrides:
createTableColumnDescriptorin classGhidraProgramTableModel<ExecutableResult>
-
doLoad
protected void doLoad(Accumulator<ExecutableResult> accumulator, TaskMonitor monitor) throws CancelledException Description copied from class:ThreadedTableModelThe basic method that all children must implement. This is where children load their data.- Specified by:
doLoadin classThreadedTableModel<ExecutableResult, Program>- Parameters:
accumulator- the datastructure into which you should incrementally place you table row datamonitor- the task monitor to check for cancellations and to update progress- Throws:
CancelledException- if the task monitor has been cancelled and a call is made tomonitor.checkCancelled();.
-
getProgramLocation
Description copied from interface:ProgramTableModelReturns a program location corresponding the given row and column.Motivation: Given a table that has a column that contains addresses. If the user clicks on this column, then it would be nice to have the CodeBrowser navigate to this address.
- Specified by:
getProgramLocationin interfaceProgramTableModel- Overrides:
getProgramLocationin classGhidraProgramTableModel<ExecutableResult>- Parameters:
row- the rowcolumn- the column in the model's index- Returns:
- a program location corresponding the given row and column
-
getProgramSelection
Description copied from interface:ProgramTableModelReturns a program selection corresponding to the specified row index array. This array will contain the currently selected rows.- Specified by:
getProgramSelectionin interfaceProgramTableModel- Overrides:
getProgramSelectionin classGhidraProgramTableModel<ExecutableResult>- Parameters:
rows- the currently selected rows.- Returns:
- a program selection
-