19 package org.sleuthkit.autopsy.filesearch;
 
   21 import java.awt.event.ActionEvent;
 
   22 import java.awt.event.ActionListener;
 
   23 import org.openide.util.NbBundle;
 
   24 import org.openide.windows.WindowManager;
 
   29 @SuppressWarnings(
"PMD.SingularField") 
 
   30 final class FileSearchDialog extends javax.swing.JDialog {
 
   32     private static final long serialVersionUID = 1L;
 
   38         super(WindowManager.getDefault().getMainWindow(),
 
   39                 NbBundle.getMessage(FileSearchDialog.class, 
"FileSearchDialog.frame.msg"), 
true);
 
   43         this.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
 
   44         fileSearchPanel1.addListenerToAll(
new ActionListener() {
 
   46             public void actionPerformed(ActionEvent e) {
 
   51         fileSearchPanel1.addCloseListener(
new ActionListener() {
 
   53             public void actionPerformed(ActionEvent e) {
 
   64     void setSelectedDataSourceFilter(
long dataSourceId) {
 
   65         fileSearchPanel1.setDataSourceFilter(dataSourceId);
 
   72     void resetCaseDependentFilters() {
 
   73         fileSearchPanel1.resetCaseDependentFilters();
 
   81     @SuppressWarnings(
"unchecked")
 
   83     private 
void initComponents() {
 
   87         setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
 
   89         javax.swing.GroupLayout layout = 
new javax.swing.GroupLayout(getContentPane());
 
   90         getContentPane().setLayout(layout);
 
   91         layout.setHorizontalGroup(
 
   92             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
   93             .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)
 
   95         layout.setVerticalGroup(
 
   96             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
   97             .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)