Class AddressBasedTableModel<ROW_TYPE>

    • Constructor Detail

      • AddressBasedTableModel

        public AddressBasedTableModel​(java.lang.String title,
                                      ServiceProvider serviceProvider,
                                      Program program,
                                      TaskMonitor monitor,
                                      boolean loadIncrementally)
    • Method Detail

      • getAddress

        public abstract Address getAddress​(int row)
      • getProgramLocation

        public ProgramLocation getProgramLocation​(int row,
                                                  int column)
        Description copied from interface: ProgramTableModel
        Returns 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.
        Parameters:
        row - the row
        column - the column
        Returns:
        a program location corresponding the given row and column
      • getProgramSelection

        public ProgramSelection getProgramSelection​(int[] rows)
        Description copied from interface: ProgramTableModel
        Returns a program selection corresponding to the specified row index array. This array will contain the currently selected rows.
        Parameters:
        rows - the currently selected rows.
        Returns:
        a program selection