Revision 25a3ce1e
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DistributionStatusAndNamedAreaVocabularies.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
import org.eclipse.e4.core.di.annotations.Optional; |
21 | 21 |
import org.eclipse.e4.ui.di.UIEventTopic; |
22 |
import org.eclipse.jface.util.IPropertyChangeListener; |
|
23 |
import org.eclipse.jface.util.PropertyChangeEvent; |
|
22 | 24 |
import org.eclipse.swt.SWT; |
23 | 25 |
import org.eclipse.swt.custom.CLabel; |
24 | 26 |
import org.eclipse.swt.custom.TableEditor; |
... | ... | |
51 | 53 |
* @since 02.07.2019 |
52 | 54 |
* |
53 | 55 |
*/ |
54 |
public class DistributionStatusAndNamedAreaVocabularies extends CdmPreferencePage { |
|
56 |
public class DistributionStatusAndNamedAreaVocabularies extends CdmPreferencePage implements IPropertyChangeListener{
|
|
55 | 57 |
|
56 | 58 |
protected String commandHandlerString; |
57 | 59 |
protected String commandHandlerStringStatus; |
... | ... | |
325 | 327 |
} |
326 | 328 |
} |
327 | 329 |
|
330 |
@Override |
|
331 |
public void propertyChange(PropertyChangeEvent event) { |
|
332 |
|
|
333 |
if (event != null |
|
334 |
&& PreferencesUtil.PREFERRED_TERMS_CHANGE.equals(event |
|
335 |
.getProperty())) { |
|
336 |
refresh(); |
|
337 |
} |
|
338 |
} |
|
339 |
|
|
328 | 340 |
/** |
329 | 341 |
* |
330 | 342 |
*/ |
Also available in: Unified diff
ref #8385: fixes for preferences