Class DataTreeDialog

All Implemented Interfaces:
ActionContextProvider, GTreeSelectionListener, StatusListener, TaskListener, ActionListener, EventListener

public class DataTreeDialog extends AbstractDataTreeDialog
Dialog to open or save domain data items to a new location or name.
  • Field Details

    • OPEN MODIFIED

      public static final DataTreeDialogType OPEN
      type: int → DataTreeDialogType; constant: 0 → None
      -static int OPEN
      +static ghidra.framework.main.DataTreeDialogType OPEN
    • SAVE MODIFIED

      public static final DataTreeDialogType SAVE
      type: int → DataTreeDialogType; constant: 1 → None
      -static int SAVE
      +static ghidra.framework.main.DataTreeDialogType SAVE
    • CHOOSE_FOLDER MODIFIED

      public static final DataTreeDialogType CHOOSE_FOLDER
      type: int → DataTreeDialogType; constant: 2 → None
      -static int CHOOSE_FOLDER
      +static ghidra.framework.main.DataTreeDialogType CHOOSE_FOLDER
    • CREATE MODIFIED

      public static final DataTreeDialogType CREATE
      type: int → DataTreeDialogType; constant: 3 → None
      -static int CREATE
      +static ghidra.framework.main.DataTreeDialogType CREATE
  • Constructor Details

    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type)
      Construct a new DataTreeDialog for the active project. This chooser will show all project files. Following linked-folders will only be allowed if a type of CHOOSE_FOLDER or OPEN is specified. If different behavior is required a filter should be specified using the other constructor.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, CHOOSE_USER_FOLDER, or CREATE
      Throws:
      IllegalArgumentException - if invalid type is specified
    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter)
      Construct a new DataTreeDialog for the active project.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, or CREATE
      filter - filter used to control what is displayed in the data tree
      Throws:
      IllegalArgumentException - if invalid type is specified
    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter, Project project)
      Construct a new DataTreeDialog for the given project.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, or CREATE
      filter - filter used to control what is displayed in the data tree
      project - the project to browse
      Throws:
      IllegalArgumentException - if invalid type is specified