19 package org.sleuthkit.autopsy.casemodule.datasourcesummary;
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;
32 @ActionID(category =
"Case",
id =
"org.sleuthkit.autopsy.casemodule.datasourcesummary.DataSourceSummaryAction")
33 @ActionRegistration(displayName =
"#CTL_DataSourceSummaryAction", lazy =
false)
34 @Messages({
"CTL_DataSourceSummaryAction=Data Source Summary"})
41 private static final long serialVersionUID = 1L;
48 putValue(Action.NAME, Bundle.CTL_DataSourceSummaryAction());
49 this.setEnabled(
false);
51 setEnabled(null != evt.getNewValue());
63 return Bundle.CTL_DataSourceSummaryAction();
68 return HelpCtx.DEFAULT_HELP;
static void addEventTypeSubscriber(Set< Events > eventTypes, PropertyChangeListener subscriber)