PreferenceConstants in M9 [message #163274] |
Tue, 08 June 2004 18:53 |
Eclipse User |
|
|
|
Hi,
I've written a plugin that has some custom Java functionality and uses the
JDT ui. So that I get the same look as the rest of the JDT, I've always
initialized my plugin's preference store using the JDT
PreferenceConstants.initializeDefaultValues() in my plugin's
initializeDefaultPreferences() method (or equivalent for pre-3.0 versions).
This worked fine util I started using M9. After M9, however, a couple of
pages in the Java Preference Pages get broken (Java>Code Style, and
Java>Task Tags). Here is the offending code from my plugin:
protected void initializeDefaultPreferences(IPreferenceStore store) {
//get some preferences from the JDT UI
PreferenceConstants.initializeDefaultValues(store);
//shut off code assist
store.setValue(PreferenceConstants.CODEASSIST_AUTOACTIVATION , false);
store.setValue(PreferenceConstants.CODEASSIST_AUTOINSERT, false);
//....etc.
}
If I comment out PrefrenceConstants.initializeDefaultValues(store);
everything works fine. Has anyone got any ideas about this? Should I open a
bug report?
Del
|
|
|
Powered by
FUDForum. Page generated in 0.04903 seconds