Package at.bestsolution.efxclipse.jface.util

Examples of at.bestsolution.efxclipse.jface.util.IPropertyChangeListener


   *
   * @since 3.2
   */
  public final void startListeningForPreferenceChanges() {
    if (fPropertyListener == null) {
      fPropertyListener= new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
          /*
           * Don't load if we are in the process of saving ourselves. We are in sync anyway after the
           * save operation, and clients may trigger reloading by listening to preference store
           * updates.
 
View Full Code Here


      return;
    }
    final PropertyChangeEvent event = new PropertyChangeEvent(this, name,
        oldValue, newValue);
    for (int i = 0; i < list.length; i++) {
      final IPropertyChangeListener listener = (IPropertyChangeListener) list[i];
      SafeRunner.run(new SafeRunnable(JFaceResources
          .getString("PreferenceStore.changeError")) { //$NON-NLS-1$
            public void run() {
              listener.propertyChange(event);
            }
          });
    }
  }
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.jface.util.IPropertyChangeListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.