19 package org.sleuthkit.autopsy.modules.fileextmismatch;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.beans.PropertyChangeSupport;
24 import javax.swing.JComponent;
25 import org.netbeans.spi.options.OptionsPanelController;
26 import org.openide.util.HelpCtx;
27 import org.openide.util.Lookup;
30 @OptionsPanelController.TopLevelRegistration(
31 categoryName =
"#OptionsCategory_Name_FileExtMismatchOptions",
32 iconBase =
"org/sleuthkit/autopsy/modules/fileextmismatch/options-icon.png",
34 keywords =
"#OptionsCategory_FileExtMismatch",
35 keywordsCategory =
"KeywordSearchOptions")
38 private FileExtMismatchSettingsPanel
panel;
39 private final PropertyChangeSupport
pcs =
new PropertyChangeSupport(
this);
103 pcs.addPropertyChangeListener(l);
108 pcs.removePropertyChangeListener(l);
113 panel =
new FileExtMismatchSettingsPanel();
114 panel.addPropertyChangeListener(
new PropertyChangeListener() {
116 public void propertyChange(PropertyChangeEvent evt) {
117 if (evt.getPropertyName().equals(OptionsPanelController.PROP_CHANGED)) {
130 pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED,
false,
true);
133 pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
void addPropertyChangeListener(PropertyChangeListener l)
FileExtMismatchSettingsPanel getPanel()
static final Logger logger
final PropertyChangeSupport pcs
FileExtMismatchSettingsPanel panel
synchronized static Logger getLogger(String name)
JComponent getComponent(Lookup masterLookup)
void removePropertyChangeListener(PropertyChangeListener l)