Interface TableService


  • public interface TableService
    Service to show a component that has a JTable given a table model that builds up its data dynamically (a ThreadedTableModel).
    • Method Detail

      • showTable

        <T> ghidra.app.plugin.core.table.TableComponentProvider<T> showTable​(java.lang.String componentProviderTitle,
                                                                             java.lang.String tableTypeName,
                                                                             GhidraProgramTableModel<T> model,
                                                                             java.lang.String windowSubMenu,
                                                                             Navigatable navigatable)
        Creates a table view using the given model. This version does not create markers.
        Parameters:
        componentProviderTitle - The title of the view
        tableTypeName - The name of the table's type. This is used to group like tables together
        model - the data model
        windowSubMenu - the name of a sub-menu to use in the "windows" menu.
        navigatable - the component to navigate. If null, the "connected" components will navigate.
        Returns:
        a provider to show a visible component for the data
      • showTableWithMarkers

        <T> ghidra.app.plugin.core.table.TableComponentProvider<T> showTableWithMarkers​(java.lang.String componentProviderTitle,
                                                                                        java.lang.String tableTypeName,
                                                                                        GhidraProgramTableModel<T> model,
                                                                                        java.awt.Color markerColor,
                                                                                        javax.swing.ImageIcon markerIcon,
                                                                                        java.lang.String windowSubMenu,
                                                                                        Navigatable navigatable)
        Creates a table view using the given model. This version creates markers.
        Parameters:
        componentProviderTitle - The title of the view
        tableTypeName - The name of the table's type. This is used to group like tables together
        model - the data model
        markerColor - the color to use for the marker
        markerIcon - the icon to associate with the marker set.
        windowSubMenu - the name of a sub-menu to use in the "windows" menu.
        navigatable - the component to navigate. If null, the "connected" components will navigate.
        Returns:
        a provider to show a visible component for the data