Summary: | [Preferences] IpreferenceStore does not have a remove key option | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Sujeet Mishra <sujmishr> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | bokowski, prakash, pwebster |
Version: | 3.3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Sujeet Mishra
2009-06-10 06:13:13 EDT
The mechanism is definitely there in org.eclipse.core.runtime.preferences.IEclipsePreferences. Did you get them from org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore()?Are these for preferences that would have a default? If not, org.eclipse.jface.preference.IPreferenceStore.setToDefault(String) might work for you since it removes the name (although it will set a default of "" if none specified). PW Hi Paul, Thanks for the information. It works fine , Yes we do use the org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore() which gives us a ScopedPreferenceStore instance If i can request a few methods on the IPreferenceStore implementation they would be 1.a clear() method similar to java.util.prefs.Preferences 2.a removekey() method Warm Regards Sujeet This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |