mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
fix compile warning
This commit is contained in:
parent
a9b39470f1
commit
b20087ea06
@ -103,6 +103,9 @@
|
|||||||
<StringArray count="0"/>
|
<StringArray count="0"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<AuxValues>
|
||||||
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
||||||
|
</AuxValues>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JCheckBox" name="noFatOrphansCheckbox">
|
<Component class="javax.swing.JCheckBox" name="noFatOrphansCheckbox">
|
||||||
<Properties>
|
<Properties>
|
||||||
@ -200,6 +203,9 @@
|
|||||||
<StringArray count="0"/>
|
<StringArray count="0"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<AuxValues>
|
||||||
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<ContentTypePanel>"/>
|
||||||
|
</AuxValues>
|
||||||
</Component>
|
</Component>
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Container>
|
</Container>
|
||||||
|
@ -57,7 +57,7 @@ final class AddImageVisualPanel1 extends JPanel {
|
|||||||
private AddImageWizardPanel1 wizPanel;
|
private AddImageWizardPanel1 wizPanel;
|
||||||
private ContentTypeModel model;
|
private ContentTypeModel model;
|
||||||
|
|
||||||
ContentTypePanel currentPanel;
|
private ContentTypePanel currentPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new form AddImageVisualPanel1
|
* Creates new form AddImageVisualPanel1
|
||||||
@ -231,13 +231,13 @@ final class AddImageVisualPanel1 extends JPanel {
|
|||||||
jLabel2 = new javax.swing.JLabel();
|
jLabel2 = new javax.swing.JLabel();
|
||||||
nextLabel = new javax.swing.JLabel();
|
nextLabel = new javax.swing.JLabel();
|
||||||
timeZoneLabel = new javax.swing.JLabel();
|
timeZoneLabel = new javax.swing.JLabel();
|
||||||
timeZoneComboBox = new javax.swing.JComboBox();
|
timeZoneComboBox = new javax.swing.JComboBox<String>();
|
||||||
noFatOrphansCheckbox = new javax.swing.JCheckBox();
|
noFatOrphansCheckbox = new javax.swing.JCheckBox();
|
||||||
descLabel = new javax.swing.JLabel();
|
descLabel = new javax.swing.JLabel();
|
||||||
inputPanel = new javax.swing.JPanel();
|
inputPanel = new javax.swing.JPanel();
|
||||||
typeTabel = new javax.swing.JLabel();
|
typeTabel = new javax.swing.JLabel();
|
||||||
typePanel = new javax.swing.JPanel();
|
typePanel = new javax.swing.JPanel();
|
||||||
typeComboBox = new javax.swing.JComboBox();
|
typeComboBox = new javax.swing.JComboBox<ContentTypePanel>();
|
||||||
imgInfoLabel = new javax.swing.JLabel();
|
imgInfoLabel = new javax.swing.JLabel();
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(AddImageVisualPanel1.class, "AddImageVisualPanel1.jLabel2.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(AddImageVisualPanel1.class, "AddImageVisualPanel1.jLabel2.text")); // NOI18N
|
||||||
@ -355,9 +355,9 @@ final class AddImageVisualPanel1 extends JPanel {
|
|||||||
private javax.swing.JLabel jLabel2;
|
private javax.swing.JLabel jLabel2;
|
||||||
private javax.swing.JLabel nextLabel;
|
private javax.swing.JLabel nextLabel;
|
||||||
private javax.swing.JCheckBox noFatOrphansCheckbox;
|
private javax.swing.JCheckBox noFatOrphansCheckbox;
|
||||||
private javax.swing.JComboBox timeZoneComboBox;
|
private javax.swing.JComboBox<String> timeZoneComboBox;
|
||||||
private javax.swing.JLabel timeZoneLabel;
|
private javax.swing.JLabel timeZoneLabel;
|
||||||
private javax.swing.JComboBox typeComboBox;
|
private javax.swing.JComboBox<ContentTypePanel> typeComboBox;
|
||||||
private javax.swing.JPanel typePanel;
|
private javax.swing.JPanel typePanel;
|
||||||
private javax.swing.JLabel typeTabel;
|
private javax.swing.JLabel typeTabel;
|
||||||
// End of variables declaration//GEN-END:variables
|
// End of variables declaration//GEN-END:variables
|
||||||
@ -377,9 +377,10 @@ final class AddImageVisualPanel1 extends JPanel {
|
|||||||
/**
|
/**
|
||||||
* ComboBoxModel to control typeComboBox and supply ImageTypePanels.
|
* ComboBoxModel to control typeComboBox and supply ImageTypePanels.
|
||||||
*/
|
*/
|
||||||
private class ContentTypeModel implements ComboBoxModel {
|
private class ContentTypeModel implements ComboBoxModel<ContentTypePanel> {
|
||||||
ContentTypePanel selected;
|
private ContentTypePanel selected;
|
||||||
ContentTypePanel[] types = ContentTypePanel.getPanels();
|
private ContentTypePanel[] types = ContentTypePanel.getPanels();
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setSelectedItem(Object anItem) {
|
public void setSelectedItem(Object anItem) {
|
||||||
@ -398,7 +399,7 @@ final class AddImageVisualPanel1 extends JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object getElementAt(int index) {
|
public ContentTypePanel getElementAt(int index) {
|
||||||
return types[index];
|
return types[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ public final class CasePropertiesAction extends CallableSystemAction {
|
|||||||
int totalImage = currentCase.getRootObjectsCount();
|
int totalImage = currentCase.getRootObjectsCount();
|
||||||
|
|
||||||
// put the image paths information into hashmap
|
// put the image paths information into hashmap
|
||||||
Map<Long, String> imgPaths = currentCase.getImagePaths(currentCase.getSleuthkitCase());
|
Map<Long, String> imgPaths = Case.getImagePaths(currentCase.getSleuthkitCase());
|
||||||
|
|
||||||
// create the case properties form
|
// create the case properties form
|
||||||
CasePropertiesForm cpf = new CasePropertiesForm(currentCase, crDate, caseDir, imgPaths);
|
CasePropertiesForm cpf = new CasePropertiesForm(currentCase, crDate, caseDir, imgPaths);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user