600 jPanel1 =
new javax.swing.JPanel();
612 setsList =
new javax.swing.JList<>();
621 separator =
new javax.swing.JSeparator();
649 org.openide.awt.Mnemonics.setLocalizedText(
setDetailsLabel, org.openide.util.NbBundle.getMessage(
FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.jLabel6.text"));
651 newRuleButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/add16.png")));
652 org.openide.awt.Mnemonics.setLocalizedText(
newRuleButton, org.openide.util.NbBundle.getMessage(
FilesSetDefsPanel.class,
"FilesSetDefsPanel.newRuleButton.text"));
653 newRuleButton.addActionListener(
new java.awt.event.ActionListener() {
654 public void actionPerformed(java.awt.event.ActionEvent evt) {
655 newRuleButtonActionPerformed(evt);
659 typeButtonGroup.add(filesRadioButton);
660 filesRadioButton.setSelected(
true);
661 org.openide.awt.Mnemonics.setLocalizedText(filesRadioButton, org.openide.util.NbBundle.getMessage(
FilesSetDefsPanel.class,
"FilesSetDefsPanel.filesRadioButton.text"));
662 filesRadioButton.setEnabled(
false);
664 editRuleButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/edit16.png")));
665 org.openide.awt.Mnemonics.setLocalizedText(editRuleButton, org.openide.util.NbBundle.getMessage(
FilesSetDefsPanel.class,
"FilesSetDefsPanel.editRuleButton.text"));
666 editRuleButton.setEnabled(
false);
667 editRuleButton.addActionListener(
new java.awt.event.ActionListener() {
668 public void actionPerformed(java.awt.event.ActionEvent evt) {
669 editRuleButtonActionPerformed(evt);
673 org.openide.awt.Mnemonics.setLocalizedText(rulesListLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.rulesListLabel.text"));
675 rulesList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
676 rulesListScrollPane.setViewportView(rulesList);
677 rulesList.setCellRenderer(
new SimpleListCellRenderer());
679 setDescScrollPanel.setMinimumSize(
new java.awt.Dimension(10, 22));
680 setDescScrollPanel.setPreferredSize(
new java.awt.Dimension(14, 40));
682 setDescriptionTextArea.setEditable(
false);
683 setDescriptionTextArea.setBackground(
new java.awt.Color(240, 240, 240));
684 setDescriptionTextArea.setColumns(20);
685 setDescriptionTextArea.setLineWrap(
true);
686 setDescriptionTextArea.setRows(6);
687 setDescriptionTextArea.setMinimumSize(
new java.awt.Dimension(10, 22));
688 setDescriptionTextArea.setOpaque(
false);
689 setDescScrollPanel.setViewportView(setDescriptionTextArea);
691 editSetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/edit16.png")));
692 org.openide.awt.Mnemonics.setLocalizedText(editSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.editSetButton.text"));
693 editSetButton.setEnabled(
false);
694 editSetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
695 editSetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
696 editSetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
697 editSetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
698 editSetButton.addActionListener(
new java.awt.event.ActionListener() {
699 public void actionPerformed(java.awt.event.ActionEvent evt) {
700 editSetButtonActionPerformed(evt);
704 setsList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
705 setsListScrollPane.setViewportView(setsList);
706 setsList.setCellRenderer(
new SimpleListCellRenderer());
708 fileNameButtonGroup.add(fileNameExtensionRadioButton);
709 org.openide.awt.Mnemonics.setLocalizedText(fileNameExtensionRadioButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileNameExtensionRadioButton.text"));
710 fileNameExtensionRadioButton.setEnabled(
false);
712 org.openide.awt.Mnemonics.setLocalizedText(nameLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.nameLabel.text"));
714 fileNameTextField.setEditable(
false);
715 fileNameTextField.setText(org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileNameTextField.text"));
717 org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.descriptionLabel.text"));
719 fileNameButtonGroup.add(fileNameRadioButton);
720 org.openide.awt.Mnemonics.setLocalizedText(fileNameRadioButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileNameRadioButton.text"));
721 fileNameRadioButton.setEnabled(
false);
723 rulePathConditionTextField.setEditable(
false);
724 rulePathConditionTextField.setText(org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.rulePathConditionTextField.text"));
726 org.openide.awt.Mnemonics.setLocalizedText(ignoreKnownFilesCheckbox, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.ignoreKnownFilesCheckbox.text"));
727 ignoreKnownFilesCheckbox.setEnabled(
false);
729 org.openide.awt.Mnemonics.setLocalizedText(fileNameRegexCheckbox, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileNameRegexCheckbox.text"));
730 fileNameRegexCheckbox.setEnabled(
false);
731 fileNameRegexCheckbox.addActionListener(
new java.awt.event.ActionListener() {
732 public void actionPerformed(java.awt.event.ActionEvent evt) {
733 fileNameRegexCheckboxActionPerformed(evt);
737 separator.setOrientation(javax.swing.SwingConstants.VERTICAL);
739 org.openide.awt.Mnemonics.setLocalizedText(setsListLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.setsListLabel.text"));
741 typeButtonGroup.add(allRadioButton);
742 org.openide.awt.Mnemonics.setLocalizedText(allRadioButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.allRadioButton.text"));
743 allRadioButton.setEnabled(
false);
745 deleteSetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/delete16.png")));
746 org.openide.awt.Mnemonics.setLocalizedText(deleteSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.deleteSetButton.text"));
747 deleteSetButton.setEnabled(
false);
748 deleteSetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
749 deleteSetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
750 deleteSetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
751 deleteSetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
752 deleteSetButton.addActionListener(
new java.awt.event.ActionListener() {
753 public void actionPerformed(java.awt.event.ActionEvent evt) {
754 deleteSetButtonActionPerformed(evt);
758 deleteRuleButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/delete16.png")));
759 org.openide.awt.Mnemonics.setLocalizedText(deleteRuleButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.deleteRuleButton.text"));
760 deleteRuleButton.setEnabled(
false);
761 deleteRuleButton.addActionListener(
new java.awt.event.ActionListener() {
762 public void actionPerformed(java.awt.event.ActionEvent evt) {
763 deleteRuleButtonActionPerformed(evt);
767 newSetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/add16.png")));
768 org.openide.awt.Mnemonics.setLocalizedText(newSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.newSetButton.text"));
769 newSetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
770 newSetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
771 newSetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
772 newSetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
773 newSetButton.addActionListener(
new java.awt.event.ActionListener() {
774 public void actionPerformed(java.awt.event.ActionEvent evt) {
775 newSetButtonActionPerformed(evt);
779 org.openide.awt.Mnemonics.setLocalizedText(fileTypeLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileTypeLabel.text"));
781 typeButtonGroup.add(dirsRadioButton);
782 org.openide.awt.Mnemonics.setLocalizedText(dirsRadioButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.dirsRadioButton.text"));
783 dirsRadioButton.setEnabled(
false);
785 org.openide.awt.Mnemonics.setLocalizedText(ruleLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.ruleLabel.text"));
787 org.openide.awt.Mnemonics.setLocalizedText(pathLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.pathLabel.text"));
789 org.openide.awt.Mnemonics.setLocalizedText(rulePathConditionRegexCheckBox, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.rulePathConditionRegexCheckBox.text"));
790 rulePathConditionRegexCheckBox.setEnabled(
false);
792 descriptionTextArea.setEditable(
false);
793 descriptionTextArea.setBackground(
new java.awt.Color(240, 240, 240));
794 descriptionTextArea.setColumns(20);
795 descriptionTextArea.setLineWrap(
true);
796 descriptionTextArea.setRows(3);
797 descriptionTextArea.setText(org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.jTextArea1.text"));
798 descriptionTextArea.setWrapStyleWord(
true);
799 descriptionTextArea.setOpaque(
false);
800 descriptionScrollPane.setViewportView(descriptionTextArea);
802 org.openide.awt.Mnemonics.setLocalizedText(mimeTypeLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.mimeTypeLabel.text"));
804 mimeTypeComboBox.setBackground(
new java.awt.Color(240, 240, 240));
805 mimeTypeComboBox.setEditable(
true);
806 mimeTypeComboBox.setModel(
new javax.swing.DefaultComboBoxModel<String>(
new String[] {
""}));
807 mimeTypeComboBox.setEnabled(
false);
808 mimeTypeComboBox.setMinimumSize(
new java.awt.Dimension(0, 20));
809 mimeTypeComboBox.setPreferredSize(
new java.awt.Dimension(12, 20));
811 org.openide.awt.Mnemonics.setLocalizedText(fileSizeLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.fileSizeLabel.text"));
813 equalitySignComboBox.setModel(
new javax.swing.DefaultComboBoxModel<String>(
new String[] {
">",
"<" }));
814 equalitySignComboBox.setEnabled(
false);
816 fileSizeSpinner.setEnabled(
false);
817 fileSizeSpinner.setMinimumSize(
new java.awt.Dimension(2, 20));
819 fileSizeUnitComboBox.setModel(
new javax.swing.DefaultComboBoxModel<String>(
new String[] { Bundle.FilesSetDefsPanel_bytes(), Bundle.FilesSetDefsPanel_kiloBytes(), Bundle.FilesSetDefsPanel_megaBytes(), Bundle.FilesSetDefsPanel_gigaBytes() }));
820 fileSizeUnitComboBox.setEnabled(
false);
822 org.openide.awt.Mnemonics.setLocalizedText(ingoreUnallocCheckbox, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.ingoreUnallocCheckbox.text"));
823 ingoreUnallocCheckbox.setToolTipText(org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.ingoreUnallocCheckbox.toolTipText"));
824 ingoreUnallocCheckbox.setEnabled(
false);
826 ingestWarningLabel.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/modules/hashdatabase/warning16.png")));
827 org.openide.awt.Mnemonics.setLocalizedText(ingestWarningLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.ingestWarningLabel.text"));
829 copySetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/new16.png")));
830 org.openide.awt.Mnemonics.setLocalizedText(copySetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.copySetButton.text"));
831 copySetButton.setEnabled(
false);
832 copySetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
833 copySetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
834 copySetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
835 copySetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
836 copySetButton.addActionListener(
new java.awt.event.ActionListener() {
837 public void actionPerformed(java.awt.event.ActionEvent evt) {
838 copySetButtonActionPerformed(evt);
842 importSetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/import16.png")));
843 org.openide.awt.Mnemonics.setLocalizedText(importSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.importSetButton.text"));
844 importSetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
845 importSetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
846 importSetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
847 importSetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
848 importSetButton.addActionListener(
new java.awt.event.ActionListener() {
849 public void actionPerformed(java.awt.event.ActionEvent evt) {
850 importSetButtonActionPerformed(evt);
854 exportSetButton.setIcon(
new javax.swing.ImageIcon(getClass().getResource(
"/org/sleuthkit/autopsy/images/export16.png")));
855 org.openide.awt.Mnemonics.setLocalizedText(exportSetButton, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.interesting.exportSetButton.text"));
856 exportSetButton.setEnabled(
false);
857 exportSetButton.setMargin(
new java.awt.Insets(2, 6, 2, 6));
858 exportSetButton.setMaximumSize(
new java.awt.Dimension(111, 25));
859 exportSetButton.setMinimumSize(
new java.awt.Dimension(111, 25));
860 exportSetButton.setPreferredSize(
new java.awt.Dimension(111, 25));
861 exportSetButton.addActionListener(
new java.awt.event.ActionListener() {
862 public void actionPerformed(java.awt.event.ActionEvent evt) {
863 exportSetButtonActionPerformed(evt);
867 org.openide.awt.Mnemonics.setLocalizedText(modifiedDateLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.modifiedDateLabel.text"));
869 daysIncludedTextField.setEditable(
false);
870 daysIncludedTextField.setHorizontalAlignment(javax.swing.JTextField.TRAILING);
871 daysIncludedTextField.setText(org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.daysIncludedTextField.text"));
872 daysIncludedTextField.setMinimumSize(
new java.awt.Dimension(60, 20));
873 daysIncludedTextField.setPreferredSize(
new java.awt.Dimension(60, 20));
875 org.openide.awt.Mnemonics.setLocalizedText(daysIncludedLabel, org.openide.util.NbBundle.getMessage(FilesSetDefsPanel.class,
"FilesSetDefsPanel.daysIncludedLabel.text"));
876 daysIncludedLabel.setEnabled(
false);
878 javax.swing.GroupLayout jPanel1Layout =
new javax.swing.GroupLayout(jPanel1);
879 jPanel1.setLayout(jPanel1Layout);
880 jPanel1Layout.setHorizontalGroup(
881 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
882 .addGroup(jPanel1Layout.createSequentialGroup()
884 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
885 .addGroup(jPanel1Layout.createSequentialGroup()
886 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,
false)
887 .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
888 .addComponent(copySetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
889 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
890 .addComponent(importSetButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
891 .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
892 .addComponent(newSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
893 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
894 .addComponent(editSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
895 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
896 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
897 .addComponent(exportSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
898 .addComponent(deleteSetButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
899 .addComponent(setsListScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 346, javax.swing.GroupLayout.PREFERRED_SIZE)
900 .addComponent(descriptionScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 346, javax.swing.GroupLayout.PREFERRED_SIZE)
901 .addComponent(setsListLabel))
902 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
903 .addComponent(separator, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
904 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
905 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
906 .addGroup(jPanel1Layout.createSequentialGroup()
907 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
908 .addComponent(rulesListScrollPane, javax.swing.GroupLayout.Alignment.TRAILING)
909 .addComponent(setDescScrollPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
910 .addGroup(jPanel1Layout.createSequentialGroup()
912 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
913 .addComponent(mimeTypeLabel)
914 .addComponent(fileSizeLabel)
915 .addComponent(fileTypeLabel)
916 .addComponent(pathLabel)
917 .addComponent(modifiedDateLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
918 .addComponent(nameLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
919 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
920 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
921 .addComponent(rulePathConditionTextField)
922 .addComponent(fileNameTextField, javax.swing.GroupLayout.Alignment.TRAILING)
923 .addComponent(mimeTypeComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
924 .addGroup(jPanel1Layout.createSequentialGroup()
925 .addComponent(equalitySignComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
926 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
927 .addComponent(fileSizeSpinner, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
928 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
929 .addComponent(fileSizeUnitComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE))
930 .addGroup(jPanel1Layout.createSequentialGroup()
931 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
932 .addComponent(rulePathConditionRegexCheckBox)
933 .addGroup(jPanel1Layout.createSequentialGroup()
934 .addComponent(daysIncludedTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
935 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
936 .addComponent(daysIncludedLabel))
937 .addGroup(jPanel1Layout.createSequentialGroup()
938 .addComponent(filesRadioButton)
939 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
940 .addComponent(dirsRadioButton)
941 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
942 .addComponent(allRadioButton))
943 .addGroup(jPanel1Layout.createSequentialGroup()
944 .addComponent(fileNameRadioButton)
945 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
946 .addComponent(fileNameExtensionRadioButton)
947 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
948 .addComponent(fileNameRegexCheckbox)))
949 .addGap(0, 0, Short.MAX_VALUE)))))
951 .addGroup(jPanel1Layout.createSequentialGroup()
952 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
953 .addComponent(rulesListLabel)
954 .addGroup(jPanel1Layout.createSequentialGroup()
955 .addComponent(ignoreKnownFilesCheckbox)
956 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
957 .addComponent(ingoreUnallocCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE))
958 .addGroup(jPanel1Layout.createSequentialGroup()
959 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
960 .addComponent(descriptionLabel)
961 .addComponent(setDetailsLabel))
962 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
963 .addComponent(ingestWarningLabel))
964 .addComponent(ruleLabel)
965 .addGroup(jPanel1Layout.createSequentialGroup()
966 .addComponent(newRuleButton)
968 .addComponent(editRuleButton)
970 .addComponent(deleteRuleButton)))
971 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
974 jPanel1Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
new java.awt.Component[] {copySetButton, deleteSetButton, editSetButton, exportSetButton, importSetButton, newSetButton});
976 jPanel1Layout.setVerticalGroup(
977 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
978 .addGroup(jPanel1Layout.createSequentialGroup()
980 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
981 .addComponent(separator)
982 .addGroup(jPanel1Layout.createSequentialGroup()
983 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
984 .addGroup(jPanel1Layout.createSequentialGroup()
985 .addComponent(setDetailsLabel)
986 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
987 .addComponent(descriptionLabel)
989 .addComponent(ingestWarningLabel, javax.swing.GroupLayout.Alignment.TRAILING))
990 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
991 .addComponent(setDescScrollPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 69, Short.MAX_VALUE)
992 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
993 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
994 .addComponent(ignoreKnownFilesCheckbox)
995 .addComponent(ingoreUnallocCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
996 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
997 .addComponent(rulesListLabel)
998 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
999 .addComponent(rulesListScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 61, Short.MAX_VALUE)
1000 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1001 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1002 .addComponent(newRuleButton)
1003 .addComponent(editRuleButton)
1004 .addComponent(deleteRuleButton))
1005 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1006 .addComponent(ruleLabel)
1007 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1008 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1009 .addComponent(fileTypeLabel)
1010 .addComponent(filesRadioButton)
1011 .addComponent(dirsRadioButton)
1012 .addComponent(allRadioButton))
1013 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1014 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1015 .addComponent(nameLabel)
1016 .addComponent(fileNameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
1017 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1018 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1019 .addComponent(fileNameRadioButton)
1020 .addComponent(fileNameExtensionRadioButton)
1021 .addComponent(fileNameRegexCheckbox))
1022 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1023 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1024 .addComponent(pathLabel)
1025 .addComponent(rulePathConditionTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
1026 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1027 .addComponent(rulePathConditionRegexCheckBox)
1028 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1029 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1030 .addComponent(mimeTypeLabel)
1031 .addComponent(mimeTypeComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1032 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1033 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1034 .addComponent(fileSizeLabel)
1035 .addComponent(equalitySignComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1036 .addComponent(fileSizeSpinner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1037 .addComponent(fileSizeUnitComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1038 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1039 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1040 .addComponent(modifiedDateLabel)
1041 .addComponent(daysIncludedTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1042 .addComponent(daysIncludedLabel))
1044 .addGroup(jPanel1Layout.createSequentialGroup()
1045 .addComponent(descriptionScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1046 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1047 .addComponent(setsListLabel)
1048 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1049 .addComponent(setsListScrollPane)
1050 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1051 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1052 .addComponent(newSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1053 .addComponent(editSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1054 .addComponent(deleteSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1055 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
1056 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
1057 .addComponent(copySetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1058 .addComponent(importSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
1059 .addComponent(exportSetButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
1063 jPanel1Layout.linkSize(javax.swing.SwingConstants.VERTICAL,
new java.awt.Component[] {copySetButton, deleteRuleButton, deleteSetButton, editRuleButton, editSetButton, exportSetButton, importSetButton, newRuleButton, newSetButton});
1065 jScrollPane1.setViewportView(jPanel1);
1067 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
1068 this.setLayout(layout);
1069 layout.setHorizontalGroup(
1070 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1071 .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 800, Short.MAX_VALUE)
1073 layout.setVerticalGroup(
1074 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
1075 .addComponent(jScrollPane1)