Package ghidra.framework.main
Class ProgramFileChooser
java.lang.Object
docking.DialogComponentProvider
ghidra.framework.main.AbstractDataTreeDialog
ghidra.framework.main.DataTreeDialog
ghidra.framework.main.ProgramFileChooser
- All Implemented Interfaces:
ActionContextProvider,GTreeSelectionListener,StatusListener,TaskListener,ActionListener,EventListener
ProgramFileChooser facilitates selection of an existing project Program file including
Program link-files which may link to either internal or external program files.
This chooser operates in the open mode for selecting
an existing file only.
This chooser should not be used to facilitate an immediate or
future save-as operation or to open a Program for update since it can return a read-only file.
A more taylored DataTreeDialog should be used for case where the file will be written.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DomainFileFilterThis file filter permits selection of any program including those than can be found by following bother internal and external folder and files links.Fields inherited from class ghidra.framework.main.DataTreeDialog
CHOOSE_FOLDER, CREATE, OPEN, SAVEFields inherited from class ghidra.framework.main.AbstractDataTreeDialog
HEIGHT, treePanel, WIDTHFields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel -
Constructor Summary
ConstructorsConstructorDescriptionProgramFileChooser(Component parent, String title) Construct a new ProgramChooser for the active project.ProgramFileChooser(Component parent, String title, 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, getDomainFile, getDomainFolder, getNameText, getTree, initializeFocusedComponent, okCallback, selectDomainFile, selectFolder, setNameText, setSearchText, setSelectedFolder, setTreeSelectionMode, show, showComponent, valueChanged, wasCancelledMethods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, createSharedActions, 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, isDialogKeyBindingAction, 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
-
PROGRAM_FILE_FILTER
This file filter permits selection of any program including those than can be found by following bother internal and external folder and files links.
-
-
Constructor Details
-
ProgramFileChooser
Construct a new ProgramChooser for the active project.- Parameters:
parent- dialog's parenttitle- title to use- Throws:
IllegalArgumentException- if invalid type is specified
-
ProgramFileChooser
Construct a new DataTreeDialog for the given project.- Parameters:
parent- dialog's parenttitle- title to useproject- the project to browse- Throws:
IllegalArgumentException- if invalid type is specified
-