Note: Working copy nodes do not fire node change events.
Note: Preference change listeners registered on this node will only receive events from this node and not events based on the original backing node.
42434445464748495051
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; }
54555657585960616263
/* (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(); } }