19 package org.sleuthkit.autopsy.modules.interestingitems;
21 import java.beans.PropertyChangeListener;
22 import java.beans.PropertyChangeSupport;
23 import javax.swing.JComponent;
24 import javax.swing.SwingUtilities;
25 import org.netbeans.spi.options.OptionsPanelController;
26 import org.openide.util.HelpCtx;
27 import org.openide.util.Lookup;
29 @OptionsPanelController.TopLevelRegistration(
30 categoryName =
"#OptionsCategory_Name_InterestingItemDefinitions",
31 iconBase =
"org/sleuthkit/autopsy/images/interesting_item_32x32.png",
32 keywords =
"#OptionsCategory_Keywords_InterestingItemDefinitions",
33 keywordsCategory =
"InterestingItemDefinitions",
38 private InterestingItemDefsPanel
panel;
39 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
50 SwingUtilities.invokeLater(
new Runnable() {
86 pcs.addPropertyChangeListener(l);
91 pcs.removePropertyChangeListener(l);
96 panel =
new InterestingItemDefsPanel();
104 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
106 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
JComponent getComponent(Lookup masterLookup)
InterestingItemDefsPanel panel
void addPropertyChangeListener(PropertyChangeListener l)
void removePropertyChangeListener(PropertyChangeListener l)
final PropertyChangeSupport pcs
InterestingItemDefsPanel getPanel()