PlatformUI.getPreferenceStore() versus DefaultScope? [message #460012] |
Mon, 11 December 2006 11:24 |
Eclipse User |
|
|
|
R3.2.1, WinXP
Some while back, people (including me) were worried about the use of PlatformUI.getPreferenceStore()
in an RCP app, because any non-default values were not getting saved; the non-saving issue was
solved: https://bugs.eclipse.org/bugs/show_bug.cgi?id=86750 (as of 3.1).
However, reading some of the docco, then and recently, suggests to me that there might be reasons to
avoid PlatformUI.getPreferenceStore() and instead use DefaultScope; for example,
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/api/org/eclipse/core/runtime/pref erences/package-summary.html
So -- when does one want to use PlatformUI.getPreferenceStore() and when the DefaultScope system?
(And if the latter is to be preferred, is there an example somewhere? The docco that I have seen
does not quite make it clear *how* to use the DefaultScope and associated classes, etc.)
thanks,
Paul
|
|
|
Powered by
FUDForum. Page generated in 0.02915 seconds