Class BSimMatchResultsModel
java.lang.Object
javax.swing.table.AbstractTableModel
docking.widgets.table.AbstractGTableModel<BSimMatchResult>
docking.widgets.table.AbstractSortedTableModel<BSimMatchResult>
docking.widgets.table.GDynamicColumnTableModel<BSimMatchResult, Program>
docking.widgets.table.threaded.ThreadedTableModel<BSimMatchResult, Program>
ghidra.util.table.GhidraProgramTableModel<BSimMatchResult>
ghidra.util.table.AddressBasedTableModel<BSimMatchResult>
ghidra.features.bsim.gui.search.results.BSimMatchResultsModel
- All Implemented Interfaces:
ConfigurableColumnTableModel, DynamicColumnTableModel<BSimMatchResult>, RowObjectFilterModel<BSimMatchResult>, RowObjectTableModel<BSimMatchResult>, SelectionStorage<BSimMatchResult>, SortedTableModel, VariableColumnTableModel, ProgramTableModel, Serializable, EventListener, ChangeListener, TableModel
Table model for BSim Similar function search results
- 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 -
Constructor Summary
ConstructorsConstructorDescriptionBSimMatchResultsModel(PluginTool tool, DatabaseInformation info, LSHVectorFactory lshVectorFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected TableColumnDescriptor<BSimMatchResult> protected voiddoLoad(Accumulator<BSimMatchResult> accumulator, TaskMonitor monitor) The basic method that all children must implement.getAddress(int row) Returns the best Address for the given row.static AddressrecoverAddress(FunctionDescription desc, Program prog) Associate a given FunctionDescription with the entry point of the matching function in a programMethods inherited from class GhidraProgramTableModel
dispose, getAddress, getDataSource, getProgram, getProgramForRow, getProgramLocation, getProgramSelection, 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
-
Constructor Details
-
BSimMatchResultsModel
public BSimMatchResultsModel(PluginTool tool, DatabaseInformation info, LSHVectorFactory lshVectorFactory)
-
-
Method Details
-
createTableColumnDescriptor
- Overrides:
createTableColumnDescriptorin classGhidraProgramTableModel<BSimMatchResult>
-
getAddress
Description copied from class:GhidraProgramTableModelReturns the best Address for the given row.Implementation Note: this class will only return an Address if this model's row type is Address. Clients that know how to get an Address for a given row should override this method.
- Overrides:
getAddressin classGhidraProgramTableModel<BSimMatchResult>- Parameters:
row- the row- Returns:
- the Address or null
-
doLoad
protected void doLoad(Accumulator<BSimMatchResult> 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<BSimMatchResult, 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();.
-
recoverAddress
Associate a given FunctionDescription with the entry point of the matching function in a program- Parameters:
desc- is the FunctionDescription to recoverprog- is the Program (possibly) containing the Function object- Returns:
- the entry point address of the function (if it exists), or just the address within the default space
-