19 package org.sleuthkit.autopsy.datasourcesummary.ui;
21 import java.awt.event.ActionEvent;
22 import java.beans.PropertyChangeEvent;
23 import java.util.EnumSet;
24 import javax.swing.Action;
25 import org.openide.awt.ActionID;
26 import org.openide.awt.ActionRegistration;
27 import org.openide.util.HelpCtx;
28 import org.openide.util.NbBundle.Messages;
29 import org.openide.util.actions.CallableSystemAction;
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"})
42 private static final long serialVersionUID = 1L;
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)