Package ghidra.plugins.importer.batch
Class BatchImportDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- ghidra.plugins.importer.batch.BatchImportDialog
-
- All Implemented Interfaces:
ActionContextProvider,StatusListener,TaskListener
public class BatchImportDialog extends DialogComponentProvider
-
-
Field Summary
-
Fields inherited from class docking.DialogComponentProvider
applyButton, cancelButton, dismissButton, okButton, rootPanel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidokCallback()The callback method for when the "OK" button is pressed.booleansetupInitialDefaults()static voidshowAndImport(PluginTool tool, BatchInfo batchInfo, java.util.List<FSRL> initialFiles, DomainFolder defaultFolder, ProgramManager programManager)Shows the batch import dialog (via runSwingLater) and prompts the user to select a file if the suppliedbatchInfois empty.-
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, close, dialogClosed, dialogShown, dismissCallback, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getIntialLocation, getLocationOnScreen, getPreferredSize, getRemberSize, getRememberLocation, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, main, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, 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
-
-
-
-
Method Detail
-
showAndImport
public static void showAndImport(PluginTool tool, BatchInfo batchInfo, java.util.List<FSRL> initialFiles, DomainFolder defaultFolder, ProgramManager programManager)
Shows the batch import dialog (via runSwingLater) and prompts the user to select a file if the suppliedbatchInfois empty.The dialog will chain to the
ImportBatchTaskwhen the user clicks the OK button.- Parameters:
tool-PluginToolthat will be the parent of the dialogbatchInfo- optionalBatchInfoinstance with already discovered applications, or null.initialFiles- optionalListoffilesto add to the batch import dialog, or null.defaultFolder- optional default destination folder for imported files or null for root folder.programManager- optionalProgramManagerthat will be used to open the newly imported binaries.
-
setupInitialDefaults
public boolean setupInitialDefaults()
-
okCallback
protected void okCallback()
Description copied from class:DialogComponentProviderThe callback method for when the "OK" button is pressed.- Overrides:
okCallbackin classDialogComponentProvider
-
-