mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
3849 update copyright and comments
This commit is contained in:
parent
28a011c3e9
commit
8d70a55315
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2012-2019 Basis Technology Corp.
|
||||
* Copyright 2012-2021 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2017-2019 Basis Technology Corp.
|
||||
* Copyright 2017-2021 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2011 Basis Technology Corp.
|
||||
* Copyright 2011-2021 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -48,6 +48,11 @@ class DataSourceFilter extends AbstractFileSearchFilter<DataSourcePanel> {
|
||||
return this.getComponent().isSelected();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the data source filter to select the specified data source initially.
|
||||
*
|
||||
* @param dataSourceId - The data source to select.
|
||||
*/
|
||||
void setSelectedDataSource(long dataSourceId) {
|
||||
this.getComponent().setDataSourceSelected(dataSourceId);
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2011-2018 Basis Technology Corp.
|
||||
* Copyright 2011-2021 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -48,7 +48,12 @@ final class FileSearchDialog extends javax.swing.JDialog {
|
||||
});
|
||||
}
|
||||
|
||||
void setSelectedDataSourceFilter(long dataSourceId){
|
||||
/**
|
||||
* Set the data source filter to select the specified data source initially.
|
||||
*
|
||||
* @param dataSourceId - The data source to select.
|
||||
*/
|
||||
void setSelectedDataSourceFilter(long dataSourceId) {
|
||||
fileSearchPanel1.setDataSourceFilter(dataSourceId);
|
||||
}
|
||||
|
||||
@ -83,4 +88,3 @@ final class FileSearchDialog extends javax.swing.JDialog {
|
||||
private org.sleuthkit.autopsy.filesearch.FileSearchPanel fileSearchPanel1;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Autopsy Forensic Browser
|
||||
*
|
||||
* Copyright 2011-2019 Basis Technology Corp.
|
||||
* Copyright 2011-2021 Basis Technology Corp.
|
||||
* Contact: carrier <at> sleuthkit <dot> org
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -84,16 +84,16 @@ class FileSearchPanel extends javax.swing.JPanel {
|
||||
label.setBorder(new EmptyBorder(0, 0, 10, 0));
|
||||
|
||||
JPanel panel1 = new JPanel();
|
||||
panel1.setLayout(new GridLayout(1,2));
|
||||
panel1.setLayout(new GridLayout(1, 2));
|
||||
panel1.add(new JLabel(""));
|
||||
JPanel panel2 = new JPanel();
|
||||
panel2.setLayout(new GridLayout(1,2, 20, 0));
|
||||
panel2.setLayout(new GridLayout(1, 2, 20, 0));
|
||||
JPanel panel3 = new JPanel();
|
||||
panel3.setLayout(new GridLayout(1,2, 20, 0));
|
||||
panel3.setLayout(new GridLayout(1, 2, 20, 0));
|
||||
JPanel panel4 = new JPanel();
|
||||
panel4.setLayout(new GridLayout(1,2, 20, 0));
|
||||
panel4.setLayout(new GridLayout(1, 2, 20, 0));
|
||||
JPanel panel5 = new JPanel();
|
||||
panel5.setLayout(new GridLayout(1,2, 20, 0));
|
||||
panel5.setLayout(new GridLayout(1, 2, 20, 0));
|
||||
|
||||
// Create and add filter areas
|
||||
NameSearchFilter nameFilter = new NameSearchFilter();
|
||||
@ -104,9 +104,9 @@ class FileSearchPanel extends javax.swing.JPanel {
|
||||
MimeTypeFilter mimeTypeFilter = new MimeTypeFilter();
|
||||
dataSourceFilter = new DataSourceFilter();
|
||||
|
||||
panel2.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.name"),nameFilter));
|
||||
panel2.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.name"), nameFilter));
|
||||
|
||||
panel3.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.metadata"),sizeFilter));
|
||||
panel3.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.metadata"), sizeFilter));
|
||||
|
||||
panel2.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.metadata"), dateFilter));
|
||||
panel3.add(new FilterArea(NbBundle.getMessage(this.getClass(), "FileSearchPanel.filterTitle.knownStatus"), knowStatusFilter));
|
||||
@ -146,7 +146,12 @@ class FileSearchPanel extends javax.swing.JPanel {
|
||||
searchButton.setEnabled(isValidSearch());
|
||||
}
|
||||
|
||||
void setDataSourceFilter(long dataSourceId){
|
||||
/**
|
||||
* Set the data source filter to select the specified data source initially.
|
||||
*
|
||||
* @param dataSourceId - The data source to select.
|
||||
*/
|
||||
void setDataSourceFilter(long dataSourceId) {
|
||||
dataSourceFilter.setSelectedDataSource(dataSourceId);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user