Go to the documentation of this file.
19package org.sleuthkit.autopsy.corecomponents;
21import java.awt.event.ActionEvent;
22import java.awt.event.ActionListener;
23import org.sleuthkit.autopsy.coreutils.Desktop;
24import java.io.IOException;
25import java.net.MalformedURLException;
26import java.net.URISyntaxException;
28import org.netbeans.core.actions.HTMLViewAction;
29import org.openide.awt.ActionID;
30import org.openide.awt.ActionReference;
31import org.openide.awt.ActionReferences;
32import org.openide.awt.ActionRegistration;
33import org.openide.awt.HtmlBrowser;
34import org.openide.util.NbBundle;
35import org.openide.util.NbBundle.Messages;
36import java.util.logging.Level;
37import org.sleuthkit.autopsy.coreutils.Logger;
38import org.sleuthkit.autopsy.coreutils.Version;
45 id =
"org.sleuthkit.autopsy.corecomponents.OnlineHelpAction"
48 displayName =
"#CTL_OnlineHelpAction"
51 @ActionReference(path =
"Menu/Help", position = 0),
52 @ActionReference(path =
"Shortcuts", name =
"F1")
54@Messages(
"CTL_OnlineHelpAction=Online Autopsy Documentation")
73 }
catch (URISyntaxException ex) {
74 Logger.log(Level.SEVERE,
"Unable to load Online Documentation", ex);
82 }
catch (IOException ex) {
84 Logger.log(Level.SEVERE,
"Unable to launch the system browser", ex);
87 org.openide.awt.StatusDisplayer.getDefault().setStatusText(NbBundle.getMessage(HTMLViewAction.class,
"CTL_OpeningBrowser"));
89 HtmlBrowser.URLDisplayer.getDefault().showURL(
uri.toURL());
90 }
catch (MalformedURLException ex) {
91 Logger.log(Level.SEVERE,
"Unable to launch the built-in browser", ex);
void actionPerformed(ActionEvent e)
static final Logger Logger
static Desktop getDesktop()
static boolean isDesktopSupported()
static String getVersion()
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.