Class GhidraProgramTableModel<ROW_TYPE>

All Implemented Interfaces:
ConfigurableColumnTableModel, DynamicColumnTableModel<ROW_TYPE>, RowObjectFilterModel<ROW_TYPE>, RowObjectTableModel<ROW_TYPE>, SelectionStorage<ROW_TYPE>, SortedTableModel, VariableColumnTableModel, ProgramTableModel, Serializable, EventListener, ChangeListener, TableModel
Direct Known Subclasses:
AddressBasedTableModel

public abstract class GhidraProgramTableModel<ROW_TYPE> extends ThreadedTableModel<ROW_TYPE,Program> implements ProgramTableModel
See Also:
  • Field Details

    • program

      protected Program program
  • Constructor Details

  • Method Details

    • setProgram

      public void setProgram(Program program)
    • getProgramForRow

      protected Program getProgramForRow(ROW_TYPE t)
      Extension point for getting a row-specific program. Most models don't need this capability.
      Parameters:
      t - The ROW_TYPE row object
      Returns:
      the program
    • getProgram

      public Program getProgram()
      Description copied from interface: ProgramTableModel
      Returns the program associated with this ProgramTableModel.
      Specified by:
      getProgram in interface ProgramTableModel
      Returns:
      the program associated with this ProgramTableModel.
    • getDataSource

      public Program getDataSource()
      Description copied from class: GDynamicColumnTableModel
      Returns the table's context for the data.
      Specified by:
      getDataSource in class GDynamicColumnTableModel<ROW_TYPE,Program>
      Returns:
      the table's context for the data.
    • getAddress

      public Address getAddress(int row)