开发者

How to put default value in preference page outside eclipse?

开发者 https://www.devze.com 2023-03-29 04:59 出处:网络
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 s

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(...).

0

精彩评论

暂无评论...
验证码 换一张
取 消