Class ProjectDataTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
docking.widgets.table.AbstractGTableModel<DomainFileInfo>
docking.widgets.table.AbstractSortedTableModel<DomainFileInfo>
docking.widgets.table.GDynamicColumnTableModel<DomainFileInfo, ProjectData>
docking.widgets.table.threaded.ThreadedTableModel<DomainFileInfo, ProjectData>
ghidra.framework.main.datatable.ProjectDataTableModel
- All Implemented Interfaces:
ConfigurableColumnTableModel, DynamicColumnTableModel<DomainFileInfo>, RowObjectFilterModel<DomainFileInfo>, RowObjectTableModel<DomainFileInfo>, SelectionStorage<DomainFileInfo>, SortedTableModel, VariableColumnTableModel, Serializable, EventListener, ChangeListener, TableModel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ThreadedTableModel
ThreadedTableModel.IncrementalLoadJobListener -
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TableColumnDescriptor<DomainFileInfo> protected voiddoLoad(Accumulator<DomainFileInfo> accumulator, TaskMonitor monitor) The basic method that all children must implement.Returns the table's context for the data.booleanisCellEditable(int rowIndex, int columnIndex) voidrefresh()Invoke this method when the underlying data has changed, but a reload is not required.voidsetEditing(boolean on) voidsetProjectData(ProjectData projectData) voidsetValueAt(Object aValue, int rowIndex, int columnIndex) Methods inherited from class ThreadedTableModel
addInitialLoadListener, addInitialLoadListener, addObject, addThreadedTableModelListener, backgroundWorkCancelled, cancelAllUpdates, clearData, createAccumulator, createIncrementalLoadJob, createSortComparator, dispose, 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, setLastSelectedObjectsMethods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerMethods 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, removeTableModelListener
-
Constructor Details
-
ProjectDataTableModel
-
-
Method Details
-
doLoad
protected void doLoad(Accumulator<DomainFileInfo> 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<DomainFileInfo, ProjectData>- 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();.
-
createTableColumnDescriptor
- Specified by:
createTableColumnDescriptorin classGDynamicColumnTableModel<DomainFileInfo, ProjectData>
-
getDataSource
Description copied from class:GDynamicColumnTableModelReturns the table's context for the data.- Specified by:
getDataSourcein classGDynamicColumnTableModel<DomainFileInfo, ProjectData>- Returns:
- the table's context for the data.
-
refresh
public void refresh()Description copied from class:AbstractGTableModelInvoke this method when the underlying data has changed, but a reload is not required.- Overrides:
refreshin classAbstractGTableModel<DomainFileInfo>
-
setProjectData
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
setEditing
public void setEditing(boolean on)
-