Class QuickFixTableProvider

java.lang.Object
docking.ComponentProvider
ghidra.features.base.quickfix.QuickFixTableProvider
All Implemented Interfaces:
ActionContextProvider, HelpDescriptor
Direct Known Subclasses:
SearchAndReplaceProvider

public class QuickFixTableProvider extends ComponentProvider
Component Provider for displaying lists of QuickFixs and the actions to execute them in bulk or individually.
  • Constructor Details

  • Method Details

    • tableLoaded

      protected void tableLoaded(boolean wasCancelled, TableDataLoader<QuickFix> loader)
    • createActions

      protected void createActions(String owner)
    • getActionContext

      public ActionContext getActionContext(MouseEvent event)
      Description copied from class: ComponentProvider
      Returns the context object which corresponds to the area of focus within this provider's component. Null is returned when there is no context.

      Subclasses should override this method to provider more specific context objects or information.

      Specified by:
      getActionContext in interface ActionContextProvider
      Overrides:
      getActionContext in class ComponentProvider
      Parameters:
      event - popup event which corresponds to this request. Will be null for key-stroke or other non-mouse uses.
    • closeComponent

      public void closeComponent()
      Description copied from class: ComponentProvider
      This is the callback that will happen when the user presses the 'X' button of a provider. Transient providers will be removed from the tool completely. Non-transient providers will merely be hidden.

      Subclasses may override this method to prevent a provider from being closed; for example, if an editor has unsaved changes, then this method could prevent the close from happening.

      Overrides:
      closeComponent in class ComponentProvider
    • getComponent

      public JComponent getComponent()
      Description copied from class: ComponentProvider
      Returns the component to be displayed
      Specified by:
      getComponent in class ComponentProvider
      Returns:
      the component to be displayed
    • buildMainPanel

      protected JPanel buildMainPanel()
    • isBusy

      public boolean isBusy(TableModel model)
    • executeAll

      public void executeAll()
    • getTaskTitle

      protected String getTaskTitle()
    • programClosed

      public void programClosed(Program program)
    • getTableModel

      public QuickFixTableModel getTableModel()
      Returns the table model.
      Returns:
      the table model
    • setSelection

      public void setSelection(int start, int end)
      Sets the selected rows in the table
      Parameters:
      start - the index of the first row to select
      end - the index of the last row to select
    • getSelectedRow

      public int getSelectedRow()
      Returns the selected row in the table
      Returns:
      the selected row in the table
    • applySelected

      public void applySelected()
      Applies all the selected items.