Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
MultiCaseKeywordSearchOpenAction.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2019 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.keywordsearch.multicase;
20 
21 import org.openide.awt.ActionID;
22 import org.openide.awt.ActionReference;
23 import org.openide.awt.ActionRegistration;
24 import org.openide.util.HelpCtx;
25 import org.openide.util.NbBundle.Messages;
26 import org.openide.util.actions.CallableSystemAction;
28 
29 @ActionID(category = "Tools", id = "org.sleuthkit.autopsy.experimental.autoingest.MultiCaseKeywordSearchOpenAction")
30 @ActionReference(path = "Menu/Tools", position = 202)
31 @ActionRegistration(displayName = "#CTL_MultiCaseKeywordSearchOpenAction", lazy = false)
32 @Messages({"CTL_MultiCaseKeywordSearchOpenAction=Multi-case Keyword Search"})
36 public final class MultiCaseKeywordSearchOpenAction extends CallableSystemAction {
37 
38  private static final String DISPLAY_NAME = Bundle.CTL_MultiCaseKeywordSearchOpenAction();
39  private static final long serialVersionUID = 1L;
40 
41  @Override
42  public boolean isEnabled() {
44  }
45 
46  @Override
47  public void performAction() {
48  MultiCaseKeywordSearchTopComponent.openTopComponent();
49  }
50 
51  @Override
52  public String getName() {
53  return DISPLAY_NAME;
54  }
55 
56  @Override
57  public HelpCtx getHelpCtx() {
58  return HelpCtx.DEFAULT_HELP;
59  }
60 
61  @Override
62  public boolean asynchronous() {
63  return false; // run on edt
64  }
65 
66 }

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.