1 18 package org.visualcontent.authentication.simplecredentials.preferences; 19 20 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 21 import org.eclipse.jface.preference.IPreferenceStore; 22 import org.visualcontent.authentication.simplecredentials.SimplecredentialsPlugin; 23 24 27 public class PreferenceInitializer extends AbstractPreferenceInitializer { 28 29 34 public void initializeDefaultPreferences() { 35 IPreferenceStore store = SimplecredentialsPlugin.getDefault() 36 .getPreferenceStore(); 37 store.setDefault(PreferenceConstants.P_REP_USER_NAME, "userid"); 38 store.setDefault(PreferenceConstants.P_REP_PASSWORD, ""); 39 store.setDefault(PreferenceConstants.P_REP_WORKSPACE, ""); 40 } 41 42 } 43 | Popular Tags |