6 package org.sleuthkit.autopsy.actions;
8 import org.openide.DialogDescriptor;
9 import org.openide.DialogDisplayer;
10 import org.openide.NotifyDescriptor;
34 NotifyDescriptor descriptor =
new NotifyDescriptor.Confirmation(
37 NotifyDescriptor.YES_NO_OPTION,
38 NotifyDescriptor.WARNING_MESSAGE);
39 descriptor.setValue(NotifyDescriptor.NO_OPTION);
40 Object response = DialogDisplayer.getDefault().notify(descriptor);
41 return (DialogDescriptor.YES_OPTION == response);
static synchronized IngestManager getInstance()
static boolean checkAndConfirmProceed(String optionsDlgTitle, String optionsDlgMessage)
boolean isIngestRunning()