mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-3755 - Added filter to the Memory Map provider
This commit is contained in:
parent
b261137b40
commit
6afed33ce0
7 changed files with 276 additions and 281 deletions
|
@ -32,8 +32,8 @@ import ghidra.util.task.TaskMonitor;
|
|||
|
||||
public class DataTypeArchiveTransformerPanel extends JPanel {
|
||||
|
||||
private final static Cursor WAIT_CURSOR = new Cursor(Cursor.WAIT_CURSOR);
|
||||
private final static Cursor NORM_CURSOR = new Cursor(Cursor.DEFAULT_CURSOR);
|
||||
private final static Cursor WAIT_CURSOR = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
|
||||
private final static Cursor DEFAULT_CURSOR = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR);
|
||||
|
||||
private JPanel filePanel;
|
||||
private JTextField oldFileTextField;
|
||||
|
@ -85,7 +85,7 @@ public class DataTypeArchiveTransformerPanel extends JPanel {
|
|||
oldBrowseButton.addActionListener(e -> {
|
||||
setCursor(WAIT_CURSOR);
|
||||
File file = chooseFile("Choose old data type archive");
|
||||
setCursor(NORM_CURSOR);
|
||||
setCursor(DEFAULT_CURSOR);
|
||||
if (file != null) {
|
||||
oldFileTextField.setText(file.getAbsolutePath());
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public class DataTypeArchiveTransformerPanel extends JPanel {
|
|||
newBrowseButton.addActionListener(e -> {
|
||||
setCursor(WAIT_CURSOR);
|
||||
File file = chooseFile("Choose new data type archive");
|
||||
setCursor(NORM_CURSOR);
|
||||
setCursor(DEFAULT_CURSOR);
|
||||
if (file != null) {
|
||||
newFileTextField.setText(file.getAbsolutePath());
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ public class DataTypeArchiveTransformerPanel extends JPanel {
|
|||
destinationBrowseButton.addActionListener(e -> {
|
||||
setCursor(WAIT_CURSOR);
|
||||
File file = chooseFile("Choose destination file");
|
||||
setCursor(NORM_CURSOR);
|
||||
setCursor(DEFAULT_CURSOR);
|
||||
if (file != null) {
|
||||
destinationFileTextField.setText(file.getAbsolutePath());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue