Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
ShowIngestProgressSnapshotAction.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2011-2017 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.actions;
20 
21 import java.awt.event.ActionListener;
22 import org.openide.awt.ActionID;
23 import org.openide.awt.ActionReference;
24 import org.openide.awt.ActionRegistration;
25 import org.openide.util.HelpCtx;
26 import org.openide.util.NbBundle;
27 import org.openide.util.NbBundle.Messages;
28 import org.openide.util.actions.CallableSystemAction;
31 
38 @ActionID(category = "Help", id = "org.sleuthkit.autopsy.actions.ShowIngestProgressSnapshotAction")
39 @ActionRegistration(displayName = "#CTL_ShowIngestProgressSnapshotAction", lazy = false)
40 @ActionReference(path = "Menu/Help", position = 1125)
41 @Messages("CTL_ShowIngestProgressSnapshotAction=Ingest Status Details")
42 public final class ShowIngestProgressSnapshotAction extends CallableSystemAction implements ActionListener {
43 
44  private static final String ACTION_NAME = NbBundle.getMessage(ShowIngestProgressSnapshotAction.class, "ShowIngestProgressSnapshotAction.actionName.text");
45  private static final long serialVersionUID = 1L;
46 
47  @Override
48  public void performAction() {
50  }
51 
52  @Override
53  public String getName() {
54  return ACTION_NAME;
55  }
56 
57  @Override
58  public HelpCtx getHelpCtx() {
59  return HelpCtx.DEFAULT_HELP;
60  }
61 
62  @Override
63  public boolean isEnabled() {
64  return Case.isCaseOpen();
65  }
66 
67  @Override
68  public boolean asynchronous() {
69  return false;
70  }
71 }

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.