Interface IPreferenceListener


  • public interface IPreferenceListener
    A listener that is notified when the value of a preference changes.

    This interface may be implemented by clients.

    • Method Detail

      • preferenceChanged

        void preferenceChanged​(PreferenceChangeEvent event)
        Notifies this listener that the value of a preference has changed.

        Note: This method may be called in any thread. If a listener updates an SWT widget, it will need to use Display#syncExec(Runnable) or Display#asyncExec(Runnable).

        Parameters:
        event - describes which preference changed and how (never null)