Package ghidra.app.util.query
Interface TableService
-
public interface TableService
Service to show a component that has a JTable given a table model that builds up its data dynamically (aThreadedTableModel
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableChooserDialog
createTableChooserDialog(TableChooserExecutor executor, Program program, java.lang.String name, Navigatable navigatable)
TableChooserDialog
createTableChooserDialog(TableChooserExecutor executor, Program program, java.lang.String name, Navigatable navigatable, boolean isModal)
<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.<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.
-
-
-
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 viewtableTypeName
- The name of the table's type. This is used to group like tables togethermodel
- the data modelwindowSubMenu
- 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 viewtableTypeName
- The name of the table's type. This is used to group like tables togethermodel
- the data modelmarkerColor
- the color to use for the markermarkerIcon
- 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
-
createTableChooserDialog
TableChooserDialog createTableChooserDialog(TableChooserExecutor executor, Program program, java.lang.String name, Navigatable navigatable)
-
createTableChooserDialog
TableChooserDialog createTableChooserDialog(TableChooserExecutor executor, Program program, java.lang.String name, Navigatable navigatable, boolean isModal)
-
-