Interface TableGenerator


  • public interface TableGenerator
    This interface is implemented by classes that wish to provide a new kind of tabular data to users of the debugging system. Generators are made known to the debugging system by registering them with the Tables class.

    Note: Tables are generated from a thread controlled by the debugger; it must be safe to generate the table from this thread. Since the event dispatch thread is often suspended during debugging, it is generally not a good idea to create tables for data that can only be evaluated in the EDT, as this may lead to a deadlock.

    Since:
    3.0
    Author:
    Chris Jennings
    • Method Detail

      • getTableName

        java.lang.String getTableName()
        Returns the user-friendly name of this table.
        Returns:
        the name of the table created by this generator
      • generateTable

        InfoTable generateTable()
        Generates a current version of the table.
        Returns:
        a representation of the generated table data