Package ghidra.framework.main
Class DataTreeDialog
java.lang.Object
docking.DialogComponentProvider
ghidra.framework.main.AbstractDataTreeDialog
ghidra.framework.main.DataTreeDialog
- All Implemented Interfaces:
ActionContextProvider
,GTreeSelectionListener
,StatusListener
,TaskListener
,ActionListener
,EventListener
Dialog to open or save domain data items to a new location or name.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataTreeDialogType
static final DataTreeDialogType
static final DataTreeDialogType
static final DataTreeDialogType
Fields inherited from class ghidra.framework.main.AbstractDataTreeDialog
HEIGHT, treePanel, WIDTH
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
ConstructorDescriptionDataTreeDialog
(Component parent, String title, DataTreeDialogType type) Construct a new DataTreeDialog for the active project.DataTreeDialog
(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter) Construct a new DataTreeDialog for the active project.DataTreeDialog
(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter, Project project) Construct a new DataTreeDialog for the given project. -
Method Summary
Methods inherited from class ghidra.framework.main.AbstractDataTreeDialog
actionPerformed, addOkActionListener, addTreeListeners, buildDataTreePanel, cancelCallback, close, getActionContext, getDefaultFilter, getDomainFile, getDomainFolder, getNameText, initializeFocusedComponent, okCallback, selectDomainFile, selectFolder, selectRootDataFolder, setNameText, setSearchText, setSelectedFolder, setTreeSelectionMode, show, showComponent, valueChanged, wasCancelled
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, dialogClosed, dialogShown, dismissCallback, dispose, doInitialize, escapeCallback, executeProgressTask, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocation, getId, getInitialLocation, getLocationOnScreen, getParent, getPreferredSize, getRememberLocation, getRememberSize, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, setAccessibleDescription, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toFront, toString, waitForCurrentTask
-
Field Details
-
OPEN
-
SAVE
-
CHOOSE_FOLDER
-
CREATE
-
-
Constructor Details
-
DataTreeDialog
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 parenttitle
- title to usetype
- 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 parenttitle
- title to usetype
- specify OPEN, SAVE, CHOOSE_FOLDER, or CREATEfilter
- 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 parenttitle
- title to usetype
- specify OPEN, SAVE, CHOOSE_FOLDER, or CREATEfilter
- filter used to control what is displayed in the data treeproject
- the project to browse- Throws:
IllegalArgumentException
- if invalid type is specified
-