mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
2348 fixed recently refactored class references that were missed
This commit is contained in:
parent
66aa903503
commit
a47fa38410
@ -34,7 +34,6 @@ import org.openide.util.NbBundle;
|
|||||||
import org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor;
|
import org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor;
|
||||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* visual component for the first panel of add image wizard. Allows the user to
|
* visual component for the first panel of add image wizard. Allows the user to
|
||||||
* choose the data source type and then select the data source
|
* choose the data source type and then select the data source
|
||||||
@ -65,7 +64,8 @@ final class AddImageWizardDataSourceSettingsVisual extends JPanel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WJS-TODO
|
* Populate the map of DataSourceProcessors which so they can be retrieved
|
||||||
|
* by name.
|
||||||
*/
|
*/
|
||||||
private void discoverDataSourceProcessors() {
|
private void discoverDataSourceProcessors() {
|
||||||
for (DataSourceProcessor dsProcessor : Lookup.getDefault().lookupAll(DataSourceProcessor.class)) {
|
for (DataSourceProcessor dsProcessor : Lookup.getDefault().lookupAll(DataSourceProcessor.class)) {
|
||||||
|
@ -54,11 +54,11 @@ class AddImageWizardIterator implements WizardDescriptor.Iterator<WizardDescript
|
|||||||
private List<ShortcutWizardDescriptorPanel> getPanels() {
|
private List<ShortcutWizardDescriptorPanel> getPanels() {
|
||||||
if (panels == null) {
|
if (panels == null) {
|
||||||
panels = new ArrayList<>();
|
panels = new ArrayList<>();
|
||||||
SelectDataSourceProcessorPanel dspSelection = new SelectDataSourceProcessorPanel();
|
AddImageWizardSelectDspPanel dspSelection = new AddImageWizardSelectDspPanel();
|
||||||
panels.add(dspSelection);
|
panels.add(dspSelection);
|
||||||
AddImageWizardAddingProgressPanel progressPanel = new AddImageWizardAddingProgressPanel();
|
AddImageWizardAddingProgressPanel progressPanel = new AddImageWizardAddingProgressPanel();
|
||||||
|
|
||||||
AddImageWizardChooseDataSourcePanel dsPanel = new AddImageWizardChooseDataSourcePanel();
|
AddImageWizardDataSourceSettingsPanel dsPanel = new AddImageWizardDataSourceSettingsPanel();
|
||||||
AddImageWizardIngestConfigPanel ingestConfigPanel = new AddImageWizardIngestConfigPanel(dsPanel, action, progressPanel);
|
AddImageWizardIngestConfigPanel ingestConfigPanel = new AddImageWizardIngestConfigPanel(dsPanel, action, progressPanel);
|
||||||
panels.add(dsPanel);
|
panels.add(dsPanel);
|
||||||
List<IngestProfiles.IngestProfile> profiles = IngestProfiles.getIngestProfiles();
|
List<IngestProfiles.IngestProfile> profiles = IngestProfiles.getIngestProfiles();
|
||||||
@ -162,7 +162,7 @@ class AddImageWizardIterator implements WizardDescriptor.Iterator<WizardDescript
|
|||||||
@Override
|
@Override
|
||||||
// disable the previous button on all panels except the data source panel
|
// disable the previous button on all panels except the data source panel
|
||||||
public boolean hasPrevious() {
|
public boolean hasPrevious() {
|
||||||
return (index == dsPanelIndex); //Users should be able to back up to select a different DSP
|
return (index == dsPanelIndex); //Users should be able to back up to select a different DSP
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,7 +1,20 @@
|
|||||||
/*
|
/*
|
||||||
* To change this license header, choose License Headers in Project Properties.
|
* Autopsy Forensic Browser
|
||||||
* To change this template file, choose Tools | Templates
|
*
|
||||||
* and open the template in the editor.
|
* Copyright 2011-2017 Basis Technology Corp.
|
||||||
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.casemodule;
|
package org.sleuthkit.autopsy.casemodule;
|
||||||
|
|
||||||
@ -18,10 +31,12 @@ import org.sleuthkit.autopsy.coreutils.ModuleSettings;
|
|||||||
import org.sleuthkit.autopsy.ingest.runIngestModuleWizard.ShortcutWizardDescriptorPanel;
|
import org.sleuthkit.autopsy.ingest.runIngestModuleWizard.ShortcutWizardDescriptorPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a wizard panel which contains a panel allowing the selection of the DataSourceProcessor
|
* Create a wizard panel which contains a panel allowing the selection of the
|
||||||
|
* DataSourceProcessor
|
||||||
*/
|
*/
|
||||||
class AddImageWizardSelectDspPanel extends ShortcutWizardDescriptorPanel implements PropertyChangeListener {
|
class AddImageWizardSelectDspPanel extends ShortcutWizardDescriptorPanel implements PropertyChangeListener {
|
||||||
@NbBundle.Messages("SelectDataSourceProcessorPanel.name.text=Select Type of Data")
|
|
||||||
|
@NbBundle.Messages("SelectDataSourceProcessorPanel.name.text=Select Type of Data")
|
||||||
private AddImageWizardSelectDspVisual component;
|
private AddImageWizardSelectDspVisual component;
|
||||||
private static final String LAST_DSP_PROPERTIES_FILE = "LastDSPUsed";
|
private static final String LAST_DSP_PROPERTIES_FILE = "LastDSPUsed";
|
||||||
private static final String LAST_DSP_USED_KEY = "Last_DSP_Used";
|
private static final String LAST_DSP_USED_KEY = "Last_DSP_Used";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user