Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.IPersistentPreferenceStore.save()


    IPreferenceStore store = getPreferenceStore();
    if (store instanceof IPersistentPreferenceStore) {
      IPersistentPreferenceStore pstore = (IPersistentPreferenceStore) store;
      if (pstore.needsSaving()) {
        try {
          pstore.save();
        } catch (IOException up) {
          // hmm, what should we do?
        }
      }
    }
View Full Code Here


    }*/
    if(VERSION.equals(name)){
      getValues().put(VERSION, value);
      IPersistentPreferenceStore store = getPreferences();
      store.setValue(name.substring(PREFIX.length()), value);
      store.save();
    }
  }

  /**
   * {@inheritDoc}
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.