Anand
Anand

Reputation: 2359

How to put default value in preference page outside eclipse?

My need is to add some default value in preferences in my eclipse application. I have to do this outside my application, means when I launch my application the default value should be set in preferences.

Thanks a lot in advance!!!

Upvotes: 1

Views: 585

Answers (1)

Tonny Madsen
Tonny Madsen

Reputation: 12718

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

Upvotes: 2

Related Questions