mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
added fucntion per Brian request
This commit is contained in:
parent
afbfeefff5
commit
fe1667b8df
@ -129,9 +129,7 @@ final public class FiltersPanel extends JPanel {
|
|||||||
public FiltersPanel() {
|
public FiltersPanel() {
|
||||||
initComponents();
|
initComponents();
|
||||||
|
|
||||||
CheckBoxIconPanel panel = createAccoutTypeCheckBoxPanel(Account.Type.DEVICE, true);
|
initalizeDeviceAccountType();
|
||||||
accountTypeMap.put(Account.Type.DEVICE, panel.getCheckBox());
|
|
||||||
accountTypeListPane.add(panel);
|
|
||||||
|
|
||||||
deviceRequiredLabel.setVisible(false);
|
deviceRequiredLabel.setVisible(false);
|
||||||
accountTypeRequiredLabel.setVisible(false);
|
accountTypeRequiredLabel.setVisible(false);
|
||||||
@ -259,12 +257,9 @@ final public class FiltersPanel extends JPanel {
|
|||||||
devicesListPane.removeAll();
|
devicesListPane.removeAll();
|
||||||
|
|
||||||
accountTypeMap.clear();
|
accountTypeMap.clear();
|
||||||
accountTypeListPane.removeAll();
|
accountTypeListPane.removeAll();
|
||||||
|
|
||||||
CheckBoxIconPanel panel = createAccoutTypeCheckBoxPanel(Account.Type.DEVICE, true);
|
initalizeDeviceAccountType();
|
||||||
accountTypeMap.put(Account.Type.DEVICE, panel.getCheckBox());
|
|
||||||
accountTypeListPane.add(panel);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -274,6 +269,12 @@ final public class FiltersPanel extends JPanel {
|
|||||||
IngestManager.getInstance().removeIngestModuleEventListener(ingestListener);
|
IngestManager.getInstance().removeIngestModuleEventListener(ingestListener);
|
||||||
IngestManager.getInstance().removeIngestJobEventListener(ingestJobListener);
|
IngestManager.getInstance().removeIngestJobEventListener(ingestJobListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void initalizeDeviceAccountType() {
|
||||||
|
CheckBoxIconPanel panel = createAccoutTypeCheckBoxPanel(Account.Type.DEVICE, true);
|
||||||
|
accountTypeMap.put(Account.Type.DEVICE, panel.getCheckBox());
|
||||||
|
accountTypeListPane.add(panel);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Populate the Account Types filter widgets
|
* Populate the Account Types filter widgets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user