Package org.eclipse.ui.internal.preferences

Examples of org.eclipse.ui.internal.preferences.WorkingCopyPreferences


      throw new IllegalArgumentException("Trying to get a working copy of a working copy"); //$NON-NLS-1$
    }
    String absolutePath = original.absolutePath();
    IEclipsePreferences preferences = (IEclipsePreferences) workingCopies.get(absolutePath);
    if (preferences == null) {
      preferences = new WorkingCopyPreferences(original, this);
      workingCopies.put(absolutePath, preferences);
    }
    return preferences;
  }
View Full Code Here


  /* (non-Javadoc)
   * @see org.eclipse.ui.preferences.IWorkingCopyManager#applyChanges()
   */
  public void applyChanges() throws BackingStoreException {
    for (Iterator i = workingCopies.values().iterator(); i.hasNext();) {
      WorkingCopyPreferences prefs = (WorkingCopyPreferences) i.next();
      if (prefs.nodeExists(EMPTY_STRING))
        prefs.flush();
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.preferences.WorkingCopyPreferences

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.