Class GhidraFileChooserPanel

All Implemented Interfaces:
Droppable, ImageObserver, MenuContainer, Serializable, Accessible

public class GhidraFileChooserPanel extends JPanel implements Droppable
Panel for entering a file name that includes a title border, a text field for entering a filename, and a button for bringing up a file chooser dialog.
See Also:
  • Field Details

    • INPUT_MODE

      public static final int INPUT_MODE
      This mode denotes that only existing files will be chosen for the purpose of reading.
      See Also:
    • OUTPUT_MODE

      public static final int OUTPUT_MODE
      This mode denotes that existing files (or new files) will be chosen for the purpose of writing. If an existing file is selected the user will be prompted to confirm overwrite.
      See Also:
  • Constructor Details

    • GhidraFileChooserPanel

      public GhidraFileChooserPanel(String title, String propertyName, String defaultFileName, boolean createBorder, int mode)
      Constructs a new GhidraFileChooserPanel
      Parameters:
      title - the title for this panel
      propertyName - the property name to save state
      defaultFileName - the default file name.
      createBorder - flag to create the border or not.
      mode - whether INPUT_MODE or OUTPUT_MODE
  • Method Details