19 package org.sleuthkit.autopsy.logicalimager.configuration;
21 import javax.swing.event.ChangeListener;
22 import org.openide.WizardDescriptor;
23 import org.openide.util.HelpCtx;
28 final class ConfigWizardPanel2
implements WizardDescriptor.Panel<WizardDescriptor> {
34 private ConfigVisualPanel2 component;
35 private String configFilename;
36 private LogicalImagerConfig config;
43 public ConfigVisualPanel2 getComponent() {
44 if (component == null) {
45 component =
new ConfigVisualPanel2();
51 public HelpCtx getHelp() {
53 return HelpCtx.DEFAULT_HELP;
59 public boolean isValid() {
69 public void readSettings(WizardDescriptor wiz) {
71 configFilename = (String) wiz.getProperty(
"configFilename");
72 config = (LogicalImagerConfig) wiz.getProperty(
"config");
73 component.setConfiguration(configFilename, config);
77 public void storeSettings(WizardDescriptor wiz) {
82 public void addChangeListener(ChangeListener cl) {
87 public void removeChangeListener(ChangeListener cl) {