Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.IPreferenceStore.needsSaving()


   * @return whether it is okay to close the preference page
   */
  public boolean performOk() {
    IPreferenceStore store = getPreferenceStore();
    final boolean okToClose = performOk(store);
    if (store.needsSaving()) {
      try {
        ((IPersistentPreferenceStore)store).save();
        Activator.broadcastPropertyChange(new PropertyChangeEvent(this,
            Activator.DECORATORS_CHANGED, null, null));
      } catch (IOException e) {
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.