My need is to add some default value in preferences in my eclipse application. I have to do this outside my application开发者_JAVA百科, means when I launch my application the default value should be set in preferences.
Thanks a lot in advance!!!
The default values for preferences are set via the org.eclipse.core.runtime.preferences
extension point. Here you should basically be able to read the preferences you have calculated outside Eclipse and set them using IPreferenceStore.setDefault(...)
.
精彩评论