Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » PreferenceConstants in M9
PreferenceConstants in M9 [message #163274] Tue, 08 June 2004 18:53
Eclipse UserFriend
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
Previous Topic:Specifying external build directory
Next Topic:Issue with Covariant Return Types
Goto Forum:
  


Current Time: Fri May 09 18:41:21 EDT 2025

Powered by FUDForum. Page generated in 0.04903 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top