Go to the documentation of this file.
19package org.sleuthkit.autopsy.datasourcesummary.ui;
21import java.awt.event.ActionEvent;
22import java.beans.PropertyChangeEvent;
23import java.util.EnumSet;
24import javax.swing.Action;
25import org.openide.awt.ActionID;
26import org.openide.awt.ActionRegistration;
27import org.openide.util.HelpCtx;
28import org.openide.util.NbBundle.Messages;
29import org.openide.util.actions.CallableSystemAction;
30import org.sleuthkit.autopsy.casemodule.Case;
31import org.sleuthkit.autopsy.datasourcesummary.ui.Bundle;
33@ActionID(category =
"Case",
id =
"org.sleuthkit.autopsy.casemodule.datasourcesummary.DataSourceSummaryAction")
34@ActionRegistration(displayName =
"#CTL_DataSourceSummaryAction", lazy =
false)
35@Messages({
"CTL_DataSourceSummaryAction=Data Source Summary"})
40public class DataSourceSummaryAction extends CallableSystemAction {
48 DataSourceSummaryAction() {
49 putValue(Action.NAME, Bundle.CTL_DataSourceSummaryAction());
50 this.setEnabled(
false);
52 setEnabled(null != evt.getNewValue());
64 return Bundle.CTL_DataSourceSummaryAction();
69 return HelpCtx.DEFAULT_HELP;
static void addEventTypeSubscriber(Set< Events > eventTypes, PropertyChangeListener subscriber)
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.