mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Updated UI for ingest
This commit is contained in:
parent
6f17ba5fc9
commit
fed3a955e5
@ -20,6 +20,7 @@ package org.sleuthkit.autopsy.casemodule;
|
|||||||
|
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
import java.awt.Dialog;
|
import java.awt.Dialog;
|
||||||
|
import java.awt.Dimension;
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
@ -75,6 +76,7 @@ public final class AddImageAction extends CallableSystemAction implements Presen
|
|||||||
static final String NOFATORPHANS_PROP = "nofatorphans"; //NON-NLS
|
static final String NOFATORPHANS_PROP = "nofatorphans"; //NON-NLS
|
||||||
|
|
||||||
static final Logger logger = Logger.getLogger(AddImageAction.class.getName());
|
static final Logger logger = Logger.getLogger(AddImageAction.class.getName());
|
||||||
|
static final Dimension SIZE = new Dimension(825, 550);
|
||||||
|
|
||||||
private WizardDescriptor wizardDescriptor;
|
private WizardDescriptor wizardDescriptor;
|
||||||
private WizardDescriptor.Iterator<WizardDescriptor> iterator;
|
private WizardDescriptor.Iterator<WizardDescriptor> iterator;
|
||||||
@ -126,6 +128,8 @@ public final class AddImageAction extends CallableSystemAction implements Presen
|
|||||||
dialog.setVisible(false); // hide the old one
|
dialog.setVisible(false); // hide the old one
|
||||||
}
|
}
|
||||||
dialog = DialogDisplayer.getDefault().createDialog(wizardDescriptor);
|
dialog = DialogDisplayer.getDefault().createDialog(wizardDescriptor);
|
||||||
|
Dimension d = dialog.getSize();
|
||||||
|
dialog.setSize(SIZE);
|
||||||
dialog.setVisible(true);
|
dialog.setVisible(true);
|
||||||
dialog.toFront();
|
dialog.toFront();
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="configPanel" alignment="0" pref="300" max="32767" attributes="0"/>
|
<Component id="configPanel" alignment="0" pref="349" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
</Layout>
|
</Layout>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<EmptySpace min="0" pref="300" max="32767" attributes="0"/>
|
<EmptySpace min="0" pref="349" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
@ -79,7 +79,7 @@ class AddImageWizardIngestConfigVisual extends JPanel {
|
|||||||
);
|
);
|
||||||
configPanelLayout.setVerticalGroup(
|
configPanelLayout.setVerticalGroup(
|
||||||
configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGap(0, 300, Short.MAX_VALUE)
|
.addGap(0, 349, Short.MAX_VALUE)
|
||||||
);
|
);
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||||
@ -90,7 +90,7 @@ class AddImageWizardIngestConfigVisual extends JPanel {
|
|||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
|
.addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 349, Short.MAX_VALUE)
|
||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
|
@ -85,7 +85,6 @@ DataSourceIngestCancellationPanel.cancelCurrentModuleRadioButton.text=Cancel cur
|
|||||||
FileIngestCancellationPanel.cancelIngestJobRadioButton.text=Cancel data source ingest and file ingest
|
FileIngestCancellationPanel.cancelIngestJobRadioButton.text=Cancel data source ingest and file ingest
|
||||||
FileIngestCancellationPanel.cancelFileIngestRadioButton.text=Cancel file ingest only
|
FileIngestCancellationPanel.cancelFileIngestRadioButton.text=Cancel file ingest only
|
||||||
DataSourceIngestCancellationPanel.cancelAllModulesRadioButton.text=Cancel all ingest modules
|
DataSourceIngestCancellationPanel.cancelAllModulesRadioButton.text=Cancel all ingest modules
|
||||||
IngestJobSettingsPanel.descriptionLabel.text=
|
|
||||||
IngestProgressSnapshotPanel.SnapshotsTableModel.colNames.jobID=Job ID
|
IngestProgressSnapshotPanel.SnapshotsTableModel.colNames.jobID=Job ID
|
||||||
IngestJobTableModel.colName.jobID=Job ID
|
IngestJobTableModel.colName.jobID=Job ID
|
||||||
IngestJobTableModel.colName.dataSource=Data Source
|
IngestJobTableModel.colName.dataSource=Data Source
|
||||||
@ -119,3 +118,4 @@ IngestJobSettingsPanel.globalSettingsButton.text=Global Settings
|
|||||||
gest
|
gest
|
||||||
IngestJobSettingsPanel.globalSettingsButton.actionCommand=Advanced
|
IngestJobSettingsPanel.globalSettingsButton.actionCommand=Advanced
|
||||||
IngestJobSettingsPanel.globalSettingsButton.text=Global Settings
|
IngestJobSettingsPanel.globalSettingsButton.text=Global Settings
|
||||||
|
IngestJobSettingsPanel.descriptionLabel.text=
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<Dimension value="[522, 257]"/>
|
<Dimension value="[522, 257]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[585, 340]"/>
|
<Dimension value="[585, 349]"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
<AuxValues>
|
<AuxValues>
|
||||||
@ -72,7 +72,7 @@
|
|||||||
<Component id="processUnallocCheckbox" min="-2" pref="23" max="-2" attributes="0"/>
|
<Component id="processUnallocCheckbox" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<Component id="jPanel1" pref="318" max="32767" attributes="0"/>
|
<Component id="jPanel1" pref="327" max="32767" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
@ -151,10 +151,10 @@
|
|||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="jScrollPane1" pref="208" max="32767" attributes="0"/>
|
<Component id="jScrollPane1" pref="211" max="32767" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
|
||||||
<Component id="jSeparator2" min="-2" pref="2" max="-2" attributes="0"/>
|
<Component id="jSeparator2" min="-2" pref="2" max="-2" attributes="0"/>
|
||||||
<EmptySpace type="unrelated" max="32767" attributes="0"/>
|
<EmptySpace min="-2" pref="14" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="descriptionLabel" min="-2" pref="50" max="-2" attributes="0"/>
|
<Component id="descriptionLabel" min="-2" pref="50" max="-2" attributes="0"/>
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
@ -162,7 +162,7 @@
|
|||||||
<Component id="globalSettingsButton" min="-2" max="-2" attributes="0"/>
|
<Component id="globalSettingsButton" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace pref="16" max="32767" attributes="0"/>
|
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -177,6 +177,9 @@
|
|||||||
<ResourceString bundle="org/sleuthkit/autopsy/ingest/Bundle.properties" key="IngestJobSettingsPanel.globalSettingsButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/ingest/Bundle.properties" key="IngestJobSettingsPanel.globalSettingsButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="enabled" type="boolean" value="false"/>
|
<Property name="enabled" type="boolean" value="false"/>
|
||||||
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
|
<Dimension value="[103, 23]"/>
|
||||||
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="globalSettingsButtonActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="globalSettingsButtonActionPerformed"/>
|
||||||
@ -204,6 +207,11 @@
|
|||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
<Container class="javax.swing.JPanel" name="ingestSettingsPanel">
|
<Container class="javax.swing.JPanel" name="ingestSettingsPanel">
|
||||||
|
<Properties>
|
||||||
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
|
<Dimension value="[0, 300]"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
|
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
|
||||||
<Property name="axis" type="int" value="3"/>
|
<Property name="axis" type="int" value="3"/>
|
||||||
|
@ -152,7 +152,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
|
|
||||||
setMaximumSize(new java.awt.Dimension(5750, 3000));
|
setMaximumSize(new java.awt.Dimension(5750, 3000));
|
||||||
setMinimumSize(new java.awt.Dimension(522, 257));
|
setMinimumSize(new java.awt.Dimension(522, 257));
|
||||||
setPreferredSize(new java.awt.Dimension(585, 340));
|
setPreferredSize(new java.awt.Dimension(585, 349));
|
||||||
|
|
||||||
modulesScrollPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(160, 160, 160)));
|
modulesScrollPane.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(160, 160, 160)));
|
||||||
modulesScrollPane.setMinimumSize(new java.awt.Dimension(0, 0));
|
modulesScrollPane.setMinimumSize(new java.awt.Dimension(0, 0));
|
||||||
@ -177,6 +177,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
globalSettingsButton.setText(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.globalSettingsButton.text")); // NOI18N
|
globalSettingsButton.setText(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.globalSettingsButton.text")); // NOI18N
|
||||||
globalSettingsButton.setActionCommand(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.globalSettingsButton.actionCommand")); // NOI18N
|
globalSettingsButton.setActionCommand(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.globalSettingsButton.actionCommand")); // NOI18N
|
||||||
globalSettingsButton.setEnabled(false);
|
globalSettingsButton.setEnabled(false);
|
||||||
|
globalSettingsButton.setMinimumSize(new java.awt.Dimension(103, 23));
|
||||||
globalSettingsButton.addActionListener(new java.awt.event.ActionListener() {
|
globalSettingsButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
globalSettingsButtonActionPerformed(evt);
|
globalSettingsButtonActionPerformed(evt);
|
||||||
@ -188,6 +189,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
jScrollPane1.setBorder(null);
|
jScrollPane1.setBorder(null);
|
||||||
jScrollPane1.setPreferredSize(new java.awt.Dimension(250, 180));
|
jScrollPane1.setPreferredSize(new java.awt.Dimension(250, 180));
|
||||||
|
|
||||||
|
ingestSettingsPanel.setMinimumSize(new java.awt.Dimension(0, 300));
|
||||||
ingestSettingsPanel.setLayout(new javax.swing.BoxLayout(ingestSettingsPanel, javax.swing.BoxLayout.PAGE_AXIS));
|
ingestSettingsPanel.setLayout(new javax.swing.BoxLayout(ingestSettingsPanel, javax.swing.BoxLayout.PAGE_AXIS));
|
||||||
jScrollPane1.setViewportView(ingestSettingsPanel);
|
jScrollPane1.setViewportView(ingestSettingsPanel);
|
||||||
|
|
||||||
@ -203,7 +205,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
.addGroup(jPanel1Layout.createSequentialGroup()
|
.addGroup(jPanel1Layout.createSequentialGroup()
|
||||||
.addComponent(descriptionLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(descriptionLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(globalSettingsButton)
|
.addComponent(globalSettingsButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addGap(4, 4, 4)))
|
.addGap(4, 4, 4)))
|
||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
@ -211,16 +213,16 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 211, Short.MAX_VALUE)
|
||||||
.addGap(18, 18, 18)
|
.addGap(18, 18, 18)
|
||||||
.addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addGap(14, 14, 14)
|
||||||
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(descriptionLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(descriptionLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addGroup(jPanel1Layout.createSequentialGroup()
|
.addGroup(jPanel1Layout.createSequentialGroup()
|
||||||
.addGap(15, 15, 15)
|
.addGap(15, 15, 15)
|
||||||
.addComponent(globalSettingsButton)))
|
.addComponent(globalSettingsButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
||||||
.addContainerGap(16, Short.MAX_VALUE))
|
.addGap(19, 19, 19))
|
||||||
);
|
);
|
||||||
|
|
||||||
jButtonSelectAll.setText(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.jButtonSelectAll.text")); // NOI18N
|
jButtonSelectAll.setText(org.openide.util.NbBundle.getMessage(IngestJobSettingsPanel.class, "IngestJobSettingsPanel.jButtonSelectAll.text")); // NOI18N
|
||||||
@ -281,7 +283,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
|||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(processUnallocCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(processUnallocCheckbox, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||||
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE)
|
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 327, Short.MAX_VALUE)
|
||||||
.addContainerGap())))
|
.addContainerGap())))
|
||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user