Go to the documentation of this file.
19package org.sleuthkit.autopsy.casemodule;
21import javax.swing.Action;
22import javax.swing.JFrame;
23import org.openide.awt.ActionID;
24import org.openide.awt.ActionRegistration;
25import org.openide.util.HelpCtx;
26import org.openide.util.NbBundle.Messages;
27import org.openide.util.actions.CallableSystemAction;
28import org.openide.windows.WindowManager;
30@ActionID(category =
"Case",
id =
"org.sleuthkit.autopsy.casemodule.UnpackagePortableCaseAction")
31@ActionRegistration(displayName =
"#CTL_UnpackagePortableCaseAction", lazy =
false)
32@Messages({
"CTL_UnpackagePortableCaseAction=Unpack and Open Portable Case"})
37public class UnpackagePortableCaseAction extends CallableSystemAction {
41 UnpackagePortableCaseAction() {
42 putValue(Action.NAME, Bundle.CTL_UnpackagePortableCaseAction());
43 this.setEnabled(
true);
48 JFrame parentFrame = (JFrame) WindowManager.getDefault().getMainWindow();
49 UnpackagePortableCaseDialog dialog =
new UnpackagePortableCaseDialog(parentFrame);
50 dialog.setLocationRelativeTo(parentFrame);
51 dialog.setVisible(
true);
56 return Bundle.CTL_UnpackagePortableCaseAction();
61 return HelpCtx.DEFAULT_HELP;
static final long serialVersionUID
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.