Autopsy  4.1
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 2014 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 
32 @ActionID(
33  category = "Help",
34  id = "org.sleuthkit.autopsy.actions.ShowIngestProgressSnapshotAction"
35 )
36 @ActionRegistration(
37  displayName = "#CTL_ShowIngestProgressSnapshotAction",
38  lazy = false
39 )
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 
46  @Override
47  public void performAction() {
49  }
50 
51  @Override
52  public String getName() {
53  return ACTION_NAME;
54  }
55 
56  @Override
57  public HelpCtx getHelpCtx() {
58  return HelpCtx.DEFAULT_HELP;
59  }
60 
61  @Override
62  public boolean isEnabled() {
63  return Case.isCaseOpen();
64  }
65 
66  @Override
67  public boolean asynchronous() {
68  return false; // run on edt
69  }
70 }

Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.