19 package org.sleuthkit.autopsy.modules.interestingitems;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.beans.PropertyChangeSupport;
24 import javax.swing.JComponent;
25 import javax.swing.SwingUtilities;
26 import org.netbeans.spi.options.OptionsPanelController;
27 import org.openide.util.HelpCtx;
28 import org.openide.util.Lookup;
30 @OptionsPanelController.TopLevelRegistration(
31 categoryName =
"#OptionsCategory_Name_InterestingItemDefinitions",
32 iconBase =
"org/sleuthkit/autopsy/images/interesting_item_32x32.png",
33 keywords =
"#OptionsCategory_Keywords_InterestingItemDefinitions",
34 keywordsCategory =
"InterestingItemDefinitions",
40 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
60 SwingUtilities.invokeLater(
new Runnable() {
108 pcs.addPropertyChangeListener(l);
113 pcs.removePropertyChangeListener(l);
119 panel.addPropertyChangeListener(
new PropertyChangeListener() {
121 public void propertyChange(PropertyChangeEvent evt) {
122 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
134 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
136 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
JComponent getComponent(Lookup masterLookup)
void addPropertyChangeListener(PropertyChangeListener l)
void removePropertyChangeListener(PropertyChangeListener l)
FilesSetDefsPanel getPanel()
final PropertyChangeSupport pcs